MediaWiki:Monobook.css: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
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; } |
Revision as of 01:28, January 19, 2022
/* All CSS here will be loaded for users of the MonoBook skin */
/* basic styling */
body {
background:#8CCC6D;
}
.mw-body, body.skin--responsive .pBody {
border:1px solid #007500;
}
body.skin--responsive #p-cactions li.selected {
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;
}
/* search button */
input.searchButton {
padding: 0 0.4em !important;
cursor: pointer;
background-color: white;
border: 1px solid #007500;
font-weight: normal;
}
#searchGoButton {
font-weight: normal;
}
#searchInput {
border: 1px solid #007500;
}
/* tabs */
body.skin--responsive #p-cactions li {
border-color: #007500 !important;
}
body.skin--responsive #p-cactions li.selected a
background:transparent;
}
/* user links */
body.skin--responsive #p-personal a.new {
color: #f00;
}
body.skin--responsive #p-personal a.new:visited {
color: #c00;
}
body.skin--responsive #p-personal li a {
color: #00f;
}
body.skin--responsive #p-personal li a:hover {
background-color: transparent;
text-decoration: underline;
}
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
color: #606060;
}
body.skin--responsive #p-personal .pBody ul {
background: #FFF;
float: right;
padding-left: 0;
height: 1.75em;
border: 1px solid #007500;
border-top: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; }