MediaWiki:Timeless.css: Difference between revisions

From Ghost Theory Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* Reset and Base Styles */
/* === GLOBAL BACKGROUND === */
* {
html, body {
  margin: 0;
    background: #000 !important;
  padding: 0;
    color: #fff !important;
  box-sizing: border-box;
}
}


body {
/* === MAIN CONTENT AREA === */
  background-color: #000000;
#mw-content,
  color: #ffffff;
#mw-content-container,
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
#mw-content-block,
  font-size: 16px;
#mw-content-text {
  line-height: 1.6;
    background: #000 !important;
    color: #fff !important;
}
}


/* Links */
/* === SIDEBAR + NAVIGATION === */
a {
#mw-navigation,
  color: #ffe135;
#mw-panel,
  text-decoration: none;
#mw-panel .mw-portlet,
  transition: color 0.3s ease;
#mw-panel .mw-portlet-body {
    background: #000 !important;
    color: #fff !important;
}
}


a:visited {
/* === RIGHT SIDEBAR (page tools, more, etc.) === */
  color: #c0c0c0;
#mw-related-navigation,
#mw-data-navigation,
#mw-related-navigation .mw-portlet,
#mw-data-navigation .mw-portlet {
    background: #000 !important;
    color: #fff !important;
}
}


a:hover {
/* === HEADERS, TABS, TOP BAR === */
  color: #ffed4e;
#mw-header,
#mw-header-container,
#mw-header h1,
#mw-header h2,
#mw-header .mw-portlet {
    background: #000 !important;
    color: #fff !important;
}
}


/* Main Layout */
/* === SEARCH BAR === */
#mw-page-base,
#searchInput,
#mw-head-base {
#searchInput:focus {
  background-color: #000000;
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}
}


#mw-head {
/* === LINKS === */
  background-color: #1a1a1a;
a {
  border-bottom: 2px solid #333333;
    color: #ff0 !important; /* yellow links */
  padding: 10px 20px;
}
}


#mw-navigation {
a:visited {
  background-color: #000000;
    color: #ccc !important; /* silver visited links */
}
}


/* Content Area */
/* === GRAY CONTENT BOXES === */
#content {
.mw-parser-output .infobox,
  background-color: #000000;
.mw-parser-output .toc,
  padding: 20px;
.mw-parser-output table,
  margin-left: 0;
.mw-parser-output .thumb,
.mw-parser-output .thumbinner,
.mw-parser-output .navbox,
.mw-parser-output .metadata {
    background: #111 !important;
    color: #fff !important;
    border-color: #333 !important;
}
}


#mw-content-container {
/* === FIX WHITE GAPS BETWEEN ELEMENTS === */
  max-width: 100%;
#mw-content-container,
}
#mw-content-block,
 
#mw-content-text,
/* Text Boxes and Content */
#mw-content {
#mw-content {
  background-color: #1a1a1a;
    background-color: #000 !important;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
 
/* Sidebar Navigation */
#mw-panel {
  background-color: #000000;
  padding: 10px 0;
}
 
.mw-portlet {
  background-color: #000000;
  margin-bottom: 20px;
  border: 1px solid #333333;
  border-radius: 4px;
  overflow: hidden;
}
 
.mw-portlet-body {
  background-color: #1a1a1a;
  padding: 0;
}
 
/* Portlet Header */
.mw-portlet > h3,
.vector-portlet-heading {
  background-color: #2a2a2a;
  color: #ffffff;
  padding: 12px 15px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid #333333;
  transition: background-color 0.3s ease;
}
 
.mw-portlet > h3:hover,
.vector-portlet-heading:hover {
  background-color: #333333;
}
 
/* Collapsible Arrow */
.portlet-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
  color: #ffe135;
}
 
.portlet-arrow.collapsed {
  transform: rotate(-90deg);
}
 
/* Portlet List */
.mw-portlet-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.mw-portlet-body li {
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
}
 
.mw-portlet-body li:last-child {
  border-bottom: none;
}
 
.mw-portlet-body a {
  display: block;
  padding: 12px 15px;
  color: #ffe135;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
 
.mw-portlet-body a:visited {
  color: #c0c0c0;
}
 
.mw-portlet-body a:hover {
  background-color: #2a2a2a;
  padding-left: 20px;
  color: #ffed4e;
}
 
/* Year Items and Expandable Sections */
.year-item {
  background-color: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
  padding: 0;
}
 
.year-item:last-child {
  border-bottom: none;
}
 
.year-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background-color: #1a1a1a;
  color: #ffe135;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}
 
.year-header:hover {
  background-color: #2a2a2a;
}
 
.year-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 12px;
  color: #ffe135;
}
 
.year-arrow.collapsed {
  transform: rotate(-90deg);
}
 
.year-content {
  display: none;
  background-color: #0f0f0f;
  padding: 0;
  border-top: 1px solid #2a2a2a;
}
 
.year-content.expanded {
  display: block;
}
 
.year-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.year-content li {
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
}
}


.year-content li:last-child {
/* === REMOVE WHITE BACKGROUND FROM EDITOR === */
  border-bottom: none;
.wikiEditor-ui,
.wikiEditor-ui textarea {
    background: #000 !important;
    color: #fff !important;
}
}


.year-content a {
/* === FORCE DARK BACKGROUND ON ALL GENERIC DIVS === */
  display: block;
div {
  padding: 10px 15px 10px 30px;
    background-color: transparent !important;
  color: #ffe135;
  text-decoration: none;
  transition: background-color 0.2s ease, padding-left 0.2s ease;
  font-size: 14px;
}
 
.year-content a:visited {
  color: #c0c0c0;
}
 
.year-content a:hover {
  background-color: #1a1a1a;
  padding-left: 35px;
  color: #ffed4e;
}
 
/* Search Box */
.searchbox {
  padding: 10px;
  margin-bottom: 10px;
}
 
.searchbox input {
  width: 100%;
  padding: 8px;
  border: 1px solid #2a2a2a;
  background-color: #0f0f0f;
  color: #ffe135;
  font-size: 14px;
  box-sizing: border-box;
}
 
.searchbox input::placeholder {
  color: #666;
}
 
.searchbox input:focus {
  outline: none;
  border-color: #ffe135;
  background-color: #1a1a1a;
}
 
/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
  }
 
  .sidebar.active {
    left: 0;
  }
 
  .main-content {
    margin-left: 0;
  }
}
}

Revision as of 20:50, 15 December 2025

/* === GLOBAL BACKGROUND === */
html, body {
    background: #000 !important;
    color: #fff !important;
}

/* === MAIN CONTENT AREA === */
#mw-content,
#mw-content-container,
#mw-content-block,
#mw-content-text {
    background: #000 !important;
    color: #fff !important;
}

/* === SIDEBAR + NAVIGATION === */
#mw-navigation,
#mw-panel,
#mw-panel .mw-portlet,
#mw-panel .mw-portlet-body {
    background: #000 !important;
    color: #fff !important;
}

/* === RIGHT SIDEBAR (page tools, more, etc.) === */
#mw-related-navigation,
#mw-data-navigation,
#mw-related-navigation .mw-portlet,
#mw-data-navigation .mw-portlet {
    background: #000 !important;
    color: #fff !important;
}

/* === HEADERS, TABS, TOP BAR === */
#mw-header,
#mw-header-container,
#mw-header h1,
#mw-header h2,
#mw-header .mw-portlet {
    background: #000 !important;
    color: #fff !important;
}

/* === SEARCH BAR === */
#searchInput,
#searchInput:focus {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

/* === LINKS === */
a {
    color: #ff0 !important; /* yellow links */
}

a:visited {
    color: #ccc !important; /* silver visited links */
}

/* === GRAY CONTENT BOXES === */
.mw-parser-output .infobox,
.mw-parser-output .toc,
.mw-parser-output table,
.mw-parser-output .thumb,
.mw-parser-output .thumbinner,
.mw-parser-output .navbox,
.mw-parser-output .metadata {
    background: #111 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* === FIX WHITE GAPS BETWEEN ELEMENTS === */
#mw-content-container,
#mw-content-block,
#mw-content-text,
#mw-content {
    background-color: #000 !important;
}

/* === REMOVE WHITE BACKGROUND FROM EDITOR === */
.wikiEditor-ui,
.wikiEditor-ui textarea {
    background: #000 !important;
    color: #fff !important;
}

/* === FORCE DARK BACKGROUND ON ALL GENERIC DIVS === */
div {
    background-color: transparent !important;
}