MediaWiki:Monobook.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 52: Line 52:
border-width: 2px 0;
border-width: 2px 0;
background: url(https://pikmin.wiki.gallery/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed;
background: url(https://pikmin.wiki.gallery/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed;
background: white;
background: #fff;
background: rgba(255, 255, 255, 0.95);
background: rgba(255, 255, 255, 0.95);
}
}
Line 70: Line 70:
border-radius: 15px;
border-radius: 15px;
background: url(https://pikmin.wiki.gallery/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed;
background: url(https://pikmin.wiki.gallery/images/8/8a/Wiki-background.jpg) -150px top no-repeat fixed;
background: white;
background: #fff;
background: rgba(255, 255, 255, 0.95);
background: rgba(255, 255, 255, 0.95);
}
}
Line 95: Line 95:
@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 101:
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 { opacity: 1; }
#p-cactions li:hover { opacity: 0.95; }
body.skin-monobook #p-cactions li:hover { opacity: 0.95; }
#p-cactions li {
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 120:
padding: 0 0 .2em;
padding: 0 0 .2em;
}
}
#p-cactions li a {
body.skin-monobook #p-cactions li a {
border: none;
border: none;
border-radius: 10px 0;
border-radius: 10px 0;
Line 119: Line 126:


/* Sidebar */
/* Sidebar */
.portlet { width: 150px; }
body.skin-monobook .portlet { width: 150px; }
.portlet h3 {
body.skin-monobook .portlet h3 {
text-transform: uppercase;
text-transform: uppercase;
color: #fff;
color: #fff;
Line 130: Line 137:
border-radius: 11px 0;
border-radius: 11px 0;
}
}
.portlet h3 label { cursor: auto; }
body.skin-monobook .portlet h3 label { cursor: auto; }
.pBody {
body.skin-monobook .pBody {
background: #cfc;
background: #cfc;
border: 2px outset #0b0;
border: 2px outset #0b0;
Line 138: Line 145:
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 153:
background: none;
background: none;
}
}
#searchInput { width: 100px; }
body.skin-monobook #searchInput { width: 100px; }
#p-search .pBody { padding: 4px 6px 5px 6px; }
body.skin-monobook #p-search .pBody { padding: 4px 6px 5px 6px; }
#searchGoButton, #mw-searchButton {
body.skin-monobook #searchButton,
body.skin-monobook #searchGoButton,
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 #searchGoButton: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-monobook #searchInput {
border: 1px solid #aaa !important;
border: 1px solid #aaa !important;
}
}
#searchGoButton {
body.skin-monobook #searchButton,
body.skin-monobook #searchGoButton {
border: 0 !important;
border: 0 !important;
}
}
#searchInput, #searchGoButton {
body.skin-monobook #searchInput,
body.skin-monobook #searchButton,
body.skin-monobook #searchGoButton {
border-radius: 0 !important;
border-radius: 0 !important;
box-sizing: border-box !important;
box-sizing: border-box !important;
Line 250: Line 264:
/* Links */
/* Links */
a,
a,
#p-cactions li a,
.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,
.toctogglelabel {
.toctogglelabel {
color: #080;
color: #080;
Line 273: Line 287:
a.new:link,
a.new:link,
a.new:visited,
a.new:visited,
#p-cactions .new a,
body.skin-monobook #p-cactions .new a,
#p-cactions .new a:visited {
body.skin-monobook #p-cactions .new a:visited {
color: #bb0;
color: #bb0;
}
}
Line 377: Line 391:


/* Fix footer spacing */
/* Fix footer spacing */
#f-list {
body.skin-monobook #f-list {
line-height: 17px;
line-height: 17px;
}
}
Line 453: Line 467:
.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;
}
}