MediaWiki:Timeless.css

From The Nine Astral Doors Wiki
Revision as of 03:07, 19 May 2025 by Zoadra (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Radical Timeless skin customization for Nine Astral Doors Wiki */
:root {
  --color-base: #1a1a2e;          /* Deep midnight blue */
  --color-base--hover: #16213e;   /* Even darker on hover */
  --color-primary: #e94560;       /* Vibrant pink-red */
  --color-secondary: #0f3460;     /* Deep blue */
  --color-text: #e6e6e6;          /* Light text for dark backgrounds */
  --color-text--subtle: #aaa;     /* Subtle text color */
  --color-link: #4cc9f0;          /* Bright cyan links */
  --color-link--visited: #b5179e; /* Magenta for visited links */
  --color-link--active: #f72585;  /* Hot pink for active links */
  --color-sidebar: #3271a8;       /* Specific blue for sidebar as requested */
  --font-family-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-serif: 'Playfair Display', serif;
  --border-radius--small: 6px;
  --border-radius--medium: 12px;
  --border-radius--large: 20px;
}

/* Target the specific sidebar navigation box */
.sidebar-inner, 
#mw-panel,
#mw-panel .portal,
#mw-panel .portal .body,
.ts-inner,
.ts-inner .sidebar-chunk {
  background-color: var(--color-sidebar) !important;
  color: var(--color-text);


/* Fix the white background in the navigation sidebar */
.color-bar {
  background-color: var(--color-sidebar) !important;
}

/* Fix the specific navigation box */
#mw-panel {
  background-color: var(--color-sidebar) !important;
}

/* Fix the specific navigation links container */
.portal {
  background-color: var(--color-sidebar) !important;
}

/* Additional specific selectors for the navigation sidebar */
.mw-portlet,
.mw-portlet-body,
#p-navigation,
#p-navigation .body,
#p-tb,
#p-tb .body {
  background-color: var(--color-sidebar) !important;
}

/* Completely transform the header */
.color-middle, .ts-inner {
  background: linear-gradient(135deg, var(--color-base) 0%, var(--color-secondary) 100%);
}

#mw-header-container {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mw-wiki-logo {
  filter: drop-shadow(0 0 8px rgba(233, 69, 96, 0.6));
  transition: all 0.3s ease;
}

.mw-wiki-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(233, 69, 96, 0.8));
}

.mw-header-title {
  font-family: var(--font-family-serif);
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navigation transformation */
.sidebar-inner {
  background-color: #0f3460;
  border-radius: var(--border-radius--medium);
  margin: 1em;
  padding: 1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-inner h3 {
  color: var(--color-primary);
  font-family: var(--font-family-serif);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

.sidebar-inner ul li a {
  color: var(--color-text);
  transition: all 0.3s ease;
  padding: 0.5em 0.8em;
  border-radius: var(--border-radius--small);
  display: block;
  margin-bottom: 0.3em;
}

.sidebar-inner ul li a:hover {
  background-color: rgba(233, 69, 96, 0.2);
  color: var(--color-primary);
  transform: translateX(5px);
  text-decoration: none;
}

/* Radical content area styling */
body {
  background: #0a0a1a url('https://zoadra.com/cos/images/stars-bg.png') repeat;
  font-family: var(--font-family-sans);
}

#mw-content-container {
  background: transparent;
}

#mw-content {
  background-color: rgba(26, 26, 46, 0.9);
  color: var(--color-text);
  border-radius: var(--border-radius--large);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  padding: 2.5em;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2em auto;
}

/* Typography overhaul */
#mw-content h1, 
#mw-content h2, 
#mw-content h3, 
#mw-content h4, 
#mw-content h5, 
#mw-content h6 {
  font-family: var(--font-family-serif);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

#mw-content h1.firstHeading {
  font-size: 2.8rem;
  text-align: center;
  background: linear-gradient(90deg, #e94560, #4cc9f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 1.5em;
  position: relative;
}

#mw-content h1.firstHeading::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #e94560, #4cc9f0);
  border-radius: 3px;
}

#mw-content h2 {
  border-bottom: 1px solid rgba(233, 69, 96, 0.3);
  padding-bottom: 0.5em;
  margin-top: 1.5em;
}

/* Dramatic links */
#mw-content a {
  color: var(--color-link);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

#mw-content a:hover {
  color: var(--color-primary);
}

#mw-content a:not(.new):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

#mw-content a:not(.new):hover:after {
  width: 100%;
}

/* Buttons transformation */
.mw-ui-button {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-base) 100%);
  color: white;
  border-radius: var(--border-radius--medium);
  font-family: var(--font-family-sans);
  font-weight: 500;
  padding: 0.7em 1.5em;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mw-ui-button:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #f72585 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Table styling */
table.wikitable {
  border-radius: var(--border-radius--medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(15, 52, 96, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 1.5em 0;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
  background-color: rgba(233, 69, 96, 0.8);
  color: white;
  padding: 1em;
  font-family: var(--font-family-serif);
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
  padding: 0.8em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer transformation */
#mw-footer {
  background: linear-gradient(135deg, var(--color-base) 0%, var(--color-secondary) 100%);
  color: white;
  padding: 3em 0 1em;
  border-top: 4px solid var(--color-primary);
}

#mw-footer a {
  color: #4cc9f0;
  transition: all 0.3s ease;
}

#mw-footer a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Form elements */
input[type="text"], 
textarea, 
select {
  background-color: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  border-radius: var(--border-radius--small);
  padding: 0.8em;
  transition: all 0.3s ease;
}

input[type="text"]:focus, 
textarea:focus, 
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
  outline: none;
}

/* Special elements */
.catlinks {
  background-color: rgba(15, 52, 96, 0.5);
  border-radius: var(--border-radius--medium);
  padding: 1em;
  margin: 2em 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation effects */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#mw-content-text {
  animation: fadeIn 0.8s ease-out;
}

/* Add a cosmic theme for the Nine Astral Doors */
.mw-parser-output {
  position: relative;
}

.mw-parser-output::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://zoadra.com/cos/images/astral-glow.png') no-repeat;
  background-size: cover;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-base);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f72585;
}