MediaWiki:Timeless.css: Difference between revisions
From Helbreath Portal
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 58: | Line 58: | ||
box-shadow: 3px 0 16px rgba(0,0,0,.4); | box-shadow: 3px 0 16px rgba(0,0,0,.4); | ||
border-radius: 0 var(--radius) var(--radius) 0; | border-radius: 0 var(--radius) var(--radius) 0; | ||
} | |||
/* === LEWE MENU (SIDEBAR) DARK FANTASY === */ | |||
#mw-panel, #mw-panel .portal, #mw-panel .body, | |||
#mw-site-navigation, #mw-related-navigation { | |||
background-color: #141519 !important; /* ciemne tło */ | |||
background-image: none !important; | |||
border-right: 1px solid #2c2f34; | |||
padding: 6px 0; | |||
box-shadow: 3px 0 16px rgba(0, 0, 0, 0.4); | |||
} | |||
/* Nagłówki kategorii */ | |||
#mw-panel .portal h3, | |||
#mw-site-navigation .sidebar-heading, | |||
#mw-related-navigation .sidebar-heading { | |||
background: linear-gradient(90deg, #1b1c20, #22232a) !important; | |||
color: #d2a43d !important; /* złoty tekst */ | |||
font-weight: bold; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
padding: 8px 12px; | |||
margin: 6px 8px; | |||
border-left: 4px solid #1ec486; /* zielony pasek po lewej */ | |||
border-radius: 8px; | |||
box-shadow: inset 0 0 6px rgba(0,0,0,0.5); | |||
} | |||
/* Linki w lewym menu */ | |||
#mw-panel .portal .body li a, | |||
#mw-site-navigation a, | |||
#mw-related-navigation a { | |||
color: #cfcfcf !important; | |||
display: block; | |||
padding: 4px 10px; | |||
border-radius: 6px; | |||
transition: all 0.25s ease; | |||
font-weight: 500; | |||
} | |||
/* Hover linków w lewym menu */ | |||
#mw-panel .portal .body li a:hover, | |||
#mw-site-navigation a:hover, | |||
#mw-related-navigation a:hover { | |||
background: rgba(30,196,134,0.15) !important; | |||
color: #fff !important; | |||
transform: translateX(2px); | |||
} | |||
/* Ikony linków (opcjonalnie) */ | |||
#mw-panel .portal .body li a::before { | |||
content: "➤"; | |||
color: #1ec486; | |||
margin-right: 6px; | |||
font-size: 11px; | |||
} | } | ||
Revision as of 22:42, 20 August 2025
/* === DARK OLD-SCHOOL FANTASY 2D ===
Stylizacja MediaWiki — mocniejsza kolorystyka, złoto-zielone akcenty,
ikona lupy w search, wyróżnione kategorie w sidebarze.
================================================================ */
/* ZMIENNE KOLORYSTYKI */
:root {
--bg-0: #0d0e11; /* główne tło */
--bg-1: #141519; /* zawartość */
--bg-2: #1a1c20; /* panele */
--steel: #2e3137; /* linie, ramki */
--ink: #e8e8e8; /* tekst */
--muted: #b3b3b3; /* tekst wtórny */
--brass: #d2a43d; /* złoty akcent */
--emerald: #1ec486; /* zielony akcent */
--warn: #d46e63; /* brakujące strony */
--shadow-1: 0 3px 12px rgba(0, 0, 0, .6);
--radius: 12px;
--tr: 240ms cubic-bezier(.22,.61,.36,1);
}
/* GLOBALNE TŁO */
html, body, #mw-wrapper, #mw-content-container {
background: var(--bg-0) !important;
color: var(--ink) !important;
font-family: "Segoe UI", Tahoma, sans-serif;
}
/* HEADER */
#mw-header-container {
background: linear-gradient(180deg, #15161a 0%, #101114 100%) !important;
border-bottom: 1px solid var(--steel) !important;
box-shadow: var(--shadow-1) !important;
}
/* LINKI */
a { color: var(--emerald) !important; transition: color var(--tr), text-shadow var(--tr); }
a:visited { color: #6ce2ae !important; }
a.new { color: var(--warn) !important; }
a:hover { color: #fff !important; text-shadow: 0 0 8px var(--emerald); }
/* CENTRALNE LOGO */
#custom-top-logo {
display: block !important;
margin: 20px auto !important;
width: 450px !important;
height: 230px !important;
background-size: contain !important;
image-rendering: -webkit-optimize-contrast;
filter: drop-shadow(0 8px 22px rgba(0,0,0,.5));
}
/* SIDEBAR – CIEMNE TŁO */
#mw-site-navigation, #mw-related-navigation {
background: var(--bg-1) !important;
border-right: 1px solid var(--steel);
padding: 5px 0;
box-shadow: 3px 0 16px rgba(0,0,0,.4);
border-radius: 0 var(--radius) var(--radius) 0;
}
/* === LEWE MENU (SIDEBAR) DARK FANTASY === */
#mw-panel, #mw-panel .portal, #mw-panel .body,
#mw-site-navigation, #mw-related-navigation {
background-color: #141519 !important; /* ciemne tło */
background-image: none !important;
border-right: 1px solid #2c2f34;
padding: 6px 0;
box-shadow: 3px 0 16px rgba(0, 0, 0, 0.4);
}
/* Nagłówki kategorii */
#mw-panel .portal h3,
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
background: linear-gradient(90deg, #1b1c20, #22232a) !important;
color: #d2a43d !important; /* złoty tekst */
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 8px 12px;
margin: 6px 8px;
border-left: 4px solid #1ec486; /* zielony pasek po lewej */
border-radius: 8px;
box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
/* Linki w lewym menu */
#mw-panel .portal .body li a,
#mw-site-navigation a,
#mw-related-navigation a {
color: #cfcfcf !important;
display: block;
padding: 4px 10px;
border-radius: 6px;
transition: all 0.25s ease;
font-weight: 500;
}
/* Hover linków w lewym menu */
#mw-panel .portal .body li a:hover,
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
background: rgba(30,196,134,0.15) !important;
color: #fff !important;
transform: translateX(2px);
}
/* Ikony linków (opcjonalnie) */
#mw-panel .portal .body li a::before {
content: "➤";
color: #1ec486;
margin-right: 6px;
font-size: 11px;
}
/* SIDEBAR NAGŁÓWKI KATEGORII */
#mw-site-navigation .sidebar-heading, #mw-related-navigation .sidebar-heading {
background: linear-gradient(90deg, #1b1c20, #22232a) !important;
color: var(--brass) !important;
padding: 6px 10px;
margin: 6px 8px;
border-left: 4px solid var(--emerald);
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 8px;
box-shadow: inset 0 0 4px rgba(0,0,0,.5);
}
/* LINKI W SIDEBAR */
#mw-site-navigation a, #mw-related-navigation a {
color: #d3d3d3 !important;
display: block;
padding: 4px 8px;
border-radius: 6px;
transition: background var(--tr), color var(--tr), transform var(--tr);
}
#mw-site-navigation a:hover, #mw-related-navigation a:hover {
background: rgba(46, 199, 130, 0.15) !important;
color: #fff !important;
transform: translateX(2px);
}
/* CONTENT */
#mw-content {
background: var(--bg-1) !important;
border: 1px solid var(--steel);
border-radius: 14px;
padding: 2em;
box-shadow: var(--shadow-1);
}
/* SEARCH BOX + IKONA LUPY */
#simpleSearch {
position: relative;
background: var(--bg-2) !important;
border: 1px solid var(--steel) !important;
border-radius: 8px;
padding-left: 32px;
box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
}
#simpleSearch::before {
content: "🔍";
position: absolute;
left: 8px;
top: 50%;
transform: translateY(-50%);
font-size: 16px;
color: var(--muted);
}
#simpleSearch input {
background: transparent !important;
color: var(--ink) !important;
border: none !important;
padding: 6px;
width: 100%;
font-size: 14px;
}
/* BUTTONY */
button, input[type="submit"], .mw-ui-button {
background: linear-gradient(180deg, var(--brass), #a9842f) !important;
color: #111 !important;
font-weight: bold;
border-radius: 8px;
padding: 6px 14px;
border: none;
cursor: pointer;
box-shadow: 0 3px 10px rgba(0,0,0,.4);
transition: transform var(--tr), box-shadow var(--tr);
}
button:hover, input[type="submit"]:hover, .mw-ui-button:hover {
transform: translateY(-1px);
box-shadow: 0 5px 14px rgba(0,0,0,.5);
}
button:active, input[type="submit"]:active, .mw-ui-button:active {
transform: translateY(1px);
box-shadow: inset 0 2px 6px rgba(0,0,0,.5);
}
/* TABELKI */
table {
background: var(--bg-1) !important;
border: 1px solid var(--steel);
border-radius: 8px;
overflow: hidden;
color: var(--ink) !important;
}
th, td {
background: #1f2125 !important;
border: 1px solid var(--steel);
padding: 8px 10px;
}
th {
background: #23262b !important;
color: var(--brass) !important;
}
tbody tr:hover td {
background: rgba(46,199,130,0.1) !important;
transition: background var(--tr);
}
/* NAGŁÓWEK STRONY */
#mw-firstheading,
#mw-content-container .firstHeading,
#mw-content-container .mw-first-heading {
border-bottom: 3px solid var(--emerald) !important;
padding-bottom: 6px;
box-shadow: 0 4px 12px rgba(30,196,134,.4);
}