MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 95: | Line 95: | ||
/* ========================================================= | /* ========================================================= | ||
Colors: outer bg #2f2f2f, outer border #444, inner #6a6a6a, caption #c0c0c0 | Colors: outer bg #2f2f2f, outer border #444, inner #6a6a6a, caption #c0c0c0 | ||
========================================================= */ | ========================================================= */ | ||
| Line 331: | Line 324: | ||
/* | /* Deus Ex inspired header styling with blue/cyan accents */ | ||
.mw-parser-output h2 { | .mw-parser-output h2 { | ||
position: relative; | position: relative; | ||
background: none; | background: none; | ||
color: # | color: #87ceeb; | ||
padding: | padding: 12px 20px 12px 15px; | ||
margin: | margin: 30px 0 20px 0; | ||
border: none; | border: none; | ||
font-weight: | font-weight: 400; | ||
font-size: 1. | font-size: 1.3em; | ||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
font-family: 'Arial', sans-serif; | |||
} | } | ||
/* | /* Main backdrop - angular Deus Ex style */ | ||
.mw-parser-output h2::before { | .mw-parser-output h2::before { | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
left: | left: 0; | ||
right: | right: 0; | ||
top: | top: 0; | ||
bottom: | bottom: 0; | ||
background: | background: | ||
linear-gradient( | linear-gradient(135deg, | ||
rgba(0, 0, 0, 0.7) 0%, | |||
border-left: | rgba(30, 40, 50, 0.8) 30%, | ||
rgba(40, 55, 70, 0.6) 70%, | |||
rgba(0, 0, 0, 0.7) 100% | |||
); | |||
border: 1px solid #4a9eff; | |||
border-left: 3px solid #87ceeb; | |||
z-index: -1; | z-index: -1; | ||
/* Angular corners like Deus Ex */ | |||
clip-path: polygon( | |||
0 0, | |||
calc(100% - 10px) 0, | |||
100% 10px, | |||
100% 100%, | |||
10px 100%, | |||
0 calc(100% - 10px) | |||
); | |||
} | } | ||
/* | /* Subtle inner glow */ | ||
.mw-parser-output h2::after { | .mw-parser-output h2::after { | ||
content: ''; | content: ''; | ||
position: absolute; | position: absolute; | ||
left: | left: 3px; | ||
right: | right: 1px; | ||
top: | top: 1px; | ||
bottom: 1px; | |||
background: linear-gradient(90deg, transparent, | background: linear-gradient(90deg, | ||
transparent 0%, | |||
rgba(135, 206, 235, 0.1) 20%, | |||
rgba(135, 206, 235, 0.05) 80%, | |||
transparent 100% | |||
); | |||
z-index: -1; | |||
clip-path: polygon( | |||
0 0, | |||
calc(100% - 9px) 0, | |||
100% 9px, | |||
100% 100%, | |||
9px 100%, | |||
0 calc(100% - 9px) | |||
); | |||
} | } | ||
/* Hover effect */ | |||
.mw-parser-output h2:hover::before { | |||
border-color: #87ceeb; | |||
box-shadow: | |||
0 0 20px rgba(135, 206, 235, 0.3), | |||
inset 0 0 20px rgba(135, 206, 235, 0.1); | |||
} | } | ||
.mw-parser-output h2:hover { | |||
.mw-parser-output h2 | color: #fff; | ||
text-shadow: 0 0 8px rgba(135, 206, 235, 0.8); | |||
color: # | |||
text-shadow: 0 0 | |||
} | } | ||
.mw-parser-output h2. | /* Rules section - red accent */ | ||
background: | .mw-parser-output h2[id*="Rules"]::before, | ||
.mw-parser-output h2[id*="rules"]::before { | |||
border-color: #ff6b6b; | |||
border-left-color: #ff5252; | |||
background: linear-gradient(135deg, | |||
rgba(0, 0, 0, 0.7) 0%, | |||
rgba(50, 20, 30, 0.8) 30%, | |||
rgba(70, 30, 45, 0.6) 70%, | |||
rgba(0, 0, 0, 0.7) 100% | |||
); | |||
} | } | ||
.mw-parser-output h2[id*="Rules"], | |||
.mw-parser-output h2 | .mw-parser-output h2[id*="rules"] { | ||
color: # | color: #ff6b6b; | ||
} | } | ||
.mw-parser-output h2. | /* Gamemodes section - keep blue but brighter */ | ||
background: | .mw-parser-output h2[id*="Gamemode"]::before, | ||
.mw-parser-output h2[id*="gamemode"]::before { | |||
border-color: #00d4ff; | |||
border-left-color: #40e0d0; | |||
background: linear-gradient(135deg, | |||
rgba(0, 0, 0, 0.7) 0%, | |||
rgba(20, 35, 50, 0.8) 30%, | |||
rgba(30, 50, 70, 0.6) 70%, | |||
rgba(0, 0, 0, 0.7) 100% | |||
); | |||
} | } | ||
.mw-parser-output h2[id*="Gamemode"], | |||
.mw-parser-output h2 | .mw-parser-output h2[id*="gamemode"] { | ||
color: #00d4ff; | |||
.mw-parser-output h2 | |||
} | } | ||
/* Edit section styling */ | |||
/* Edit | |||
.mw-parser-output h2 .mw-editsection { | .mw-parser-output h2 .mw-editsection { | ||
float: right; | float: right; | ||
margin-left: | margin-left: 15px; | ||
margin-top: -2px; | |||
} | } | ||
.mw-parser-output h2 .mw-editsection a { | .mw-parser-output h2 .mw-editsection a { | ||
color: rgba( | color: rgba(135, 206, 235, 0.7); | ||
text-decoration: none; | text-decoration: none; | ||
font-size: 0.7em; | font-size: 0.7em; | ||
padding: | padding: 3px 8px; | ||
border: 1px solid rgba( | border: 1px solid rgba(135, 206, 235, 0.5); | ||
background: rgba(0, 0, 0, 0.5); | |||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
text-transform: none; | |||
letter-spacing: normal; | |||
} | } | ||
.mw-parser-output h2 .mw-editsection a:hover { | .mw-parser-output h2 .mw-editsection a:hover { | ||
color: # | color: #87ceeb; | ||
border-color: # | border-color: #87ceeb; | ||
background: rgba(135, 206, 235, 0.1); | |||
box-shadow: 0 0 5px rgba(135, 206, 235, 0.3); | |||
} | } | ||
/* | /* Subsection headers (h3) - smaller angular boxes */ | ||
.mw-parser-output h3 { | .mw-parser-output h3 { | ||
position: relative; | |||
background: none; | background: none; | ||
color: #4a9eff; | |||
padding: 8px 15px; | |||
margin: 20px 0 15px 0; | |||
font-weight: 400; | |||
font-size: 1.1em; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
} | |||
.mw-parser-output h3::before { | |||
content: ''; | |||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
top: 0; | |||
bottom: 0; | |||
background: linear-gradient(135deg, | |||
rgba(0, 0, 0, 0.6) 0%, | |||
rgba(20, 30, 40, 0.7) 50%, | |||
rgba(0, 0, 0, 0.6) 100% | |||
); | |||
border: 1px solid rgba(74, 158, 255, 0.6); | |||
border-left: 2px solid #4a9eff; | |||
z-index: -1; | |||
clip-path: polygon( | |||
0 0, | |||
calc(100% - 6px) 0, | |||
100% 6px, | |||
100% 100%, | |||
6px 100%, | |||
0 calc(100% - 6px) | |||
); | |||
} | |||
/* Additional tech elements */ | |||
.mw-parser-output h2 .tech-corner { | |||
position: absolute; | |||
top: 2px; | |||
right: 2px; | |||
width: 0; | |||
height: 0; | |||
border-left: 8px solid transparent; | |||
border-bottom: 8px solid rgba(135, 206, 235, 0.3); | |||
} | } | ||
/* | /* Subtle animation on page load */ | ||
@keyframes slideIn { | |||
from { | |||
transform: translateX(-20px); | |||
opacity: 0; | |||
} | |||
to { | |||
transform: translateX(0); | |||
opacity: 1; | |||
} | |||
} | } | ||
.mw-parser-output h2 | .mw-parser-output h2 { | ||
animation: slideIn 0.6s ease-out; | |||
} | } | ||
Revision as of 16:53, 18 September 2025
div.vectorTabs ul li#ca-history {
display: none;
}
.vector-menu-tabs-legacy li {
background-color: transparent !important;
color: #72777d;
cursor: pointer;
}
.new.mw-list-item {
background-color: transparent !important;
}
.new.mw-list-item a {
background-color: transparent !important;
color: #72777d;
cursor: pointer;
font-size: 0.8em;
}
.ca-talk {
background-color: transparent !important;
color: #72777d;
cursor: pointer;
font-size: 0.8em;
}
.vector-menu-portal .vector-menu-content li a,
.vector-menu-portal .vector-menu-content li a:visited {
color: #72777d;
}
/* Additional rules to ensure transparency */
.vector-menu-tabs,
.vector-menu-tabs ul,
.vector-menu-tabs li,
.vector-menu-tabs a,
.vector-menu-tabs-legacy,
.vector-menu-tabs-legacy ul,
.vector-menu-tabs-legacy li,
.vector-menu-tabs-legacy a,
#p-namespaces,
#p-namespaces li,
#p-namespaces a,
#ca-nstab-main,
#ca-talk,
.vector-tab-noicon,
.mw-list-item-js {
background-color: transparent !important;
background: transparent !important;
background-image: none !important;
}
.vector-menu-portal,
#mw-panel,
.vector-menu-portal .vector-menu-content {
background-color: #202020 !important;
}
.vector-menu-portal .vector-menu-heading {
color: #cccccc; /* Light gray for headers */
}
/* For the links */
.vector-menu-portal .vector-menu-content a {
color: #3366bb; /* Blue color for links */
}
/* Remove any borders that might be present */
.vector-menu-portal {
border: none !important;
}
body {
background-image: url('https://i.imgur.com/9GQ16Re.png') !important;
background-color: rgba(0, 0, 0, 0.6) !important; /* Semi-transparent black */
background-blend-mode: overlay !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-attachment: fixed !important;
background-size: cover !important;
}
#ca-view a, #ca-edit a, #ca-history a {
color: inherit !important;
background-color: transparent !important;
}
/* =========================================================
Colors: outer bg #2f2f2f, outer border #444, inner #6a6a6a, caption #c0c0c0
========================================================= */
/* ---------- PARSOID / VE (figure markup) ---------- */
/* (A) Outer frame on figure containers - FORCE proper wrapping */
.mw-parser-output figure[typeof*="mw:File/Thumb"],
.mw-parser-output figure[typeof*="mw:Image/Thumb"],
.mw-parser-output figure[typeof*="mw:File/Frame"],
.mw-parser-output figure[typeof*="mw:Image/Frame"] {
background-color: #2f2f2f !important;
border: 1px solid #444 !important;
padding: 3px !important;
box-shadow: none !important;
display: block !important;
overflow: hidden !important; /* Force container to wrap content */
width: auto !important; /* Let it size to content */
box-sizing: border-box !important;
}
/* (B) Remove border from link wrapper in figures */
.mw-parser-output figure[typeof*="mw:"] > a.mw-file-description,
.mw-parser-output figure[typeof*="mw:"] > span:first-child > a.mw-file-description {
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
}
/* (C) Thin inner line on images in figures */
.mw-parser-output figure[typeof*="mw:"] img.mw-file-element {
border: 1px solid #6a6a6a !important;
background: transparent !important;
box-shadow: none !important;
}
/* ---------- LEGACY / CLASSIC (div.thumb markup) ---------- */
/* (D) Outer frame on div.thumb containers - FORCE proper wrapping */
.mw-parser-output div.thumb,
.mw-parser-output .thumb {
background-color: #2f2f2f !important;
border: 1px solid #444 !important;
padding: 3px !important;
box-shadow: none !important;
display: block !important;
overflow: hidden !important; /* Force container to wrap content */
width: auto !important; /* Let it size to content */
box-sizing: border-box !important;
}
/* (E) Remove border from thumbinner */
.mw-parser-output .thumbinner {
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
}
/* (F) Thin inner line on images in div.thumb */
.mw-parser-output .thumbimage {
border: 1px solid #6a6a6a !important;
background: transparent !important;
box-shadow: none !important;
}
/* ---------- CAPTION STYLING (both types) ---------- */
.mw-parser-output figure figcaption {
background-color: #2f2f2f !important;
color: #c0c0c0 !important;
border: 0 !important;
padding: 4px 2px 2px 2px !important;
margin: 0 !important;
width: 100% !important;
box-sizing: border-box !important;
display: block !important;
}
/* (H) Dark caption styling for div.thumb - prevent overflow */
.mw-parser-output .thumbcaption {
background-color: #2f2f2f !important;
color: #c0c0c0 !important;
border: 0 !important;
padding: 4px 2px 2px 2px !important;
margin: 0 !important;
width: 100% !important;
box-sizing: border-box !important;
display: block !important;
}
/* ---------- HIDE CAPTION ICONS ---------- */
.mw-parser-output .magnify,
.mw-parser-output .metadata,
.mw-parser-output .magnify a,
.mw-parser-output .magnify img,
.mw-parser-output .thumbcaption .magnify,
.mw-parser-output figcaption .magnify,
.mw-parser-output .mw-file-description + .magnify,
.mw-parser-output .thumbinner .magnify,
.mw-parser-output [class*="magnify"],
.mw-parser-output .thumb .internal,
.mw-parser-output .thumbcaption .internal,
.mw-parser-output .enlarge,
.mw-parser-output .mw-file-info {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
}
/* (J) Hide pseudo-element icons on file description links */
.mw-parser-output a.mw-file-description::after,
.mw-parser-output a.mw-file-description::before,
.mw-parser-output .mw-file-description::after,
.mw-parser-output .mw-file-description::before {
display: none !important;
content: none !important;
visibility: hidden !important;
}
/* ============================================================ */
/* Sidebar (left) navigation link colors — Vector (new) + Vector legacy */
/* normal state */
#mw-panel .vector-menu-portal .vector-menu-content .vector-menu-content-list > li > a,
.skin-vector-legacy #mw-panel .portal .body li a {
color: #8BB9E0 !important; /* light blue */
background: transparent !important;
text-decoration: none !important;
}
/* visited */
#mw-panel .vector-menu-portal .vector-menu-content .vector-menu-content-list > li > a:visited,
.skin-vector-legacy #mw-panel .portal .body li a:visited {
color: #74A8D4 !important; /* keep blue, not purple */
}
/* hover & focus */
#mw-panel .vector-menu-portal .vector-menu-content .vector-menu-content-list > li > a:hover,
#mw-panel .vector-menu-portal .vector-menu-content .vector-menu-content-list > li > a:focus,
.skin-vector-legacy #mw-panel .portal .body li a:hover,
.skin-vector-legacy #mw-panel .portal .body li a:focus {
color: #BFD9F2 !important; /* brighter on hover */
text-decoration: underline !important;
}
/* active (mouse down) */
#mw-panel .vector-menu-portal .vector-menu-content .vector-menu-content-list > li > a:active,
.skin-vector-legacy #mw-panel .portal .body li a:active {
color: #E6F2FF !important;
}
.mw-body, .mw-body-content, .mw-parser-output {
font-size: 16px !important; /* was ~14–15px */
line-height: 1.6 !important;
}
/* Sidebar / left nav */
#mw-panel,
#mw-panel .vector-menu-portal .vector-menu-content {
font-size: 15px !important;
line-height: 1.5 !important;
}
/* TOC, captions, small UI text */
.toc, .thumbcaption, .catlinks,
.mw-ui-message, .mw-message-box {
font-size: 15px !important;
line-height: 1.5 !important;
}
/* Code blocks / preformatted */
pre, code, kbd, samp, .mw-code {
font-size: 15px !important;
line-height: 1.5 !important;
}
/* Tabs (Read / View source / History) & top menus */
#mw-head .vectorTabs li a,
.vector-menu-tabs a,
.vector-menu-tabs-legacy a {
font-size: 15px !important;
}
/* Make sure headings scale nicely (relative to new base) */
.mw-body h1 { font-size: 2.0em !important; }
.mw-body h2 { font-size: 1.6em !important; }
.mw-body h3 { font-size: 1.35em !important; }
.mw-body h4 { font-size: 1.15em !important; }
/* Optional: slightly smaller on narrow screens */
@media (max-width: 768px) {
.mw-body, .mw-body-content, .mw-parser-output { font-size: 16px !important; }
}
/* Deus Ex inspired header styling with blue/cyan accents */
.mw-parser-output h2 {
position: relative;
background: none;
color: #87ceeb;
padding: 12px 20px 12px 15px;
margin: 30px 0 20px 0;
border: none;
font-weight: 400;
font-size: 1.3em;
text-transform: uppercase;
letter-spacing: 1px;
font-family: 'Arial', sans-serif;
}
/* Main backdrop - angular Deus Ex style */
.mw-parser-output h2::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background:
linear-gradient(135deg,
rgba(0, 0, 0, 0.7) 0%,
rgba(30, 40, 50, 0.8) 30%,
rgba(40, 55, 70, 0.6) 70%,
rgba(0, 0, 0, 0.7) 100%
);
border: 1px solid #4a9eff;
border-left: 3px solid #87ceeb;
z-index: -1;
/* Angular corners like Deus Ex */
clip-path: polygon(
0 0,
calc(100% - 10px) 0,
100% 10px,
100% 100%,
10px 100%,
0 calc(100% - 10px)
);
}
/* Subtle inner glow */
.mw-parser-output h2::after {
content: '';
position: absolute;
left: 3px;
right: 1px;
top: 1px;
bottom: 1px;
background: linear-gradient(90deg,
transparent 0%,
rgba(135, 206, 235, 0.1) 20%,
rgba(135, 206, 235, 0.05) 80%,
transparent 100%
);
z-index: -1;
clip-path: polygon(
0 0,
calc(100% - 9px) 0,
100% 9px,
100% 100%,
9px 100%,
0 calc(100% - 9px)
);
}
/* Hover effect */
.mw-parser-output h2:hover::before {
border-color: #87ceeb;
box-shadow:
0 0 20px rgba(135, 206, 235, 0.3),
inset 0 0 20px rgba(135, 206, 235, 0.1);
}
.mw-parser-output h2:hover {
color: #fff;
text-shadow: 0 0 8px rgba(135, 206, 235, 0.8);
}
/* Rules section - red accent */
.mw-parser-output h2[id*="Rules"]::before,
.mw-parser-output h2[id*="rules"]::before {
border-color: #ff6b6b;
border-left-color: #ff5252;
background: linear-gradient(135deg,
rgba(0, 0, 0, 0.7) 0%,
rgba(50, 20, 30, 0.8) 30%,
rgba(70, 30, 45, 0.6) 70%,
rgba(0, 0, 0, 0.7) 100%
);
}
.mw-parser-output h2[id*="Rules"],
.mw-parser-output h2[id*="rules"] {
color: #ff6b6b;
}
/* Gamemodes section - keep blue but brighter */
.mw-parser-output h2[id*="Gamemode"]::before,
.mw-parser-output h2[id*="gamemode"]::before {
border-color: #00d4ff;
border-left-color: #40e0d0;
background: linear-gradient(135deg,
rgba(0, 0, 0, 0.7) 0%,
rgba(20, 35, 50, 0.8) 30%,
rgba(30, 50, 70, 0.6) 70%,
rgba(0, 0, 0, 0.7) 100%
);
}
.mw-parser-output h2[id*="Gamemode"],
.mw-parser-output h2[id*="gamemode"] {
color: #00d4ff;
}
/* Edit section styling */
.mw-parser-output h2 .mw-editsection {
float: right;
margin-left: 15px;
margin-top: -2px;
}
.mw-parser-output h2 .mw-editsection a {
color: rgba(135, 206, 235, 0.7);
text-decoration: none;
font-size: 0.7em;
padding: 3px 8px;
border: 1px solid rgba(135, 206, 235, 0.5);
background: rgba(0, 0, 0, 0.5);
transition: all 0.3s ease;
text-transform: none;
letter-spacing: normal;
}
.mw-parser-output h2 .mw-editsection a:hover {
color: #87ceeb;
border-color: #87ceeb;
background: rgba(135, 206, 235, 0.1);
box-shadow: 0 0 5px rgba(135, 206, 235, 0.3);
}
/* Subsection headers (h3) - smaller angular boxes */
.mw-parser-output h3 {
position: relative;
background: none;
color: #4a9eff;
padding: 8px 15px;
margin: 20px 0 15px 0;
font-weight: 400;
font-size: 1.1em;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.mw-parser-output h3::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: linear-gradient(135deg,
rgba(0, 0, 0, 0.6) 0%,
rgba(20, 30, 40, 0.7) 50%,
rgba(0, 0, 0, 0.6) 100%
);
border: 1px solid rgba(74, 158, 255, 0.6);
border-left: 2px solid #4a9eff;
z-index: -1;
clip-path: polygon(
0 0,
calc(100% - 6px) 0,
100% 6px,
100% 100%,
6px 100%,
0 calc(100% - 6px)
);
}
/* Additional tech elements */
.mw-parser-output h2 .tech-corner {
position: absolute;
top: 2px;
right: 2px;
width: 0;
height: 0;
border-left: 8px solid transparent;
border-bottom: 8px solid rgba(135, 206, 235, 0.3);
}
/* Subtle animation on page load */
@keyframes slideIn {
from {
transform: translateX(-20px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
.mw-parser-output h2 {
animation: slideIn 0.6s ease-out;
}