There are currently 0 stubs. You can help us by expanding these articles!
Difference between revisions of "MediaWiki:Monobook.css"
From Rare Wiki
Jump to navigationJump to search
(add) |
(bugfix) |
||
(32 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
div#globalWrapper { | div#globalWrapper { | ||
background-image: url(https://cdn.rarewiki.com/8/8a/Wiki-background.jpg); | |||
} | } | ||
#p-cactions li { | |||
background:# | #footer { background-color: #FAF2CD; } | ||
.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; | |||
} | |||
/* sidebar boxes */ | |||
body.skin--responsive .pBody { | |||
border: 1px solid gold; | |||
} | |||
/* cactions */ | |||
body.skin--responsive #p-cactions li { | |||
background:#FAF2CD; | |||
color:#000 !important; | |||
border:1px solid gold; | border:1px solid gold; | ||
} | } | ||
#p-cactions li:hover { | body.skin--responsive #p-cactions li:hover { | ||
background:# | background:#FAF2CD; | ||
color:#000 !important; | |||
} | |||
body.skin--responsive #p-cactions li a { | |||
background:#FAF2CD; | |||
color:#000 !important; | |||
} | } | ||
#p-cactions li a { | body.skin--responsive #p-cactions li a:hover { | ||
background:# | background: #FAF2CD; | ||
color: #000; | |||
text-decoration: underline; | |||
} | |||
body.skin--responsive #p-cactions li.selected { | |||
background:#FAF2CD; | |||
color:#000 !important; | |||
} | } | ||
#p-cactions li a | body.skin--responsive #p-cactions li.selected a { | ||
background:# | background:#FAF2CD; | ||
color:#000 !important; | |||
} | } | ||
body.skin--responsive #p-cactions .new a { | |||
#p-cactions | color: #c00 !important; | ||
} | } | ||
background:# | body.skin--responsive .portlet .pBody { | ||
background-color: #FAF2CD; | |||
border: 1px solid gold; | |||
} | } | ||
#p-navigation { | body.skin--responsive #p-navigation-label { color: #FFF; } | ||
#p-search { background-color: # | body.skin--responsive #p-search-label { color: #FFF; } | ||
body.skin--responsive #p-tb-label { color: #FFF; } | |||
body.skin--responsive #p-community-label { color: #FFF; } | |||
body.skin--responsive #p-personal ul a { | |||
color:gold; | |||
} | |||
body.skin--responsive #p-personal ul a:hover { | |||
text-decoration: underline; | |||
background-color:transparent; | |||
} | |||
/* Indicator icons */ | |||
.mw-indicators { | |||
top: -10px; | |||
} | |||
.anon .mw-indicators { | |||
top: -5px; | |||
} | |||
#mw-indicator-shortcut { | |||
top: 16px; | |||
} | |||
/* disambig template */ | |||
#disambig { | |||
border-top: 3px double #003466; | |||
border-bottom: 3px double #003466; | |||
} | |||
/* talk page tab spacing */ | |||
li#ca-addsection { | |||
margin-left:4px; | |||
} | |||
/* search button (thanks to super mario wiki) */ | |||
input.searchButton { | |||
padding: 0 0.4em !important; | |||
cursor: pointer; | |||
background-color: white; | |||
border: 1px solid #003466; | |||
font-weight: normal; | |||
} | |||
#searchGoButton { | |||
font-weight: normal; | |||
} | |||
#searchInput { | |||
border: 1px solid #003466; | |||
} | |||
/* sitenotice */ | |||
#siteNotice { | |||
border-top: 1px solid #003466; | |||
border-bottom: 1px solid #003466; | |||
padding: 3px 2px 2px 2px; | |||
margin: -2px 0 11px; | |||
} | |||
body.page-Main_Page.action-view #bodyContent { | |||
margin-top: -17px; | |||
} | |||
body.page-Main_Page.action-view #siteNotice { | |||
margin-bottom: 32px; | |||
} | |||
/* miscellaneous */ | |||
#p-cactions { | |||
left: 11.7em; | |||
border-radius:10px; | |||
} | |||
.portlet { | |||
width: 11.8em; | |||
} | |||
select { | |||
border: 1px solid #003466; | |||
color: black; | |||
} | |||
.pBody, | |||
.portlet h3, | |||
ul#f-list { | |||
font-family: verdana, sans-serif; | |||
} | |||
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; | |||
} | |||
#sidebar .portlet[role="navigation"] { | |||
display: none !important; | |||
} | |||
} | |||
.oo-ui-dropdownWidget { max-width:35em; } |
Latest revision as of 05:22, February 19, 2022
div#globalWrapper {
background-image: url(https://cdn.rarewiki.com/8/8a/Wiki-background.jpg);
}
#footer { background-color: #FAF2CD; }
.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;
}
/* sidebar boxes */
body.skin--responsive .pBody {
border: 1px solid gold;
}
/* cactions */
body.skin--responsive #p-cactions li {
background:#FAF2CD;
color:#000 !important;
border:1px solid gold;
}
body.skin--responsive #p-cactions li:hover {
background:#FAF2CD;
color:#000 !important;
}
body.skin--responsive #p-cactions li a {
background:#FAF2CD;
color:#000 !important;
}
body.skin--responsive #p-cactions li a:hover {
background: #FAF2CD;
color: #000;
text-decoration: underline;
}
body.skin--responsive #p-cactions li.selected {
background:#FAF2CD;
color:#000 !important;
}
body.skin--responsive #p-cactions li.selected a {
background:#FAF2CD;
color:#000 !important;
}
body.skin--responsive #p-cactions .new a {
color: #c00 !important;
}
body.skin--responsive .portlet .pBody {
background-color: #FAF2CD;
border: 1px solid gold;
}
body.skin--responsive #p-navigation-label { color: #FFF; }
body.skin--responsive #p-search-label { color: #FFF; }
body.skin--responsive #p-tb-label { color: #FFF; }
body.skin--responsive #p-community-label { color: #FFF; }
body.skin--responsive #p-personal ul a {
color:gold;
}
body.skin--responsive #p-personal ul a:hover {
text-decoration: underline;
background-color:transparent;
}
/* Indicator icons */
.mw-indicators {
top: -10px;
}
.anon .mw-indicators {
top: -5px;
}
#mw-indicator-shortcut {
top: 16px;
}
/* disambig template */
#disambig {
border-top: 3px double #003466;
border-bottom: 3px double #003466;
}
/* talk page tab spacing */
li#ca-addsection {
margin-left:4px;
}
/* search button (thanks to super mario wiki) */
input.searchButton {
padding: 0 0.4em !important;
cursor: pointer;
background-color: white;
border: 1px solid #003466;
font-weight: normal;
}
#searchGoButton {
font-weight: normal;
}
#searchInput {
border: 1px solid #003466;
}
/* sitenotice */
#siteNotice {
border-top: 1px solid #003466;
border-bottom: 1px solid #003466;
padding: 3px 2px 2px 2px;
margin: -2px 0 11px;
}
body.page-Main_Page.action-view #bodyContent {
margin-top: -17px;
}
body.page-Main_Page.action-view #siteNotice {
margin-bottom: 32px;
}
/* miscellaneous */
#p-cactions {
left: 11.7em;
border-radius:10px;
}
.portlet {
width: 11.8em;
}
select {
border: 1px solid #003466;
color: black;
}
.pBody,
.portlet h3,
ul#f-list {
font-family: verdana, sans-serif;
}
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;
}
#sidebar .portlet[role="navigation"] {
display: none !important;
}
}
.oo-ui-dropdownWidget { max-width:35em; }