Difference between revisions of "MediaWiki:Monobook.css"
From Hanna-Barbera Wiki
Jump to navigationJump to search
(few more) |
(fixing CSS errors) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* basic color design */ | |||
#globalWrapper { background: none !important; } | #globalWrapper { background: none !important; } | ||
Line 8: | Line 10: | ||
border-top-left-radius: 1em; | border-top-left-radius: 1em; | ||
border-bottom-left-radius: 1em; | border-bottom-left-radius: 1em; | ||
border-right:none; | |||
} | |||
body.skin--responsive .pBody, | |||
body.skin--responsive .portlet h3, | |||
ul#f-list { | |||
font-family: verdana, sans-serif; | |||
} | } | ||
#p-cactions ul li, | body.skin--responsive #p-personal a.new { | ||
#p-cactions ul li a, | color: #f00; | ||
#p-cactions li.selected, | } | ||
#p-cactions li.selected a { | body.skin--responsive #p-personal a.new:visited { | ||
color: #c00; | |||
} | |||
body.skin--responsive #p-cactions ul li, | |||
body.skin--responsive #p-cactions ul li a, | |||
body.skin--responsive #p-cactions li.selected, | |||
body.skin--responsive #p-cactions li.selected a { | |||
border-top-left-radius: 1em; | border-top-left-radius: 1em; | ||
border-top-right-radius: 1em; | border-top-right-radius: 1em; | ||
} | } | ||
#p-cactions li.selected { | body.skin--responsive #p-cactions li.selected { | ||
border-color: brown; | border-color: brown; | ||
} | } | ||
.mw-body { | body.skin--responsive .mw-body { | ||
border: 1px solid brown; | border: 1px solid brown; | ||
} | } | ||
.mw-footer { | body.skin--responsive .mw-footer { | ||
border-top: 1px solid brown; | border-top: 1px solid brown; | ||
border-bottom: 1px solid brown; | border-bottom: 1px solid brown; | ||
} | } | ||
.pBody { | body.skin--responsive .pBody { | ||
border: 1px solid brown; | border: 1px solid brown; | ||
} | |||
/* user links */ | |||
body.skin--responsive #p-personal .pBody ul { | |||
background: #F9F9F9; | |||
border-bottom: 1px solid brown; | |||
border-left: 1px solid brown; | |||
border-bottom-left-radius: 0.5em; | |||
float: right; | |||
padding-left: 5px; | |||
height: 1.55em; | |||
} | |||
/* appearance adjustment */ | |||
.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; | |||
} | |||
body.skin--responsive #p-cactions { | |||
left: 11.7em; | |||
} | |||
body.skin--responsive .portlet { | |||
width: 11.8em; | |||
} | |||
body.skin--responsive #p-personal li a { | |||
color: #00f; | |||
} | |||
body.skin--responsive #p-personal li a:hover { | |||
background: none; | |||
text-decoration: underline; | |||
} | |||
body.skin--responsive #p-cactions li a { | |||
color: #00c; | |||
} | |||
body.skin--responsive #p-cactions .new a { | |||
color: #c00; | |||
} | |||
body.skin--responsive .pBody { | |||
z-index: 3 !important; | |||
} | |||
@media all and (min-width: 551px) { | |||
#content { | |||
border-top-left-radius: 1em; | |||
border-bottom-left-radius: 1em; | |||
} | |||
body.skin--responsivediv.pBody { | |||
border-top-right-radius: 5px; | |||
border-bottom-right-radius: 5px; | |||
} | |||
body.skin--responsive #p-cactions li { | |||
padding-bottom: 1em; | |||
border-top-left-radius: .72em !important; | |||
border-top-right-radius: .72em !important; | |||
} | |||
} | |||
/* <h3> Page content </h3> */ | |||
/* Links */ | |||
a { color: #00f; } | |||
a:active { color: orange; } | |||
a:visited { color: #00c; } | |||
.mw-parser-output a.extiw { color: #06f; } | |||
.mw-parser-output a.extiw:visited { color: #3366BB; } | |||
.mw-parser-output a.external { color: #06f; } | |||
.mw-parser-output a.external:visited { color: #0044CC; } | |||
/* Fix footer spacing */ | |||
#f-list { | |||
line-height: 17px; | |||
} | |||
/* Responsive fix */ | |||
@media all and (max-width: 550px) { | |||
a.feedlink { padding-left: 16px !important } | |||
} | |||
/* search button */ | |||
input.searchButton { | |||
padding: 0 0.4em !important; | |||
cursor: pointer; | |||
background-color: white; | |||
border: 1px solid brown; | |||
font-weight: normal; | |||
} | |||
#searchGoButton { | |||
font-weight: normal; | |||
} | |||
#searchInput { | |||
border: 1px solid brown; | |||
} | |||
input[type="radio"], | |||
input[type="checkbox"] { | |||
border: none; | |||
} | |||
.messagebox, .errorbox, .warningbox, .successbox { | |||
padding: 12px; | |||
} | } |
Latest revision as of 02:25, 29 December 2021
/* basic color design */
#globalWrapper { background: none !important; }
body {
background: #ffff99;
}
#content {
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
border-right:none;
}
body.skin--responsive .pBody,
body.skin--responsive .portlet h3,
ul#f-list {
font-family: verdana, sans-serif;
}
body.skin--responsive #p-personal a.new {
color: #f00;
}
body.skin--responsive #p-personal a.new:visited {
color: #c00;
}
body.skin--responsive #p-cactions ul li,
body.skin--responsive #p-cactions ul li a,
body.skin--responsive #p-cactions li.selected,
body.skin--responsive #p-cactions li.selected a {
border-top-left-radius: 1em;
border-top-right-radius: 1em;
}
body.skin--responsive #p-cactions li.selected {
border-color: brown;
}
body.skin--responsive .mw-body {
border: 1px solid brown;
}
body.skin--responsive .mw-footer {
border-top: 1px solid brown;
border-bottom: 1px solid brown;
}
body.skin--responsive .pBody {
border: 1px solid brown;
}
/* user links */
body.skin--responsive #p-personal .pBody ul {
background: #F9F9F9;
border-bottom: 1px solid brown;
border-left: 1px solid brown;
border-bottom-left-radius: 0.5em;
float: right;
padding-left: 5px;
height: 1.55em;
}
/* appearance adjustment */
.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;
}
body.skin--responsive #p-cactions {
left: 11.7em;
}
body.skin--responsive .portlet {
width: 11.8em;
}
body.skin--responsive #p-personal li a {
color: #00f;
}
body.skin--responsive #p-personal li a:hover {
background: none;
text-decoration: underline;
}
body.skin--responsive #p-cactions li a {
color: #00c;
}
body.skin--responsive #p-cactions .new a {
color: #c00;
}
body.skin--responsive .pBody {
z-index: 3 !important;
}
@media all and (min-width: 551px) {
#content {
border-top-left-radius: 1em;
border-bottom-left-radius: 1em;
}
body.skin--responsivediv.pBody {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
body.skin--responsive #p-cactions li {
padding-bottom: 1em;
border-top-left-radius: .72em !important;
border-top-right-radius: .72em !important;
}
}
/* <h3> Page content </h3> */
/* Links */
a { color: #00f; }
a:active { color: orange; }
a:visited { color: #00c; }
.mw-parser-output a.extiw { color: #06f; }
.mw-parser-output a.extiw:visited { color: #3366BB; }
.mw-parser-output a.external { color: #06f; }
.mw-parser-output a.external:visited { color: #0044CC; }
/* Fix footer spacing */
#f-list {
line-height: 17px;
}
/* Responsive fix */
@media all and (max-width: 550px) {
a.feedlink { padding-left: 16px !important }
}
/* search button */
input.searchButton {
padding: 0 0.4em !important;
cursor: pointer;
background-color: white;
border: 1px solid brown;
font-weight: normal;
}
#searchGoButton {
font-weight: normal;
}
#searchInput {
border: 1px solid brown;
}
input[type="radio"],
input[type="checkbox"] {
border: none;
}
.messagebox, .errorbox, .warningbox, .successbox {
padding: 12px;
}