MediaWiki:Common.css
From SEPAKAT wiki
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */
@media (min-width: 1200px) {
body {
max-width: 1200px;
position: absolute;
margin: auto 0;
display: inline-block;
left: calc((100% - 1200px) / 2);
}
}
@media (min-height: 955px) {
#mw-panel {
position: fixed;
}
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* hide tab */
#ca-talk ,#ca-history ,#ca-viewsource { display:none!important; }
.mw-wiki-logo {
background-size: contain;
background-color: #fff;
box-shadow: 0em 1em 1em #357;
border-radius: 50%;
}
div#mw-panel {
background: #fff;
height: 100vh;
width: 10.5em;
top: 0;
padding-top: 181px;
}
#p-logo { top: 0 }
.hidden-toc-number .tocnumber { display:none; }
.lower-roman > ol,.lower-roman > ul { list-style-type:lower-roman }
.lower-alpha > ol,.lower-alpha > ul { list-style-type:lower-alpha }
.lower-decimal > ol,.lower-decimal > ul { list-style-type:decimal }
.lower-decimal-alpha > ol { list-style-type:decimal }
.lower-decimal-alpha > ol li > ol { list-style-type:lower-alpha }
.prettytable { border: 1px solid #aaa; border-collapse: collapse;}
.prettytable caption { font-size: 1.3em;padding: 0.5em; }
.prettytable tr th { font-size: 1.3em;text-align: center;vertical-align: middle;background: red;color:white;border: 1px solid #aaa;padding: 0.5em; }
.prettytable tr td { border-bottom: 1px solid #eee;padding: 0.5em;border-right: 1px solid #eee; }