MediaWiki:Common.css/src/reset.scss
< MediaWiki:Common.css | src
Jump to navigation
Jump to search
This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.
Ancestor: / src / reset.scss
Siblings: _lib.scss Common.scss base.scss content.scss extension.scss floatingScroll.scss gg.scss interface.scss page.scss reset.scss system.scss template.scss theme.scss themeLegacy.scss unknown.scss
Children: (none)
/***********************************************************************************************************
* css reset for browser default rules and MediaWiki internal rules
***********************************************************************************************************/
*{
outline: 0;
//box-sizing: border-box;
//&::before, &:after{
// box-sizing: border-box;
//}
}
table{
display: table;
white-space: unset; /*<< be set to `nowrap` in MW internal css */
}
html{
font-size: 16px; /*<< reset rem size */
}
body{
overflow-y: unset;
}
body, code{
background: none;
}
pre{
margin: 0;
}
h1, h2, h3, h4, h5, h6{
padding: 0;
border: 0 solid transparent;
}