MediaWiki:Monobook.css: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(reloc) |
(adding more customizations from Crash WIki) |
||
Line 13: | Line 13: | ||
body.skin--responsive #p-cactions li.selected { |
body.skin--responsive #p-cactions li.selected { |
||
border-color: #FF9102; |
border-color: #FF9102; |
||
} |
|||
.firstHeading { margin-top: 5px; } |
|||
p { margin: 0.6em 0 0.7em 0; } |
|||
h1 { font-size: 193%; } |
|||
h3 + dl, h4 + dl, h5 + dl { |
|||
margin-top: -0.1em; |
|||
} |
|||
/* Indicator icons */ |
|||
.mw-indicators { |
|||
top: -10px; |
|||
} |
|||
.anon .mw-indicators { |
|||
top: -5px; |
|||
} |
|||
#mw-indicator-shortcut { |
|||
top: 14px; |
|||
} |
|||
/* disambig template */ |
|||
#disambig { |
|||
border-top: 3px double #A52A2A; |
|||
border-bottom: 3px double #A52A2A; |
|||
} |
|||
/* talk page tab spacing */ |
|||
li#ca-addsection { |
|||
margin-left:4px; |
|||
} |
} |
||
Line 68: | Line 98: | ||
border-right:none; |
border-right:none; |
||
} |
} |
||
/* miscellaneous */ |
|||
body.skin--responsive #p-cactions { |
|||
left: 11.7em; |
|||
border-radius:10px; |
|||
} |
|||
body.skin--responsive .portlet { |
|||
width: 11.8em; |
|||
} |
|||
select { |
|||
border: 1px solid saddlebrown; |
|||
color: black; |
|||
} |
|||
input[type="radio"], |
|||
input[type="checkbox"] { |
|||
border: none; |
|||
} |
|||
/* Responsive fixes */ |
|||
@media all and (max-width: 550px) { |
|||
.mw-body-content { |
|||
overflow: visible !important; |
|||
} |
|||
.infobox { |
|||
margin: 1em 0 !important; |
|||
} |
|||
.infobox, .nav-right, |
|||
#mw-content-text table { |
|||
float: none !important; |
|||
width: auto !important; |
|||
overflow: auto !important; |
|||
display: block !important; |
|||
margin-left: 0 !important; |
|||
margin-right: 0 !important; |
|||
max-width: 100% !important; |
|||
min-width: 0 !important; |
|||
} |
|||
#mw-content-text table > tbody { |
|||
width: 100% !important; |
|||
display: table !important; |
|||
} |
|||
body div.thumb { |
|||
float: none !important; |
|||
width: auto !important; |
|||
max-width: none !important; |
|||
margin: 1em 0; |
|||
} |
|||
div.thumb, div.thumbinner { |
|||
overflow: auto !important; |
|||
} |
|||
div.noresize > map ~ img { |
|||
max-width: none !important; |
|||
} |
|||
div.thumbinner > div { |
|||
float: none !important; |
|||
margin-left: auto !important; |
|||
margin-right: auto !important; |
|||
} |
|||
div.thumbcaption { |
|||
margin-top: 3px !important; |
|||
} |
|||
div.thumbimage { |
|||
max-width: max-content; |
|||
} |
|||
ul.gallery { |
|||
text-align: center; |
|||
} |
|||
div.gallerytext { |
|||
text-align: left; |
|||
} |
|||
center div.gallerytext, |
|||
.gallery.center div.gallerytext, |
|||
.gallery[style*="center"] div.gallerytext { |
|||
text-align: center; |
|||
} |
|||
a.feedlink { |
|||
padding-left: 16px; |
|||
} |
|||
caption { |
|||
display: block; |
|||
} |
|||
} |
|||
.oo-ui-dropdownWidget { max-width:35em; } |