|
|
| (2 intermediate revisions by the same user not shown) |
| Line 178: |
Line 178: |
| draw(); | | draw(); |
| }); | | }); |
|
| |
|
| |
| (function() {
| |
| var emojis = ['📚','🌟','✨','📖','💡','🔬','🌍','🎨'];
| |
| var emoji = emojis[Math.floor(Math.random() * emojis.length)];
| |
| var content = document.getElementById('content') || document.getElementById('mw-content-text');
| |
| if (!content) return;
| |
| content.style.borderTop = '4px solid transparent';
| |
| content.style.backgroundImage = 'none';
| |
| var style = document.createElement('style');
| |
| style.textContent = '#content::before{content:"' + emoji + ' '.repeat(40) + '";' +
| |
| 'display:block;font-size:1.2em;overflow:hidden;white-space:nowrap;border-bottom:1px solid #a2a9b1;padding-bottom:4px;margin-bottom:8px;}';
| |
| document.head.appendChild(style);
| |
| })();
| |