(Prototype team template page) |
This-is-Min (Talk | contribs) |
||
Line 3: | Line 3: | ||
You can place your team's code here. | You can place your team's code here. | ||
----------> | ----------> | ||
− | + | <script> | |
+ | document.addEventListener("DOMContentLoaded", event => { | ||
+ | document.body.removeAttribute("class"); | ||
+ | var elementsRemove = document.querySelectorAll("a#top, div#top_title"); | ||
+ | for (var el of elementsRemove) { | ||
+ | el.parentNode.removeChild(el); | ||
+ | } | ||
+ | for (var id of [ | ||
+ | "globalWrapper", | ||
+ | "mw-content-text", | ||
+ | "bodyContent", | ||
+ | "content", | ||
+ | "HQ_page" | ||
+ | ]) { | ||
+ | el = document.getElementById(id); | ||
+ | el.removeAttribute("id"); | ||
+ | } | ||
+ | }); | ||
+ | </script> | ||
+ | <style> | ||
+ | body { | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | h1 { | ||
+ | border-bottom: 0; | ||
+ | } | ||
+ | a:visited { | ||
+ | color: inherit !important; | ||
+ | } | ||
+ | a:hover { | ||
+ | text-decoration: none !important; | ||
+ | } | ||
+ | h2, | ||
+ | h3, | ||
+ | h4, | ||
+ | h5 { | ||
+ | font-family: inherit; | ||
+ | } | ||
+ | .mw-content-ltr > p { | ||
+ | display: none; | ||
+ | } | ||
+ | </style> | ||
</html> | </html> |
Revision as of 17:24, 12 October 2021