MediaWiki:Common.css
From sanctions
Revision as of 20:02, 17 March 2022 by Wadmin (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: @import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;...")
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 / Edge: 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 */
@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
font-family: 'Saira', sans-serif;
}
/* CSS placed here will be applied to all skins */
div.container {
max-width: 100% !important;
width: 100% !important;
}
div.menu {
flex-basis: 300px !important;
flex-grow:0 !important;
background-color: #EEE !important;
}
div.main {
margin-left:100px !important;
}
div.footer {
background-color: #EEE !important;
margin: 0px !important;
padding: 3px !important;
padding-left: 145px !important;
}
nav.disable-margin, div.disable-margin {
margin: 0px !important;
}
nav.disable-padding, div.disable-padding {
padding: 0px !important;
}
nav.header {
background-color: #EEE !important;
}
div.edit-box {
flex-basis: 300px !important;
flex-grow:0 !important;
background-color: #DDD !important;
}
div.search-box {
padding-top:20px !important;
}
div.noedit-box {
flex-basis: 300px !important;
flex-grow:0 !important;
background-color: #EEE !important;
}
h1, h2 {
border-bottom: 0px !important;
}
.content h1, h2, h3, h4, h5, h6 {
margin-left:-30px !important;
}
.content {
margin-left:30px !important;
}
.fa-home::before, .n-Homepage::before, .n-mainpage-description::before, .n-mainpage::before, .pt-userpage::before, .fa-backward::before, .n-recentchanges::before, .t-recentchangeslinked::before, .fa-random::before, .n-randompage::before, .fa-question::before, .ca-nstab-help::before, .n-help-mediawiki::before, .n-help::before, .pt-anoncontribs::before, .pt-mycontris::before, .t-cite::before, .fa-sitemap::before, .t-whatlinkshere::before, .fa-cogs::before, .ca-nstab-mediawiki::before, .ca-nstab-special::before, .t-specialpages::before, .fa-info::before, .t-info::before, .fa-print::before, .t-print::before, .fa-link::before, .t-permalink::before, .fa-upload::before, .n-upload::before, .t-upload::before, .fa-comments::before, .ca-talk::before, .pt-anontalk::before, .pt-mytalk::before, .fa-history::before, .ca-history::before, .fa-trash-alt::before, .ca-delete::before, .fa-location-arrow::before, .ca-move::before, .fa-lock::before, .ca-protect::before, .ca-unprotect::before, .fa-eye-slash::before, .ca-unwatch::before, #ca-unwatch > a::before, .fa-sliders-h::before, .pt-preferences::before, .fa-eye::before, .ca-watch::before, .pt-watchlist::before, #ca-watch > a::before, .fa-sign-out-alt::before, .pt-logout::before, .fa-sign-in-alt::before, .pt-login::before {
content: none !important;
}
nav.nonflex .navbar-nav {
display: block !important;
}
nav.nonflex a {
padding-left:0px !important;
}
div#mw-editpage-minoredit {
display:none !important;
}
pre {
font-family: Courier,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}
div.mainpage {
display: flex;
align-items: stretch;
}
div.mainrow {
flex-grow:1;
}
.p-navbar {
background-color: #EEE !important;
}