MediaWiki:Monobook.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS placed here will affect users of the Monobook skin */
#globalWrapper {
overflow: hidden;
background: none !important;
}
.firstHeading { margin-top: 5px; }
p { margin: 0.6em 0 0.7em 0; }
h1 { font-size: 193%; }
:is(h3, h4, h5) + dl {
margin-top: -0.1em;
}
:is(.ns-talk, .ns-110) p + dl,
.rootpage-Pikipedia_Featured_article p + dl {
margin-top: -0.4em;
}
:is(.ns-talk, .ns-110) dl + dl,
.rootpage-Pikipedia_Featured_article dl + dl {
margin-top: -0.2em;
}
/* Infoboxes */
.infobox th {
background: #cfc;
}
/* Pikipedia boxes */
.pikipediaBox {
background-color: #cfc;
border: 2px outset #0b0;
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;
}
/* Edit page */
div.editOptions {
background: none;
border: 1px solid #9c9;
}
#wpSummaryWidget .oo-ui-labelElement-label {
margin-top: -4px;
}
input#wpSummary {
width: 99%;
}
.CodeMirror {
background: transparent;
}
/* Watchlist edit message */
div.usermessage {
background: #cfc;
font-weight: bold;
margin: 20px 0 10px 0;
padding: 5px 10px;
vertical-align: middle;
border: 2px outset #0b0;
border-radius: 15px 0;
}
/* Content area */
div#footer {
border: outset #0b0;
border-width: 2px 0;
background: rgba(255, 255, 255, 0.95);
}
ul {
list-style-image: url(https://pikmin.wiki.gallery/images/bullet.png);
}
#toc {
background: #cfc;
border: 2px outset #0b0;
border-radius: 60px 0 40px 0;
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;
}
div#content {
border: 2px outset #0b0 !important;
border-radius: 15px;
background: rgba(255, 255, 255, 0.95);
}
table, td, table.diff,
td.diff-otitle, td.diff-ntitle {
background: none;
}
pre {
background: rgba(249, 249, 249, .7);
}
div.thumb {
border: none;
}
div.tright {
border: none;
margin: 5px 0 10px 15px;
}
div.tleft {
border: none;
margin: 5px 15px 10px 0;
}
#catlinks {
border: 2px outset #0b0;
background: #ccffcc;
border-radius: 15px 0;
margin-top: 10px;
padding-top: 0;
padding-bottom: 0;
}
@media all and (min-width: 551px) {
/* User links */
body.skin-monobook #p-personal ul {
background: rgba(0, 0, 0, 0.4);
border-radius: 0 0 0 10px;
float: right;
padding: 2px 1em 2px 0;
}
body.skin-monobook #p-personal li a,
body.skin-monobook li#pt-anonuserpage {
color: #efe;
}
body.skin-monobook #p-personal li a:hover {
color: #bfb;
background: none;
text-decoration: underline;
}
/* Tabs */
body.skin-monobook #p-cactions .pBody:hover {
opacity: 1;
}
body.skin-monobook #p-cactions li:hover {
opacity: 0.95;
}
body.skin-monobook #p-cactions li {
border: 2px outset #0b0;
border-bottom: 1px solid #fff;
border-radius: 10px 0;
padding: 0 0 .2em;
}
body.skin-monobook #p-cactions li.selected {
border-color: #fabd23;
}
body.skin-monobook #p-cactions li a {
border: none;
border-radius: 10px 0;
}
/* Sidebar */
body.skin-monobook .portlet {
width: 150px;
}
body.skin-monobook .portlet h3 {
text-transform: uppercase;
color: #fff;
background: #050;
border: 2px outset #0b0;
padding: 1px 0 3px 10px;
font-weight: bold;
display: block;
border-radius: 11px 0;
}
body.skin-monobook .portlet h3 label {
cursor: auto;
}
body.skin-monobook .pBody {
background: #cfc;
border: 2px outset #0b0;
padding-left: 0;
margin: 2px 20px 0 5px;
border-radius: 25px 0;
}
body.skin-monobook .portlet ul {
list-style-type: none;
}
/* Search */
input[type="submit"]:hover,
input[type="button"]:hover,
.mw-body-content button:hover {
background: none;
}
body.skin-monobook #searchInput {
width: 100px;
}
body.skin-monobook #p-search .pBody {
padding: 4px 6px 5px 6px;
}
body.skin-monobook #searchButton,
body.skin-monobook #mw-searchButton {
padding: 0 2px;
border-radius: 11px 0;
}
body.skin-monobook #searchButton:hover,
body.skin-monobook #mw-searchButton:hover {
background: #fff;
}
}
@media all and (max-width: 550px) {
body.skin--responsive #searchInput {
border: 1px solid #aaa !important;
}
body.skin--responsive #searchButton {
border: 0 !important;
}
body.skin--responsive #searchInput,
body.skin--responsive #searchButton {
border-radius: 0 !important;
box-sizing: border-box !important;
}
}
/* Input boxes */
body input[type="submit"],
body input[type="button"],
body .mw-body-content button:not(.vjs-control),
body .mw-body-content .mw-ui-button,
.ns-special .oo-ui-inputWidget-input.oo-ui-buttonElement-button,
#wpSave,
#wpPreview,
#wpDiff,
#wpCreateaccount,
#wpLoginAttempt,
#mw-createaccount-join,
#wpLoginAttempt:active,
#wpCreateaccount:active,
#mw-createaccount-join:active,
#wpLoginAttempt:focus,
#wpCreateaccount:focus,
#mw-createaccount-join:focus,
#wpLoginAttempt:active:focus,
#wpCreateaccount:active:focus,
#mw-createaccount-join:active:focus {
color: #000;
cursor: pointer;
background: #cfc;
border: 2px outset #0b0 !important;
border-shadow: none;
}
#wpLoginAttempt:hover,
#wpCreateaccount:hover,
#mw-createaccount-join:hover,
.ns-special .oo-ui-inputWidget-input.oo-ui-buttonElement-button:hover,
#wpSave:hover,
#wpPreview:hover,
#wpDiff:hover {
color: #000;
cursor: pointer;
background: #fff;
opacity: 0.85;
border: 2px outset #0b0 !important;
border-shadow: none;
}
#mw-editform-cancel .oo-ui-buttonElement-button {
background: #fff;
}
#mw-editform-cancel .oo-ui-labelElement-label {
color: #080;
}
input[type="submit"],
input[type="button"],
.mw-body-content button:not(.vjs-control),
.editButtons .oo-ui-buttonElement-button,
.ns-special .oo-ui-inputWidget-input.oo-ui-buttonElement-button,
.mw-body-content input[type="text"],
.mw-body-content input[type="password"],
.mw-body-content input[type="email"],
input[type="search"],
#mw-input-captchaWord,
input.loginText,
.mw-body-content .mw-ui-button {
border-radius: 15px 0;
border: 2px inset #0b0 !important;
padding: 0 3px !important;
box-sizing: content-box !important;
}
.mw-body-content input[type="text"],
.mw-body-content input[type="password"],
input[type="search"] {
height: 16px;
}
textarea {
border: 2px inset #0b0;
background: none;
margin-bottom: 3px;
}
div#userloginForm,
div#userlogin {
background: none;
}
/* Links */
a,
.toctogglelabel,
.mw-parser-output a.extiw,
.mw-parser-output a.external,
body.skin-monobook #p-cactions li a,
.mw-special-CheckUser .mw-checkuser-paging-links {
color: #080;
}
a:visited,
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited {
color: #084;
}
a:hover,
.mw-parser-output a.extiw:hover,
.mw-parser-output a.external:hover {
color: #0b0;
}
a:visited:hover,
.mw-parser-output a.extiw:visited:hover,
.mw-parser-output a.external:visited:hover {
color: #0b4;
}
a.new:link,
a.new:visited,
a.mw-usertoollinks-contribs-no-edits,
body.skin-monobook #p-cactions .new a,
body.skin-monobook #p-cactions .new a:visited {
color: #bb0;
}
.mw-parser-output a.external {
background: url(https://pikmin.wiki.gallery/images/external.png) center right no-repeat;
}
.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;
}
#new_edit_page_preview_notice { display: none; }
#wikiPreview > *:first-child { display: block; }
#editform { margin-top: 15px; }
/* Site notice */
#siteNotice .pikipediaBox {
margin: 0 auto 5px !important;
}
/* Switchable */
.switchabletabs li {
border: 2px outset #0b0;
border-radius: 10px 0;
background: none;
}
/* News on the front page */
.news-date {
color: #343;
font-style: italic;
}
/* Fix footer spacing */
body.skin-monobook #f-list {
line-height: 17px;
}
/* Indicator icons */
.mw-indicators {
top: -4px;
}
/* Page previews */
.mwe-popups .mwe-popups-extract:hover {
color: #222;
}
/* Multimedia viewer */
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconedElement-icon.oo-ui-icon-check,
.mw-mmv-reuse-dialog .mw-mmv-reuse-tabs .oo-ui-iconElement-icon.oo-ui-icon-check {
display: none !important;
}
.mw-mmv-wrapper a:not(.oo-ui-buttonElement-button) {
color: #3167d4 !important;
}
.mw-mmv-wrapper a.mw-ui-button.mw-ui-progressive {
color: #fff !important;
}
/* Special:Search */
.oo-ui-textInputWidget.oo-ui-iconElement input,
.oo-ui-textInputWidget.oo-ui-iconElement textarea {
padding-left: 2.475em !important;
}
.oo-ui-textInputWidget.oo-ui-iconElement > .oo-ui-iconElement-icon {
max-height: 1.25em;
margin-top: 2px;
}
.oo-ui-textInputWidget.oo-ui-indicatorElement > .oo-ui-indicatorElement-indicator {
margin-right: -2.5em;
}
.oo-ui-actionFieldLayout-input {
padding-right: 3.5em;
}
/* 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 {
border: 0 !important;
}
.oo-ui-icon-search, .oo-ui-icon-menu {
background-size: 14px;
background-position: 0 1px;
}
/* InputBox */
.mw-body-content .mw-ui-button.mw-ui-progressive,
.mw-body-content .mw-ui-button.mw-ui-primary {
color: #000;
background: #CCFFCC;
}
.mw-body-content .mw-ui-button.mw-ui-progressive:hover,
.mw-body-content .mw-ui-button.mw-ui-primary:hover {
background-color: #F5FFFA;
}
.mw-body-content .mw-ui-button.mw-ui-progressive:disabled,
.mw-body-content .mw-ui-button.mw-ui-primary:disabled {
border-color: #999999 !important;
}
.mw-body-content .mw-ui-button.mw-ui-progressive:disabled:hover,
.mw-body-content .mw-ui-button.mw-ui-primary:disabled:hover {
background-color: #DDDDDD;
}
.mw-body-content .mw-ui-input:focus {
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;
}
}