Difference between revisions of "MediaWiki:Minerva.css"

From Forge Community Wiki
(add dark mode for Minerva skin)
 
(fix nav menu to dark colors)
Line 4: Line 4:
 
#siteNotice,
 
#siteNotice,
 
footer .footer-content {
 
footer .footer-content {
display: none;
+
display:none
 
}
 
}
 
body {
 
body {
color: #fff;
+
color:#fff
 
}
 
}
 
a {
 
a {
color: #7ca0e8;
+
color:#7ca0e8
 
}
 
}
 
body,
 
body,
Line 20: Line 20:
 
.navbox,
 
.navbox,
 
.navbox-subgroup {
 
.navbox-subgroup {
background-color: #222;
+
background-color: #222
 
}
 
}
 
#mw-script-doc {
 
#mw-script-doc {
background-color: #222 !important;
+
background-color:#222 !important
 
}
 
}
 
.header-container.header-chrome {
 
.header-container.header-chrome {
color: #eaecf0;
+
color:#eaecf0
 
}
 
}
 
.hatnote,
 
.hatnote,
Line 40: Line 40:
 
.content pre,
 
.content pre,
 
footer .last-modified-bar,
 
footer .last-modified-bar,
.navbox th, .navbox-title,
+
.navbox th,
 +
.navbox-title,
 
.navbox-abovebelow,
 
.navbox-abovebelow,
 
th.navbox-group,
 
th.navbox-group,
Line 47: Line 48:
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-group,
 
.navbox-subgroup .navbox-abovebelow {
 
.navbox-subgroup .navbox-abovebelow {
color: #f8f9fa;
+
color:#f8f9fa;
background-color: #343739;
+
background-color:#343739;
border-color: #343739;
+
border-color:#343739
 
}
 
}
 
#toc {
 
#toc {
border: 0;
+
border:0
 
}
 
}
 
table.fmbox-warning {
 
table.fmbox-warning {
background-color: #794747;
+
background-color:#794747
 +
}
 +
 
 +
#mw-mf-page-left {
 +
  background-color: #1c1c1c;
 +
}
 +
#mw-mf-page-left ul li a {
 +
  background-color: #222;
 +
  color: #ccc;
 +
}
 +
#mw-mf-page-left ul li {
 +
  border-top-color: #1c1c1c;
 
}
 
}

Revision as of 09:36, 29 November 2020

/* All CSS here will be loaded for users of the MinervaNeue skin */

/* from https://gist.github.com/AdamVig/5b1efdb3c71e3e0a0800a82a092503bc */
#siteNotice,
footer .footer-content {
 display:none
}
body {
 color:#fff
}
a {
 color:#7ca0e8
}
body,
.header-container.header-chrome,
#content,
footer,
.content table.infobox,
.mw-highlight,
.navbox,
.navbox-subgroup {
 background-color: #222
}
#mw-script-doc {
 background-color:#222 !important
}
.header-container.header-chrome {
 color:#eaecf0
}
.hatnote,
.dablink,
.rellink,
.content table.infobox,
.client-js .toc-mobile,
#toc,
.search-box .search,
.content kbd,
.content samp,
.content code,
.content pre,
footer .last-modified-bar,
.navbox th,
.navbox-title,
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title,
.navbox-even,
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
 color:#f8f9fa;
 background-color:#343739;
 border-color:#343739
}
#toc {
 border:0
}
table.fmbox-warning {
 background-color:#794747
}

#mw-mf-page-left {
  background-color: #1c1c1c;
}
#mw-mf-page-left ul li a {
  background-color: #222;
  color: #ccc;
}
#mw-mf-page-left ul li {
  border-top-color: #1c1c1c;
}