MediaWiki:Monobook.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Monobook skin */
/* CSS placed here will affect users of the Monobook skin */


#globalWrapper { background: none !important; }
#globalWrapper {
overflow: hidden;
background: none !important;
}
.firstHeading { margin-top: 5px; }
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
p { margin: 0.6em 0 0.7em 0; }
Line 17: Line 20:
}
}


.editsimilar {
/* Infoboxes */
.infobox th {
background: #cfc;
background: #cfc;
}
/* Pikipedia boxes */
.pikipediaBox {
background-color: #cfc;
border: 2px outset #0b0;
border: 2px outset #0b0;
border-radius: 40px 0;
border-radius: 30px 0 20px 0;
}
 
/* Titled boxes */
.titledBox {
background-color: #f5fffa;
border: 1px solid #cef2e0;
margin-top: 10px;
}
.titledBoxTitle {
background-color: #cef2e0;
border: 1px solid #a3bfb1;
}
 
/* CategoryTree */
.CategoryTreeToggle {
color: #080;
}
}


Line 30: Line 55:
#wpSummaryWidget .oo-ui-labelElement-label {
#wpSummaryWidget .oo-ui-labelElement-label {
margin-top: -4px;
margin-top: -4px;
}
input#wpSummary {
width: 99%;
}
}


Line 51: Line 79:
border: outset #0b0;
border: outset #0b0;
border-width: 2px 0;
border-width: 2px 0;
background: url(/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed;
background: white;
background: rgba(255, 255, 255, 0.95);
background: rgba(255, 255, 255, 0.95);
}
}
ul { list-style-image: url(/images/bullet.png); }
ul {
.pikipediaBox {
list-style-image: url(https://pikmin.wiki.gallery/images/bullet.png);
border-radius: 30px 0 20px 0;
}
}
#toc {
#toc {
background: #cfc;
background: #cfc;
border: 2px outset #0b0;
border-radius: 60px 0 40px 0;
border-radius: 60px 0 40px 0;
border: 2px outset #0b0;
padding: 7px 13px;
min-width: 115px;
}
#toc li {
list-style: none;
}
body {
background: #6a9140 url(https://pikmin.wiki.gallery/images/8/8a/Wiki-background.jpg) no-repeat fixed -150px top;
}
}
#toc li { list-style: none; }
body { background: url(/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed #6a9140; }
div#content {
div#content {
border: 2px outset #0b0 !important;
border: 2px outset #0b0 !important;
border-radius: 15px;
border-radius: 15px;
background: url(/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed;
background: white;
background: rgba(255, 255, 255, 0.95);
background: rgba(255, 255, 255, 0.95);
}
}
table, td, table.diff, td.diff-otitle, td.diff-ntitle { background: none; }
table, td, table.diff,
pre { background: rgba(249, 249, 249, .7); }
td.diff-otitle, td.diff-ntitle {
div.thumb { border: none; }
background: none;
}
pre {
background: rgba(249, 249, 249, .7);
}
div.thumb {
border: none;
}
div.tright {
div.tright {
border: none;
border: none;
Line 95: Line 131:
@media all and (min-width: 551px) {
@media all and (min-width: 551px) {
/* User links */
/* User links */
#p-personal ul {
body.skin-monobook #p-personal ul {
background: rgba(0, 0, 0, 0.4);
background: rgba(0, 0, 0, 0.4);
border-radius: 0 0 0 10px;
border-radius: 0 0 0 10px;
Line 101: Line 137:
padding: 2px 1em 2px 0;
padding: 2px 1em 2px 0;
}
}
#p-personal li a, li#pt-anonuserpage { color: #efe; }
body.skin-monobook #p-personal li a,  
#p-personal li a:hover { color: #bfb; background: none; text-decoration: underline; }
body.skin-monobook li#pt-anonuserpage {
color: #efe;
}
body.skin-monobook #p-personal li a:hover {
color: #bfb;
background: none;
text-decoration: underline;
}


/* Tabs */
/* Tabs */
#p-cactions .pBody:hover { opacity: 1; }
body.skin-monobook #p-cactions .pBody:hover {
#p-cactions li:hover { opacity: 0.95; }
opacity: 1;
#p-cactions li {
}
body.skin-monobook #p-cactions li:hover {
opacity: 0.95;
}
body.skin-monobook #p-cactions li {
border: 2px outset #0b0;
border: 2px outset #0b0;
border-bottom: 1px solid #fff;
border-bottom: 1px solid #fff;
Line 113: Line 160:
padding: 0 0 .2em;
padding: 0 0 .2em;
}
}
#p-cactions li a {
body.skin-monobook #p-cactions li.selected {
border-color: #fabd23;
}
body.skin-monobook #p-cactions li a {
border: none;
border: none;
border-radius: 10px 0;
border-radius: 10px 0;
Line 119: Line 169:


