Difference between revisions of "MediaWiki:Common.css"
From sanctions
(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;...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 100: | Line 100: | ||
.p-navbar { | .p-navbar { | ||
background-color: #EEE !important; | background-color: #EEE !important; | ||
+ | } | ||
+ | |||
+ | /* Unbulleted lists */ | ||
+ | .plainlist ol, | ||
+ | .plainlist ul { | ||
+ | line-height: inherit; | ||
+ | list-style: none none; | ||
+ | margin: 0; | ||
+ | } | ||
+ | |||
+ | .plainlist ol li, | ||
+ | .plainlist ul li { | ||
+ | margin-bottom: 0; | ||
} | } |
Latest revision as of 15:24, 7 April 2022
/* 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;
}
/* Unbulleted lists */
.plainlist ol,
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol li,
.plainlist ul li {
margin-bottom: 0;
}