Don't like the ads? Then create an account! Users with accounts have more options than anonymous users. |
Difference between revisions of "MediaWiki:Monobook.css"
From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(this makes more sense) |
(oop) |
||
(60 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* all pages */ | |||
div#globalWrapper { | div#globalWrapper { | ||
background:# | background:#135B09; | ||
} | } | ||
body { | body { | ||
background:# | background:#135B09 repeat; | ||
} | } | ||
#content { | #content { | ||
background-color: #FFFFE8; | background-color: #FFFFE8; | ||
border: 1px solid #EEC947; | |||
border-right: none; | |||
} | } | ||
#footer { | #footer { | ||
background-color: #FFFFE8; | background-color: #FFFFE8; | ||
} | |||
.mw-footer { | |||
border: 1px solid #EEC947; | |||
border: 1px solid #EEC947; | |||
} | |||
.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; | |||
} | } | ||
/* active tabs */ | /* active tabs */ | ||
. | body.skin--responsive .pBody { | ||
background-color: #FFFFE8; | background-color: #FFFFE8; | ||
} | } | ||
#p-cactions li:hover { | body.skin--responsive #p-cactions li:hover { | ||
background:#FFFFE8; | background:#FFFFE8; | ||
} | } | ||
#p-cactions li a { | body.skin--responsive #p-cactions li a { | ||
background:#FFFFE8; | background:#FFFFE8; | ||
} | } | ||
#p-cactions li a:hover { | |||
body.skin--responsive #p-cactions li a:hover { | |||
background:#FFFFE8; | background:#FFFFE8; | ||
text-decoration:underline; | |||
} | } | ||
#p-cactions li.selected { | body.skin--responsive #p-cactions li.selected { | ||
background:#FFFFE8; | background:#FFFFE8; | ||
} | } | ||
#p-cactions li.selected a { | body.skin--responsive #p-cactions li.selected a { | ||
background:#FFFFE8; | background:#FFFFE8; | ||
} | } | ||
/* | /* sidebar */ | ||
.portlet h3 { color: gold; } | |||
.generated-sidebar .pBody, #p-tb .pBody, #p-lang .pBody, div#searchBody { | |||
background:#FFFFE8; | |||
border-top:2px solid #EEC947; | |||
border-right:2px solid #EEC947; | |||
border-bottom:2px solid #EEC947; | |||
border-left:0 !important; | |||
} | |||
/* user links */ | /* user links */ | ||
#p-personal ul a { | body.skin--responsive #p-personal ul a { | ||
background-color:# | background-color:#135B09; | ||
color:gold; | color:gold; | ||
} | } | ||
#p-personal ul a:hover { | body.skin--responsive #p-personal ul a:hover { | ||
text-decoration: underline; | text-decoration: underline; | ||
background-color:transparent; | background-color:transparent; | ||
} | } | ||
#p-personal ul a.new { | body.skin--responsive #p-personal ul a.new { | ||
color:#FFF; | color:#FFF; | ||
} | } | ||
/* | body.skin--responsive li#pt-anonuserpage { | ||
color:gold; | |||
} | |||
/* sitenotice */ | |||
#siteNotice { | |||
border-top: 1px solid green; | |||
border-bottom: 1px solid green; | |||
padding: 3px 2px 2px 2px; | |||
margin: -2px 0 11px; | |||
} | |||
/* user icon */ | |||
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login { | |||
background: url(https://cdn.triforcewiki.com/player.png) top left no-repeat; | |||
background-size: 15px; | |||
padding: 0px 0px 2px 20px; | |||
} | |||
/* search button (thanks to super mario wiki) */ | |||
input.searchButton { | |||
padding: 0 0.4em !important; | |||
cursor: pointer; | |||
background-color: white; | |||
border: 1px solid #135B09; | |||
font-weight: normal; | |||
} | |||
#searchGoButton { | |||
font-weight: normal; | |||
} | } | ||
#searchInput { | |||
border: 1px solid #135B09; | |||
} | |||
select { | |||
border: 1px solid #135B09; | |||
color: black; | |||
} | } | ||
/* put search bar up top */ | |||
#sidebar { | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
table. | #p-search { | ||
order: -1; | |||
} | |||
/* 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; | |||
} | |||
} | |||
/* user prefs */ | |||
.oo-ui-tabSelectWidget { | |||
box-shadow: none; | |||
} | |||
/* Indicator icons */ | |||
.mw-indicators { | |||
top: -10px; | |||
} | |||
.anon .mw-indicators { | |||
top: -5px; | |||
} | |||
#mw-indicator-shortcut { | |||
top: 16px; | |||
} | |||
/* Fix footer spacing */ | |||
#f-list { | |||
line-height: 17px; | |||
} | |||
/* talk page tab spacing */ | |||
li#ca-addsection { | |||
margin-left:4px; | |||
} | |||
/* miscellaneous */ | |||
body.skin--responsive .portlet { | |||
width: 11.8em; | |||
} | |||
body.skin--responsive .pBody, | |||
body.skin--responsive .portlet h3, | |||
ul#f-list { | |||
font-family: verdana, sans-serif; | |||
} | |||
input[type="radio"], | |||
input[type="checkbox"] { | |||
border: none; | |||
} | |||
.oo-ui-dropdownWidget { max-width:35em; } |
Latest revision as of 14:17, March 10, 2022
/* all pages */
div#globalWrapper {
background:#135B09;
}
body {
background:#135B09 repeat;
}
#content {
background-color: #FFFFE8;
border: 1px solid #EEC947;
border-right: none;
}
#footer {
background-color: #FFFFE8;
}
.mw-footer {
border: 1px solid #EEC947;
border: 1px solid #EEC947;
}
.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;
}
/* active tabs */
body.skin--responsive .pBody {
background-color: #FFFFE8;
}
body.skin--responsive #p-cactions li:hover {
background:#FFFFE8;
}
body.skin--responsive #p-cactions li a {
background:#FFFFE8;
}
body.skin--responsive #p-cactions li a:hover {
background:#FFFFE8;
text-decoration:underline;
}
body.skin--responsive #p-cactions li.selected {
background:#FFFFE8;
}
body.skin--responsive #p-cactions li.selected a {
background:#FFFFE8;
}
/* sidebar */
.portlet h3 { color: gold; }
.generated-sidebar .pBody, #p-tb .pBody, #p-lang .pBody, div#searchBody {
background:#FFFFE8;
border-top:2px solid #EEC947;
border-right:2px solid #EEC947;
border-bottom:2px solid #EEC947;
border-left:0 !important;
}
/* user links */
body.skin--responsive #p-personal ul a {
background-color:#135B09;
color:gold;
}
body.skin--responsive #p-personal ul a:hover {
text-decoration: underline;
background-color:transparent;
}
body.skin--responsive #p-personal ul a.new {
color:#FFF;
}
body.skin--responsive li#pt-anonuserpage {
color:gold;
}
/* sitenotice */
#siteNotice {
border-top: 1px solid green;
border-bottom: 1px solid green;
padding: 3px 2px 2px 2px;
margin: -2px 0 11px;
}
/* user icon */
body.skin--responsive li#pt-userpage, li#pt-anonuserpage, li#pt-login {
background: url(https://cdn.triforcewiki.com/player.png) top left no-repeat;
background-size: 15px;
padding: 0px 0px 2px 20px;
}
/* search button (thanks to super mario wiki) */
input.searchButton {
padding: 0 0.4em !important;
cursor: pointer;
background-color: white;
border: 1px solid #135B09;
font-weight: normal;
}
#searchGoButton {
font-weight: normal;
}
#searchInput {
border: 1px solid #135B09;
}
select {
border: 1px solid #135B09;
color: black;
}
/* put search bar up top */
#sidebar {
display: flex;
flex-direction: column;
}
#p-search {
order: -1;
}
/* 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;
}
}
/* user prefs */
.oo-ui-tabSelectWidget {
box-shadow: none;
}
/* Indicator icons */
.mw-indicators {
top: -10px;
}
.anon .mw-indicators {
top: -5px;
}
#mw-indicator-shortcut {
top: 16px;
}
/* Fix footer spacing */
#f-list {
line-height: 17px;
}
/* talk page tab spacing */
li#ca-addsection {
margin-left:4px;
}
/* miscellaneous */
body.skin--responsive .portlet {
width: 11.8em;
}
body.skin--responsive .pBody,
body.skin--responsive .portlet h3,
ul#f-list {
font-family: verdana, sans-serif;
}
input[type="radio"],
input[type="checkbox"] {
border: none;
}
.oo-ui-dropdownWidget { max-width:35em; }