Difference between revisions of "MediaWiki:Monobook.css"
From Hanna-Barbera Wiki
Jump to navigationJump to search
(more adjustments done) |
(fixing CSS errors) |
||
Line 13: | Line 13: | ||
} | } | ||
.pBody, | body.skin--responsive .pBody, | ||
.portlet h3, | body.skin--responsive .portlet h3, | ||
ul#f-list { | ul#f-list { | ||
font-family: verdana, sans-serif; | font-family: verdana, sans-serif; | ||
} | } | ||
#p-personal a.new { | body.skin--responsive #p-personal a.new { | ||
color: #f00; | color: #f00; | ||
} | } | ||
#p-personal a.new:visited { | body.skin--responsive #p-personal a.new:visited { | ||
color: #c00; | color: #c00; | ||
} | } | ||
#p-cactions ul li, | body.skin--responsive #p-cactions ul li, | ||
#p-cactions ul li a, | body.skin--responsive #p-cactions ul li a, | ||
#p-cactions li.selected, | body.skin--responsive #p-cactions li.selected, | ||
#p-cactions li.selected a { | 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; | ||
} | } | ||
Line 53: | Line 53: | ||
/* user links */ | /* user links */ | ||
#p-personal .pBody ul { | body.skin--responsive #p-personal .pBody ul { | ||
background: #F9F9F9; | background: #F9F9F9; | ||
border-bottom: 1px solid brown; | border-bottom: 1px solid brown; | ||
Line 72: | Line 72: | ||
} | } | ||
#p-cactions { | body.skin--responsive #p-cactions { | ||
left: 11.7em; | left: 11.7em; | ||
} | } | ||
.portlet { | body.skin--responsive .portlet { | ||
width: 11.8em; | width: 11.8em; | ||
} | } | ||
#p-personal li a { | body.skin--responsive #p-personal li a { | ||
color: #00f; | color: #00f; | ||
} | } | ||
#p-personal li a:hover { | body.skin--responsive #p-personal li a:hover { | ||
background: none; | background: none; | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
#p-cactions li a { | body.skin--responsive #p-cactions li a { | ||
color: #00c; | color: #00c; | ||
} | } | ||
#p-cactions .new a { | body.skin--responsive #p-cactions .new a { | ||
color: #c00; | color: #c00; | ||
} | } | ||
.pBody { | body.skin--responsive .pBody { | ||
z-index: 3 !important; | z-index: 3 !important; | ||
} | } | ||
Line 104: | Line 104: | ||
border-bottom-left-radius: 1em; | border-bottom-left-radius: 1em; | ||
} | } | ||
body.skin--responsivediv.pBody { | |||
border-top-right-radius: 5px; | border-top-right-radius: 5px; | ||
border-bottom-right-radius: 5px; | border-bottom-right-radius: 5px; | ||
} | } | ||
body.skin--responsive #p-cactions li { | |||
padding-bottom: 1em; | padding-bottom: 1em; | ||
border-top-left-radius: .72em !important; | border-top-left-radius: .72em !important; |
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;
}