MediaWiki:Minerva.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.
/*
* SlyMods Wiki custom mobile CSS
* Should target the Minerva skin only
*/
/** mobile tweaks **/
/* show create article redlink on search pages */
.skin-minerva .mw-search-createlink {
display: block !important;
}
/* hide main page title always */
body.page-Main_Page #contentSub, body.page-Main_Page #contentSub2 {
display: none;
}
/* hide desktop only elements */
.desktop-only {
display: none;
}
/** mw body content **/
.skin-minerva .mw-body {
background-color: #102A51;
color: #99c3f0;
}
.skin-minerva .header-container, .skin-minerva .minerva-footer, .skin-minerva .menu {
background: #010239;
color: white;
}
.minerva-footer .last-modified-bar {
border: none
}
.content-header {
border: none;
}
/** minerva search **/
/* search box */
.skin-minerva .search-box .search {
background-color: #80819C;
border: 1px solid #A2A9B1;
color: white;
}
.skin-minerva .search-box .search::placeholder {
color: lightgray;
}
/** links **/
/* all links not in articles */
.skin-minerva .header-container a, .skin-minerva .minerva-footer a {
/*color: #fcffe4;*/
color: #8FA9CC;
}
/* sidebar links */
.skin-minerva #p-navigation li,
.skin-minerva #p-personal li {
background-color: rgba(255,255,255,0.1) !important;
border: none;
}
/* article links */
.mw-body a, .mw-body a.extiw, .mw-body a.external {
color: #00C0F5;
}
.mw-body a:visited, .mw-body a.extiw:visited, .mw-body a.external:visited {
color: #0099c3;
}
/* redlinks */
a.new {
color: #F24333 !important;
}
a.new:visited {
color: #cb3a2d !important;
}
/** article content **/
/* headings */
.skin-minerva > h1, h2, h3, h4, h5, h6 {
color: #99c3f0;
}
.skin-minerva h2 {
border-bottom: 1px solid rgba(162, 169, 177, 0.8) !important;
}
.page-actions-menu {
border-top: none;
border-bottom: 1px solid rgba(162, 169, 177, 0.8);
}
/* minerva icons */
.skin-minerva .mw-ui-icon-mf-expand, .skin-minerva .mw-ui-icon-wikimedia-language-base20, .mw-ui-icon-minerva-listBullet, .mw-ui-icon-minerva-download, .mw-ui-icon-wikimedia-edit-base20 {
filter: invert(1)
}
/* documentation box */
.documentation, .documentation-metadata {
background-color: rgba(0, 0, 0, 0.3) !important;
border-radius: 4px;
}
/* misc floating boxes */
.catlinks, .mw-collapsable, #toc {
background-color: #1C386A;
}
/* article images */
.thumbcaption {
color: inherit;
}
/* table of contents */
.skin-minerva #toc {
border: none;
}
/* pre boxes */
pre {
background-color: #1f1f1f;
color: #f0f0f0;
border: none;
border-radius: 1px;
}
/* code */
code {
background-color: #1f1f1f;
color: #f0f0f0;
border: none;
}
/* talk button */
.skin-minerva .button.talk {
background-color: #0B1D39;
border: none;
}
.skin-minerva.page-Main_Page .button.talk {
display: none;
}
/** editor diffs **/
.diffchange-inline {
background: rgba(0, 0, 0, 0.2) !important;
border: 1px solid #feeec8
}
.diff-context {
color: inherit;
background-color: rgba(255, 255, 255, 0.2);
border-color: lightblue;
}
.diff-deletedline {
border-color: magenta;
}
.diff-addedline {
border-color: limegreen;
}
/** page history list **/
.skin-minerva .page-summary a p {
color: inherit;
}
.list-header {
background-color: #010239;
border-radius: 4px;
}
.page-summary {
border: none;
}
.mw-mf-bytesadded {
color: #4fff07 !important;
}
.mw-mf-bytesremoved {
color: magenta !important;
}
.mw-changeslist-legend {
color: black;
}
/** navboxes **/
.navbox {
color: black;
}
.navbox a {
color: #00566e !important;
}
.navbox a.selflink {
color: #004052 !important;
}
.navbox a.new {
color: #ff3724 !important
}
/** infoboxes **/
.skin-minerva .infobox {
color: black;
}
.infobox a {
color: #00566e !important;
}
.infobox a.selflink {
color: #004052 !important;
}
.infobox a.new {
color: #ff3724 !important
}
/** manage wiki box **/
#managewiki {
color: black;
background-color: white;
}
/* miscellaneous styles borrowed from https://zeldamods.org */
#pt-uls .uls-trigger:before {
filter: invert(1);
}
.mw-content-ltr td ol,.mw-content-rtl .mw-content-ltr td ol {
margin-left: 1.5em;
}
.page-Main_Page #firstHeading,.page-Main_Page .heading-holder {
display: none !important;
}
.resloc-box {
border: 1px solid #d2d2d2;
padding: 2px 5px;
font-size: 85%;
border-left: 5px solid #000000;
}
.resloc-box-aoc {
border-left-color: #90c;
}
.resloc-box-normal {
border-left-color: #36c;
}
.no-rstb-box-color {
border-left-color: #c00;
}
.resloc-box p {
margin: 0;
}
.resloc-box + .resloc-box,.resloc-box + link + .resloc-box {
border-top: 0;
}
.ambox + .resloc-box {
margin-top: 10px;
}
.resloc-box + .ambox,.resloc-box + .toc {
margin-top: 10px;
}