MediaWiki:Timeless.css: Difference between revisions
From The Nine Astral Doors Wiki
Created page with "→All CSS here will be loaded for users of the Timeless skin: →Custom Timeless skin CSS to match modern website design: :root { --color-base: #2c3e50; →Primary color - dark blue: --color-base--hover: #34495e; →Slightly lighter on hover: --color-primary: #e74c3c; →Secondary color - red accent: --color-secondary: #3498db; →Accent color - blue: --color-text: #333; →Main text color: --color-text--subtle..." |
made it more radical of a change |
||
Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Timeless skin */ | /* All CSS here will be loaded for users of the Timeless skin */ | ||
/* Radical Timeless skin customization for Nine Astral Doors Wiki */ | |||
/* | |||
:root { | :root { | ||
--color-base: # | --color-base: #1a1a2e; /* Deep midnight blue */ | ||
--color-base--hover: # | --color-base--hover: #16213e; /* Even darker on hover */ | ||
--color-primary: # | --color-primary: #e94560; /* Vibrant pink-red */ | ||
--color-secondary: # | --color-secondary: #0f3460; /* Deep blue */ | ||
--color-text: # | --color-text: #e6e6e6; /* Light text for dark backgrounds */ | ||
--color-text--subtle: # | --color-text--subtle: #aaa; /* Subtle text color */ | ||
--color-link: # | --color-link: #4cc9f0; /* Bright cyan links */ | ||
--color-link--visited: # | --color-link--visited: #b5179e; /* Magenta for visited links */ | ||
--color-link--active: # | --color-link--active: #f72585; /* Hot pink for active links */ | ||
--font-family-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | --font-family-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | ||
--font-family-serif: 'Playfair Display', serif; | --font-family-serif: 'Playfair Display', serif; | ||
--border-radius--small: 4px; | --border-radius--small: 6px; | ||
--border-radius--medium: | --border-radius--medium: 12px; | ||
--border-radius--large: 20px; | |||
} | |||
/* 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); | font-family: var(--font-family-sans); | ||
} | } | ||
#mw-content-container { | #mw-content-container { | ||
background | background: transparent; | ||
} | } | ||
#mw-content { | #mw-content { | ||
background-color: | background-color: rgba(26, 26, 46, 0.9); | ||
border-radius: var(--border-radius-- | color: var(--color-text); | ||
box-shadow: 0 | border-radius: var(--border-radius--large); | ||
padding: 2em; | 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 */ | /* Typography overhaul */ | ||
#mw-content h1, | #mw-content h1, | ||
#mw-content h2, | #mw-content h2, | ||
Line 48: | Line 110: | ||
font-family: var(--font-family-serif); | font-family: var(--font-family-serif); | ||
font-weight: 600; | font-weight: 600; | ||
color: var(--color- | color: var(--color-primary); | ||
letter-spacing: 0.5px; | |||
} | } | ||
#mw-content h1.firstHeading { | #mw-content h1.firstHeading { | ||
font-size: 2. | 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 { | #mw-content h2 { | ||
border-bottom: 1px solid | border-bottom: 1px solid rgba(233, 69, 96, 0.3); | ||
padding-bottom: 0. | padding-bottom: 0.5em; | ||
margin-top: 1.5em; | |||
} | } | ||
/* | /* Dramatic links */ | ||
#mw-content a { | #mw-content a { | ||
color: var(--color-link); | color: var(--color-link); | ||
transition: | text-decoration: none; | ||
transition: all 0.3s ease; | |||
position: relative; | |||
} | } | ||
#mw-content a:hover { | #mw-content a:hover { | ||
color: var(--color-primary); | color: var(--color-primary); | ||
} | } | ||
/* Buttons */ | #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 { | .mw-ui-button { | ||
background-color | background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-base) 100%); | ||
color: white; | color: white; | ||
border-radius: var(--border-radius-- | border-radius: var(--border-radius--medium); | ||
font-family: var(--font-family-sans); | font-family: var(--font-family-sans); | ||
transition: | 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 { | .mw-ui-button:hover { | ||
background- | 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 styling */ | ||
table.wikitable { | table.wikitable { | ||
border-radius: var(--border-radius-- | border-radius: var(--border-radius--medium); | ||
border: 1px solid | 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, | ||
table.wikitable > * > tr > th { | table.wikitable > * > tr > th { | ||
background-color: | background-color: rgba(233, 69, 96, 0.8); | ||
color: white; | color: white; | ||
padding: 1em; | |||
font-family: var(--font-family-serif); | |||
} | } | ||
/* Footer */ | table.wikitable > tr > td, | ||
table.wikitable > * > tr > td { | |||
padding: 0.8em; | |||
border: 1px solid rgba(255, 255, 255, 0.1); | |||
} | |||
/* Footer transformation */ | |||
#mw-footer { | #mw-footer { | ||
background-color | background: linear-gradient(135deg, var(--color-base) 0%, var(--color-secondary) 100%); | ||
color: white; | color: white; | ||
padding: | padding: 3em 0 1em; | ||
border-top: 4px solid var(--color-primary); | |||
} | } | ||
#mw-footer a { | #mw-footer a { | ||
color: | color: #4cc9f0; | ||
transition: all 0.3s ease; | |||
transition: | |||
} | } | ||
#mw-footer a:hover { | #mw-footer a:hover { | ||
color: var(--color-primary); | color: var(--color-primary); | ||
text-decoration: none; | 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; | |||
} | } |
Revision as of 02:25, 19 May 2025
/* All CSS here will be loaded for users of the Timeless skin */ /* 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 */ --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; } /* 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; }