Last active
December 7, 2019 14:30
-
-
Save jonasjohansson/7dd3e3069911f25d845e5aeea0dcce65 to your computer and use it in GitHub Desktop.
normalize-igem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment