MediaWiki:Common.css: Difference between revisions

From apogeawiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(61 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* ========== Dark mode base background and text color ========== */
/* ==== Global Reset ==== */
body, #content, .mw-body, #mw-page-base, #mw-head-base, #mw-panel, #footer, #mw-head, #mw-content-text {
* {
  background-color: #111827 !important;
   margin: 0;
  color: #ffffff !important;
   padding: 0;
}
   box-sizing: border-box;
 
/* ========== Links ========== */
#mw-panel a:not(.new),
#p-personal a:not(.new),
#mw-head a:not(.new),
#mw-content-text a:not(.new) {
  color: #93c5fd !important;
}
 
 
#mw-content-text a:visited {
  color: #a5b4fc;
}
 
#mw-content-text a:hover, #mw-content-text a:focus {
  color: #60a5fa !important;
  text-decoration: underline !important;
}
 
/* ========== Broken links ========== */
a.new {
  color: #ef4444 !important;
}
 
/* ========== Tables, content boxes, infoboxes ========== */
table, td, .infobox, .navbox, .toc {
   background-color: #1f2937 !important;
  color: #ffffff !important;
  border-color: #374151 !important;
 
  caption {
    color: #EAB308 !important;
  }
}
 
.mw-collapsed {
   min-width: 100%;
}
 
th {
   background-color: #111827 !important;
  color: #ffffff !important;
 
  button {
    background-color: #111827 !important;
    color: #ffffff !important;
  }
}
}


/* ==== Base Styling ==== */
/* ========== Code blocks and pre elements ========== */
body,
pre, code {
#content,
   background-color: #374151 !important;
#bodyContent,
   color: #ffffff !important;
.mw-body,
.mw-body-content,
#mw-content-text {
   background-color: #0e0e0e !important;
   color: #e0e0e0 !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
}


/* ==== Headings ==== */
/* ========== Headings ========== */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   color: #ffffff !important;
   color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #333;
  padding-bottom: 0.2rem;
}
}


/* ==== Links ==== */
/* ========== Quotes ========== */
a {
blockquote {
   color: #66ccff !important; /* Light blue */
   background-color: #1f2937 !important;
   text-decoration: underline;
}
   transition: color 0.2s ease-in-out;
 
/* ========== Input fields and search box ========== */
input, textarea, select {
   background-color: #1f2937 !important;
  color: #ffffff !important;
  border: 1px solid #374151 !important;
}
 
/* ========== Buttons ========== */
button, input[type="submit"], input[type="button"] {
  color: #ffffff !important;
}
 
/* ========== Footer text ========== */
#footer {
  color: #9ca3af !important;
}
 
/* ========== Edit options section ========== */
.editOptions {
  background-color: #111827 !important;
   color: #ffffff !important;
}
 
/* ========== Editor UI ========== */
.wikiEditor-ui-toolbar {
  background-color: #111827 !important;
  color: #93c5fd !important;
 
  .label{
    color: #93c5fd !important;
  }
 
  .oo-ui-iconElement-icon {
    filter: invert(1);
  }
 
}
 
.oo-ui-toolbar-bar {
  background-color: #111827 !important;
  color: #93c5fd !important;
 
  .label{
    color: #93c5fd !important;
  }
 
  .oo-ui-iconElement-icon {
    filter: invert(1);
  }
 
  .oo-ui-indicatorElement-indicator {
    filter:invert(1);
  }
 
  .oo-ui-tool-link {
    background-color: #111827 !important;
    color: #93c5fd !important;
  }
 
}
 
/* ========== Sidebar ========== */
.vector-legacy-sidebar{
  display: flex;
  flex-direction: column;
  gap: 12px;
 
  #p-logo {
    margin-bottom: 0;
  }
 
  span.vector-menu-heading-label {
    color: #EAB308 !important;
  }
 
  h3.vector-menu-heading {
    text-align: center;
  }
 
  #p-Library{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 0 8px;
  }
 
  #p-Official_Links{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 0 8px;
  }
 
  #p-Community_Links{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 0 8px;
  }
 
  #p-tb{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 12px 8px;
  }
 
  ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin: 0 !important;
  }
 
  li {
    color: #18202f !important; /* bullet color */
  }
}
 
 
 
/* ========== Top bar labels ========== */
#mw-head #left-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a,
#mw-head #right-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a {
    background-color: #1f2937 !important;
}
 
/* ========== Resize Classes ========== */
.icon-64 img {
  width: 64px !important;
  height: 64px !important;
  object-fit: scale-down;
}
 
.icon-64 img[width],
.icon-64 img[height] {
  width: 64px !important;
  height: 64px !important;
}
 
#size-64 {
width: 64px;
height: 64px;
}
 
#size-100 {
width: 100px;
height: 100px;
}
 
.centered td,
.centered th {
  text-align: center;
  vertical-align: middle;
}
 