/* Sidebar */
/* Sidebar */
.portlet { width: 150px; }
body.skin-monobook .portlet {
.portlet h3 {
width: 150px;
}
body.skin-monobook .portlet h3 {
text-transform: uppercase;
text-transform: uppercase;
color: #fff;
color: #fff;
Line 130: Line 182:
border-radius: 11px 0;
border-radius: 11px 0;
}
}
.portlet h3 label { cursor: auto; }
body.skin-monobook .portlet h3 label {
.pBody {
cursor: auto;
}
body.skin-monobook .pBody {
background: #cfc;
background: #cfc;
border: 2px outset #0b0;
border: 2px outset #0b0;
Line 138: Line 192:
border-radius: 25px 0;
border-radius: 25px 0;
}
}
.portlet ul { list-style-type: none; }
body.skin-monobook .portlet ul {
list-style-type: none;
}


/* Search */
/* Search */
Line 146: Line 202:
background: none;
background: none;
}
}
#searchInput { width: 100px; }
body.skin-monobook #searchInput {
#p-search .pBody { padding: 4px 6px 5px 6px; }
width: 100px;
#searchGoButton, #mw-searchButton {
}
body.skin-monobook #p-search .pBody {
padding: 4px 6px 5px 6px;
}
body.skin-monobook #searchButton,
body.skin-monobook #mw-searchButton {
padding: 0 2px;
padding: 0 2px;
border-radius: 11px 0;
border-radius: 11px 0;
}
}
#searchGoButton:hover, #mw-searchButton:hover {
body.skin-monobook #searchButton:hover,
body.skin-monobook #mw-searchButton:hover {
background: #fff;
background: #fff;
}
}
}
}
@media all and (max-width: 550px) {
@media all and (max-width: 550px) {
#searchInput {
body.skin--responsive #searchInput {
border: 1px solid #aaa !important;
border: 1px solid #aaa !important;
}
}
#searchGoButton {
body.skin--responsive #searchButton {
border: 0 !important;
border: 0 !important;
}
}
#searchInput, #searchGoButton {
body.skin--responsive #searchInput,
body.skin--responsive #searchButton {
border-radius: 0 !important;
border-radius: 0 !important;
box-sizing: border-box !important;
box-sizing: border-box !important;
Line 250: Line 313:
/* Links */
/* Links */
a,
a,
#p-cactions li a,
.toctogglelabel,
.mw-parser-output a.extiw,
.mw-parser-output a.extiw,
.mw-parser-output a.external {
.mw-parser-output a.external,
body.skin-monobook #p-cactions li a,
.mw-special-CheckUser .mw-checkuser-paging-links {
color: #080;
color: #080;
}
}
Line 272: Line 337:
a.new:link,
a.new:link,
a.new:visited,
a.new:visited,
#p-cactions .new a,
a.mw-usertoollinks-contribs-no-edits,
#p-cactions .new a:visited {
body.skin-monobook #p-cactions .new a,
body.skin-monobook #p-cactions .new a:visited {
color: #bb0;
color: #bb0;
}
}
.mw-parser-output a.external {
.mw-parser-output a.external {
background: url(/images/external.png) center right no-repeat;
background: url(https://pikmin.wiki.gallery/images/external.png) center right no-repeat;
padding-right: 15px;
}
.mw-parser-output a.external[href$=".pdf"], .mw-parser-output a.external[href$=".PDF"],
.mw-parser-output a.external[href*=".pdf#"], .mw-parser-output a.external[href*=".PDF#"],
.mw-parser-output a.external[href*=".pdf?"], .mw-parser-output a.external[href*=".PDF?"], .link-document {
background-image: url("data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8'?%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13'%3E%3Cpath fill='%23080' d='M7.5 2v3H10l1-1H8.5V1z'/%3E%3Cpath fill='%230a0' d='M3 1v10h8V4L8.5 1zm1 1h4l2 2.5V10H4z'/%3E%3C/svg%3E");
}
 
/* Infobox links */
.infobox a:visited{
color: #040;
}
.inbobox a:link{
color: #050;
}
}


Line 288: Line 366:
#siteNotice .pikipediaBox {
#siteNotice .pikipediaBox {
margin: 0 auto 5px !important;
margin: 0 auto 5px !important;
}
/* Infoboxes */
.infobox a:visited{
color: #040;
}
.inbobox a:link{
color: #050;
}
}


