MediaWiki:Common.css: Difference between revisions
KrytenKoro (talk | contribs) No edit summary |
No edit summary |
||
(47 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Balsamiq+Sans:wght@700&display=swap'); | |||
body { | body { | ||
background: # | background: #ECE3F0; | ||
} | } | ||
#p-logo { | #p-logo { | ||
margin-top: | margin-top: 5px; | ||
} | |||
.mw-wiki-logo { | |||
background-image: url(/w/images/b/bc/Wiki.png); | |||
} | |||
#mw-panel .portal { | |||
font-family: Balsamiq Sans; | |||
font-size: 21px; | |||
} | |||
#mw-panel .portal li a, | |||
#mw-panel .portal li a:visited { | |||
color:#000000 | |||
} | |||
#mw-panel .portal h3 { | |||
font-family: Anton; | |||
font-size: 25px; | |||
color:darkblue; | |||
} | } | ||
.mw-body { | .mw-body { | ||
border: 1px solid # | border: 1px solid #4B0081; | ||
border-right: none; | border-right: none; | ||
} | } | ||
div.vectorTabs ul li { | div.vectorTabs ul li { | ||
background-color: # | background-color: #ECE3F0; | ||
} | } | ||
Line 33: | Line 55: | ||
max-width: 320px; | max-width: 320px; | ||
border: 1px solid rgb(170, 170, 170); | border: 1px solid rgb(170, 170, 170); | ||
} | |||
span.editbutton { | |||
float:right; | |||
margin-right:5px; | |||
margin-top:2px; | |||
font-size:0.8em; | |||
color:#FFFFFF !important; | |||
} | |||
span.editbutton-left { | |||
float:left; | |||
margin-left:-65px; | |||
margin-top:2px; | |||
font-size:0.8em; | |||
color:#FFFFFF !important; | |||
} | |||
span.editbutton a, | |||
span.editbutton-left a { | |||
color:#FFFFFF !important; | |||
} | |||
.navbox .mw-collapsible-toggle { | |||
font-weight:bold; | |||
margin-right:4px; | |||
color:#FFFFFF; | |||
} | |||
.navbox .mw-collapsible-text { | |||
color:#FFFFFF; | |||
} | |||
.navbox th, | |||
.navbox th a { | |||
color:#FFFFFF; | |||
} | |||
.navbox.mw-collapsible tbody > tr:first-child > th:first-child { | |||
padding-left: 75px; | |||
} | |||
.infobox { | |||
max-width:100%; | |||
} | |||
.infobox a { | |||
color: white !important; | |||
} | } | ||
Line 223: | Line 293: | ||
border-right:none; | border-right:none; | ||
border-bottom:none; | border-bottom:none; | ||
max-width: 100% !important; | |||
/* If you don't want the tab size changing whenever a tab is changed | /* If you don't want the tab size changing whenever a tab is changed | ||
Line 231: | Line 302: | ||
scrollbar when necessary */ | scrollbar when necessary */ | ||
/* overflow:auto; */ | /* overflow:auto; */ | ||
} | } | ||
Line 411: | Line 474: | ||
img.medal { | img.medal { | ||
width: | width: 100%; | ||
height: auto; | height: auto; | ||
max-width: 350px; | |||
max-height: auto; | |||
} | |||
/* Remove breadcrumbs for specific articles */ | |||
.page-Kingdom_Hearts_Unchained_χ_Union_χ .subpages, .page-Kingdom_Hearts_Unchained_χ_Union_χ .PageHeader h2 {display: none;} | |||
/* Dismissable SiteNotice */ | |||
.sitedir-ltr .mw-dismissable-notice-body { | |||
margin: 0 60px 0.5em 0; | |||
} | |||
.sitedir-rtl .mw-dismissable-notice-body { | |||
margin: 0 0 0.5em 60px; | |||
} | |||
/* Needed for cookie consent bar to be GDPR compliant */ | |||
body.cmp-state--bar { | |||
margin-bottom: 118px; | |||
} | |||
/* Flexible tables */ | |||
.flex { | |||
display: flex; | |||
} | |||
.flex tbody { | |||
display: table; | |||
width: 100%; | |||
} | |||
/* Allow limiting of which header levels are shown in a TOC through {{TOClimit}} - from KHWiki */ | |||
.toclimit-2 .toclevel-2 {display:none;} | |||
.toclimit-3 .toclevel-3 {display:none;} | |||
.toclimit-4 .toclevel-4 {display:none;} | |||
.toclimit-5 .toclevel-5 {display:none;} | |||
.toclimit-6 .toclevel-6 {display:none;} | |||
.toclimit-7 .toclevel-7 {display:none;} | |||
td.scr-bottom { | |||
min-height:30px !important; | |||
} | |||
.mw-changeslist-time { | |||
display: inline-block; | |||
} | } |