/* ========== Specific Targets ========== */
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper {
  background-color: #111827 !important;
}
}


a:hover {
.mw-changeslist-legend {
   color: #99e0ff !important; /* Brighter on hover */
   background-color: #111827 !important;
}
}


/* ==== Sidebar ==== */
.oo-ui-widget {
#mw-panel,
   background-color: #111827 !important;
.portal,
.vector-menu-content,
.vector-menu-content-list {
   background-color: #111 !important;
  color: #ddd !important;
}
}

Latest revision as of 16:37, 20 July 2025

/* ========== Dark mode base background and text color ========== */
body, #content, .mw-body, #mw-page-base, #mw-head-base, #mw-panel, #footer, #mw-head, #mw-content-text {
  background-color: #111827 !important;
  color: #ffffff !important;
}

/* ========== Links ========== */
#mw-panel a:not(.new), 
#p-personal a:not(.new), 
#mw-head a:not(.new), 
#mw-content-text a:not(.new) {
  color: #93c5fd !important;
}


#mw-content-text a:visited {
  color: #a5b4fc;
}

#mw-content-text a:hover, #mw-content-text a:focus {
  color: #60a5fa !important;
  text-decoration: underline !important;
}

/* ========== Broken links ========== */
a.new {
  color: #ef4444 !important;
}

/* ========== Tables, content boxes, infoboxes ========== */
table, td, .infobox, .navbox, .toc {
  background-color: #1f2937 !important;
  color: #ffffff !important;
  border-color: #374151 !important;

  caption {
    color: #EAB308 !important;
  }
}

.mw-collapsed {
  min-width: 100%;
}

th {
  background-color: #111827 !important;
  color: #ffffff !important;

  button {
    background-color: #111827 !important;
    color: #ffffff !important;
  }
}

/* ========== Code blocks and pre elements ========== */
pre, code {
  background-color: #374151 !important;
  color: #ffffff !important;
}

/* ========== Headings ========== */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

/* ========== Quotes ========== */
blockquote {
  background-color: #1f2937 !important;
}

/* ========== Input fields and search box ========== */
input, textarea, select {
  background-color: #1f2937 !important;
  color: #ffffff !important;
  border: 1px solid #374151 !important;
}

/* ========== Buttons ========== */
button, input[type="submit"], input[type="button"] {
  color: #ffffff !important;
}

/* ========== Footer text ========== */
#footer {
  color: #9ca3af !important;
}

/* ========== Edit options section ========== */
.editOptions {
  background-color: #111827 !important;
  color: #ffffff !important;
}

/* ========== Editor UI ========== */
.wikiEditor-ui-toolbar {
  background-color: #111827 !important;
  color: #93c5fd !important;

  .label{
    color: #93c5fd !important;
  }

  .oo-ui-iconElement-icon {
    filter: invert(1);
  }

}

.oo-ui-toolbar-bar {
  background-color: #111827 !important;
  color: #93c5fd !important;

  .label{
    color: #93c5fd !important;
  }

  .oo-ui-iconElement-icon {
    filter: invert(1);
  }

  .oo-ui-indicatorElement-indicator {
    filter:invert(1);
  }

  .oo-ui-tool-link {
    background-color: #111827 !important;
    color: #93c5fd !important;
  }

}

/* ========== Sidebar ========== */
.vector-legacy-sidebar{
  display: flex;
  flex-direction: column;
  gap: 12px;

  #p-logo {
    margin-bottom: 0;
  }

  span.vector-menu-heading-label {
    color: #EAB308 !important;
  }

  h3.vector-menu-heading {
    text-align: center;
  }

  #p-Library{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 0 8px;
  }

  #p-Official_Links{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 0 8px;
  }

  #p-Community_Links{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 0 8px;
  }

  #p-tb{
    border: 1px solid #0a0e18;
    border-radius: 8px;
    background-color: #0a0e18;
    margin: 0 8px 12px 8px;
  }

  ul {
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin: 0 !important;
  }

  li {
    color: #18202f !important; /* bullet color */
  }
}



/* ========== Top bar labels ========== */
#mw-head #left-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a,
#mw-head #right-navigation .vector-menu-content .vector-menu-content-list .mw-list-item a {
    background-color: #1f2937 !important;
}

/* ========== Resize Classes ========== */
.icon-64 img {
  width: 64px !important;
  height: 64px !important;
  object-fit: scale-down;
}

.icon-64 img[width],
.icon-64 img[height] {
  width: 64px !important;
  height: 64px !important;
}

#size-64 {
width: 64px;
height: 64px;
}

#size-100 {
width: 100px;
height: 100px;
}

.centered td,
.centered th {
  text-align: center;
  vertical-align: middle;
}

/* ========== Specific Targets ========== */
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper {
  background-color: #111827 !important;
}

.mw-changeslist-legend {
  background-color: #111827 !important;
}

.oo-ui-widget {
  background-color: #111827 !important;
}