Skip to content

Instantly share code, notes, and snippets.

@SirJson
Created November 22, 2018 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirJson/013be61eaee90f2bcf2e9e757c71dbec to your computer and use it in GitHub Desktop.
Save SirJson/013be61eaee90f2bcf2e9e757c71dbec to your computer and use it in GitHub Desktop.
Simple fix for when the posititioning of all elements is messed up @ xkcd.com
@-moz-document domain("xkcd.com") {
@namespace url(http://www.w3.org/1999/xhtml);
body {
background: #fff!important;
width: inherit;
position: inherit;
}
.box {
background: #fff;
border-width: 0px;
}
#topContainer, #middleContainer, #bottom {
width: inherit;
}
#middleContainer {
position: inherit;
left: inherit;
margin-left: inherit;
}
#bottom {
margin-top: 5px;
padding: 30px 0px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment