MediaWiki:Common.css: Difference between revisions

test header
try b95 for subtle
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* only public wiki */
/* only public wiki - hide talk link */
:root {
--color-base: #f8f9fa;
--color-subtle: #b95;
--background-color-base: #222;
}
 
html,
body {
background-color: #222;
}


/* hide talk link */
.minerva__tab-container {
.minerva__tab-container {
     display: none;
     display: none;
}
.talk.mw-ui-button {
visibility: hidden;
}
/* 220729 - action menu hid */
.page-actions-menu {
border-top: 0;
border-bottom: 0;
/* logged in user must change to vector skin to edit */
visibility: hidden;
}
body {
  background-image:url(-) !important;
}
body .mw-page-container, body #mw-panel {
background-color: unset !important;
    background-image: unset !important;
}
}


Line 10: Line 41:
background-color: #fff;
background-color: #fff;
}
}


/* internal and public wiki */
/* internal and public wiki */
body {
body {
color: #fff;
color: #fff;
    background-color: #222;
}
}
a {
a {
Line 24: Line 55:


body table.wikitable,
body table.wikitable,
body table.prettytable {
body table.prettytable,
background-color: #282828 !important;
border-color: #555 !important;
}
body table.wikitable > * > tr > th,
body table.wikitable > * > tr > th,
body table.wikitable > * > tr > td,
body table.wikitable > * > tr > td,
body table.prettytable > * > tr > th,
body table.prettytable > * > tr > th,
body table.prettytable > * > tr > td {
body table.prettytable > * > tr > td {
background-color: #282828 !important;
background-color: #333 !important;
border-color: #555 !important;
border-color: #000 !important;
}
 
.header-container.header-chrome {
background-color: #000;
}
}


.last-modified-bar a ,
.footer, .minerva-footer {
background-color: #343739;
}


body,
body,
.header-container.header-chrome,
#content,
#content,
footer,
.content table.infobox,
.content table.infobox,
.mw-highlight,
.mw-highlight,
Line 50: Line 85:
background-color: #222!important;
background-color: #222!important;
}
}
.header-chrome {
 
color: #e8c773;
}
.hatnote,
.hatnote,
.dablink,
.dablink,
Line 59: Line 92:
.client-js .toc-mobile,
.client-js .toc-mobile,
#toc,
#toc,
.search-box .search,
/* .search-box .search, */
.content kbd,
.content kbd,
.content samp,
.content samp,
Line 81: Line 114:
table.fmbox-warning {
table.fmbox-warning {
background-color: #794747;
background-color: #794747;
}
/* Search input — Minerva header and JS overlay */
.minerva-search-form .search,
.search-box .search,
.search-overlay .search,
input[type="search"] {
background-color: #343739;
color: #f8f9fa;
border-color: #555;
}
.minerva-search-form .search::placeholder,
.search-box .search::placeholder,
input[type="search"]::placeholder {
color: #aaa;
}
/* Search results overlay background */
.overlay,
.overlay-enabled,
.search-overlay,
.overlay-content,
.search-overlay .results {
background-color: #222;
color: #bb9966;
}
.language-overlay .search-box input,
.search-overlay .search-box input {
color: #f8f9fa;
background-color: #343739;
}
}


/* Links */
/* Links */
 
.extiw a, .extiw a:visited, .branding-box a, .branding-box a:visited,
.pBody ul li a, .pBody ul li a:visited, .subpages a, .subpages a:visited, body a, body a:visited, a, a:visited {
.pBody ul li a, .pBody ul li a:visited, .subpages a, .subpages a:visited, body a, body a:visited, a, a:visited {
     color: #ec7 !important;
     color: #ec7 !important;
Line 90: Line 156:


.pBody ul li a.new, .pBody ul li a.new:visited, .subpages a.new, .subpages a.new:visited, body a.new, body a.new:visited, a.new, a.new:visited, .pBody ul li.new a, .pBody ul li.new a:visited, li.new a, li.new a:visited, body .lienbrisé {
.pBody ul li a.new, .pBody ul li a.new:visited, .subpages a.new, .subpages a.new:visited, body a.new, body a.new:visited, a.new, a.new:visited, .pBody ul li.new a, .pBody ul li.new a:visited, li.new a, li.new a:visited, body .lienbrisé {
     color: #e8c773 !important;
     color: #e8c773;
}
}


Line 99: Line 165:
/* Menu drawer */
/* Menu drawer */
#mw-mf-page-left {
#mw-mf-page-left {
  background-color: #333;
}
#p-navigation li  a ,
#p-interaction li  a ,
#pt-preferences li  a {
   background-color: #000;
   background-color: #000;
}
}


#p-navigation li a {
/* 220729 - Vector skin darkening for editing after disabling action menu in minerva */
  background-color: #321;
#mw-header,
#mw-navigation,
#mw-panel
  {
background-image: none !important;
background-color: #444 !important;
}
}


#p-interaction li a {
.vector-menu-tabs li {
  background-color: #321;
background-image: unset !important;
background-color: #444 !important;
}
}


#pt-preferences li  a {
body .vectorbox {
  background-color: #321;
background-color: #333;
}
body .mw-sidebar-action .mw-sidebar-action-item h3.mw-sidebar-action-heading,
body .vector-menu-portal .vector-menu-heading {
color: #fff;
}
}