Line 303: Line 373:
border-radius: 10px 0;
border-radius: 10px 0;
background: none;
background: none;
}
/* Audio player */
.listenlist { width: auto !important; }
.listenlist p { text-align: left !important; }
/* Navboxes */
table.navbox-light {
color: #000;
}
table.navbox-light a,
table.navbox-light a.extiw,
table.navbox-light a.external {
color: #262;
}
table.navbox-light a:visited,
table.navbox-light a.extiw:visited,
table.navbox-light a.external:visited {
color: #141;
}
table.navbox-light a:hover,
table.navbox-light a.extiw:hover,
table.navbox-light a.external:hover {
color: #363;
}
table.navbox-light a:visited:hover,
table.navbox-light a.extiw:visited:hover,
table.navbox-light a.external:visited:hover {
color: #242;
}
table.navbox-light a.new,
table.navbox-light a.new:visited,
table.navbox-light a.new:hover,
table.navbox-light a.new:visited:hover {
color: #422;
}
table.navbox-dark {
color: #FFF;
}
table.navbox-dark a,
table.navbox-dark a.extiw,
table.navbox-dark a.external {
color: #BFB;
}
table.navbox-dark a:visited,
table.navbox-dark a.extiw:visited,
table.navbox-dark a.external:visited {
color: #CFC;
}
table.navbox-dark a:hover,
table.navbox-dark a.extiw:hover,
table.navbox-dark a.external:hover {
color: #CFC;
}
table.navbox-dark a:visited:hover,
table.navbox-dark a.extiw:visited:hover,
table.navbox-dark a.external:visited:hover {
color: #DFD;
}
table.navbox-dark a.new,
table.navbox-dark a.new:visited,
table.navbox-dark a.new:hover,
table.navbox-dark a.new:visited:hover {
color: #FDD;
}
}


/* News on the front page */
/* News on the front page */
.news-date{
.news-date {
color: #343;
color: #343;
font-style: italic;
font-style: italic;
Line 376: Line 382:


/* Fix footer spacing */
/* Fix footer spacing */
#f-list {
body.skin-monobook #f-list {
line-height: 17px;
line-height: 17px;
}
/* Responsive fix */
@media all and (max-width: 550px) {
a.feedlink { padding-left: 16px !important }
}
}


/* Indicator icons */
/* Indicator icons */
.mw-indicators {
.mw-indicators {
top: 2px;
top: -4px;
}
}


Line 405: Line 406:
.mw-mmv-wrapper a.mw-ui-button.mw-ui-progressive {
.mw-mmv-wrapper a.mw-ui-button.mw-ui-progressive {
color: #fff !important;
color: #fff !important;
}
/* References */
ol.references li:target,
sup.reference:target {
background-color: #CCFFCC;
}
/* CategoryTree */
.CategoryTreeToggle {
color: #080;
}
}


Line 435: Line 425:


/* Advanced search */
/* Advanced search */
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined .oo-ui-tagMultiselectWidget-handle {
box-shadow: none !important;
}
#mw-advancedSearch-expandable-namespaces .oo-ui-textInputWidget .oo-ui-inputWidget-input {
width: 94% !important;
}
.oo-ui-tagMultiselectWidget-handle {
.oo-ui-tagMultiselectWidget-handle {
border: 0 !important;
border: 0 !important;
}
}
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input:focus,
.oo-ui-icon-search, .oo-ui-icon-menu {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-inlined .oo-ui-tagMultiselectWidget-handle {
background-size: 14px;
box-shadow: none !important;
background-position: 0 1px;
}
}


Line 446: Line 443:
.mw-body-content .mw-ui-button.mw-ui-progressive,
.mw-body-content .mw-ui-button.mw-ui-progressive,
.mw-body-content .mw-ui-button.mw-ui-primary {
.mw-body-content .mw-ui-button.mw-ui-primary {
color: black;
color: #000;
background: #CCFFCC;
background: #CCFFCC;
}
}
Line 463: Line 460:
.mw-body-content .mw-ui-input:focus {
.mw-body-content .mw-ui-input:focus {
box-shadow: inset 0 0 0 2px #CEF2E0;
box-shadow: inset 0 0 0 2px #CEF2E0;
}
/* Responsive fix */
@media all and (max-width: 550px) {
body.skin--responsive #sidebar .portlet[role="navigation"] {
display: none !important;
}
}
}