MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(129 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins on desktop */ | ||
/* Staff highlights | /* Navbox style | ||
Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-NavboxStyle.css | |||
Staff highlights | |||
Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-StaffHighlights.css */ | |||
/* | /* Infoboxes */ | ||
.infobox { | .infobox { | ||
color: #000; | |||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
font-size: 80%; | font-size: 80%; | ||
text-align: left; | text-align: left; | ||
min-width: 150px; | |||
max-width: 350px; | max-width: 350px; | ||
border: 1px solid #aaa; | |||
background-color: #f9f9f9; | |||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
} | } | ||
.infobox td, | .infobox td, .infobox th { | ||
.infobox th { | |||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox caption { | .infobox caption { | ||
font-size: larger; | font-size: larger; | ||
margin-left: inherit; | margin-left: inherit; | ||
} | |||
.infobox img { | |||
max-width: 340px; | |||
height: auto !important; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
Line 77: | Line 37: | ||
.infobox.bordered td, | .infobox.bordered td, | ||
.infobox.bordered th { | .infobox.bordered th { | ||
border: 1px solid # | border: 1px solid #aaa; | ||
} | } | ||
.infobox.bordered .borderless td, | .infobox.bordered .borderless td, | ||
Line 83: | Line 43: | ||
border: 0; | border: 0; | ||
} | } | ||
.infoboxTitle { | |||
.infoboxTitle{ | |||
font-size: 140%; | font-size: 140%; | ||
text-align: center; | text-align: center; | ||
} | } | ||
/* Bordered infobox with merged rows */ | |||
/* | |||
.infobox.bordered .mergedtoprow td, | .infobox.bordered .mergedtoprow td, | ||
.infobox.bordered .mergedtoprow th { | .infobox.bordered .mergedtoprow th { | ||
border: 0; | border: 0; | ||
border-top: 1px solid # | border-top: 1px solid #aaa; | ||
border-right: 1px solid # | border-right: 1px solid #aaa; | ||
} | } | ||
.infobox.bordered .mergedrow td, | .infobox.bordered .mergedrow td, | ||
.infobox.bordered .mergedrow th { | .infobox.bordered .mergedrow th { | ||
border: 0; | border: 0; | ||
border-right: 1px solid # | border-right: 1px solid #aaa; | ||
} | } | ||
/* | /* Bold edit tab */ | ||
#ca-edit a { | #ca-edit a { | ||
font-weight: bold !important; | font-weight: bold !important; | ||
} | } | ||
/* | /* Forum */ | ||
.forumheader { | |||
.forumheader { | |||
margin: 1em 0 15px; | margin: 1em 0 15px; | ||
padding: 12px; | padding: 12px; | ||
} | } | ||
.forumlist td.forum_edited a { | .forumlist td.forum_edited a { | ||
color: | color: #000; | ||
text-decoration: none | text-decoration: none | ||
} | } | ||
.forumlist td.forum_title a { | .forumlist td.forum_title a { | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
.forumlist td.forum_title a.forum_new { | .forumlist td.forum_title a.forum_new { | ||
font-weight: bold; | font-weight: bold; | ||
background: url(/images/forum_new.gif) center left no-repeat; | background: url(https://pikmin.wiki.gallery/images/forum_new.gif) center left no-repeat; | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
.forumlist td.forum_title a.forum_new:visited { | .forumlist td.forum_title a.forum_new:visited { | ||
font-weight: normal; | font-weight: normal; | ||
background: none; | background: none; | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
.forumlist th.forum_title { | .forumlist th.forum_title { | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
/* | /* Pikipedia boxes */ | ||
.pikipediaBox { | |||
color: #000; | |||
margin: 0 auto 10px; | |||
padding: 0 0.5em; | |||
margin | |||
} | } | ||
. | h2 + .pikipediaBox, | ||
div + .pikipediaBox, | |||
table + .pikipediaBox, | |||
.pikipediaBox + .navbox { | |||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
.pikipediaBox + .pikipediaBox { | |||
.pikipediaBox + .pikipediaBox{ | |||
margin-top: -5px; | margin-top: -5px; | ||
} | } | ||
.titledBox{ | /* Titled boxes */ | ||
.titledBox { | |||
width: 100%; | width: 100%; | ||
padding: 6px; | padding: 6px; | ||
} | } | ||
.titledBoxTitle{ | .titledBoxTitle { | ||
width: 100%; | width: 100%; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 0 5px; | |||
} | } | ||
/* | /* References */ | ||
sup.reference:target, | |||
ol.references li:target { | |||
background-color: #cfc; | |||
. | |||
} | } | ||
Line 309: | Line 131: | ||
} | } | ||
/* | /* Indicator icons */ | ||
.mw-indicator { | |||
margin | margin: 0 2px; | ||
} | } | ||
/* | /* Who's online */ | ||
#whosonline { | |||
margin-bottom: 1px; | |||
# | |||
margin- | |||
} | } |
Latest revision as of 17:12, August 10, 2023
/* CSS placed here will be applied to all skins on desktop */
/* Navbox style
Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-NavboxStyle.css
Staff highlights
Edit here: https://www.pikminwiki.com/MediaWiki:Gadget-StaffHighlights.css */
/* Infoboxes */
.infobox {
color: #000;
float: right;
clear: right;
font-size: 80%;
text-align: left;
min-width: 150px;
max-width: 350px;
border: 1px solid #aaa;
background-color: #f9f9f9;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
}
.infobox td, .infobox th {
vertical-align: top;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox img {
max-width: 340px;
height: auto !important;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
.infoboxTitle {
font-size: 140%;
text-align: center;
}
/* Bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
border-right: 1px solid #aaa;
}
/* Bold edit tab */
#ca-edit a {
font-weight: bold !important;
}
/* Forum */
.forumheader {
margin: 1em 0 15px;
padding: 12px;
}
.forumlist td.forum_edited a {
color: #000;
text-decoration: none
}
.forumlist td.forum_title a {
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new {
font-weight: bold;
background: url(https://pikmin.wiki.gallery/images/forum_new.gif) center left no-repeat;
padding-left: 20px;
}
.forumlist td.forum_title a.forum_new:visited {
font-weight: normal;
background: none;
padding-left: 20px;
}
.forumlist th.forum_title {
padding-left: 20px;
}
/* Pikipedia boxes */
.pikipediaBox {
color: #000;
margin: 0 auto 10px;
padding: 0 0.5em;
}
h2 + .pikipediaBox,
div + .pikipediaBox,
table + .pikipediaBox,
.pikipediaBox + .navbox {
margin-top: 10px;
}
.pikipediaBox + .pikipediaBox {
margin-top: -5px;
}
/* Titled boxes */
.titledBox {
width: 100%;
padding: 6px;
}
.titledBoxTitle {
width: 100%;
font-size: 1.2em;
font-weight: bold;
padding: 0 5px;
}
/* References */
sup.reference:target,
ol.references li:target {
background-color: #cfc;
}
/* MediaWiki collapsible buttons */
.mw-collapsible-toggle {
font-weight: normal;
}
/* Indicator icons */
.mw-indicator {
margin: 0 2px;
}
/* Who's online */
#whosonline {
margin-bottom: 1px;
}