MediaWiki:Timeless.css: Difference between revisions
From Helbreath Portal
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* === DARK OLD-SCHOOL FANTASY 2D === | /* === DARK OLD-SCHOOL FANTASY 2D GOLD === | ||
MediaWiki stylizacja — ciemny klimat, złote akcenty, zero jasnych barw. | |||
======================================================================= */ | |||
================================================================ */ | |||
/* ZMIENNE KOLORYSTYKI */ | /* ZMIENNE KOLORYSTYKI */ | ||
:root { | :root { | ||
--bg-0: # | --bg-0: #0a0b0d; /* główne tło */ | ||
--bg-1: # | --bg-1: #121316; /* zawartość */ | ||
--bg-2: # | --bg-2: #1a1b1e; /* panele */ | ||
--steel: # | --steel: #2b2d30; /* linie, ramki */ | ||
--ink: # | --ink: #d8d8d8; /* tekst główny */ | ||
--muted: # | --muted: #999999; /* tekst drugorzędny */ | ||
--brass: # | --brass: #c99a2d; /* złoty akcent */ | ||
-- | --brass-dark: #9b7920; /* ciemniejsze złoto */ | ||
--warn: # | --warn: #b84c3a; /* linki do brakujących stron */ | ||
--shadow-1: 0 3px | --shadow-1: 0 3px 14px rgba(0, 0, 0, .7); | ||
--radius: 12px; | --radius: 12px; | ||
--tr: 240ms cubic-bezier(.22,.61,.36,1); | --tr: 240ms cubic-bezier(.22,.61,.36,1); | ||
| Line 29: | Line 28: | ||
/* HEADER */ | /* HEADER */ | ||
#mw-header-container { | #mw-header-container { | ||
background: linear-gradient(180deg, # | background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important; | ||
border-bottom: 1px solid var(--steel) !important; | border-bottom: 1px solid var(--steel) !important; | ||
box-shadow: var(--shadow-1) !important; | box-shadow: var(--shadow-1) !important; | ||
| Line 35: | Line 34: | ||
/* LINKI */ | /* LINKI */ | ||
a { color: var(-- | a { | ||
a:visited { color: # | color: var(--brass) !important; | ||
transition: color var(--tr), text-shadow var(--tr); | |||
font-weight: 500; | |||
} | |||
a:visited { color: #b68925 !important; } | |||
a.new { color: var(--warn) !important; } | a.new { color: var(--warn) !important; } | ||
a:hover { color: #fff !important; text-shadow: 0 0 8px | a:hover { | ||
color: #fff !important; | |||
text-shadow: 0 0 8px rgba(201,154,45,.6); | |||
} | |||
/* CENTRALNE LOGO */ | /* CENTRALNE LOGO */ | ||
| Line 52: | Line 58: | ||
/* SIDEBAR – CIEMNE TŁO */ | /* SIDEBAR – CIEMNE TŁO */ | ||
#mw-site-navigation, #mw-related-navigation { | #mw-site-navigation, #mw-related-navigation, #mw-panel { | ||
background: var(--bg-1) !important; | background: var(--bg-1) !important; | ||
border-right: 1px solid var(--steel); | border-right: 1px solid var(--steel); | ||
padding: 5px 0; | padding: 5px 0; | ||
box-shadow: 3px 0 16px rgba(0,0,0,. | box-shadow: 3px 0 16px rgba(0,0,0,.5); | ||
border-radius: 0 var(--radius) var(--radius) 0; | border-radius: 0 var(--radius) var(--radius) 0; | ||
} | } | ||
/* | /* SIDEBAR NAGŁÓWKI KATEGORII */ | ||
#mw-site-navigation .sidebar-heading, | #mw-site-navigation .sidebar-heading, | ||
#mw-related-navigation .sidebar-heading | #mw-related-navigation .sidebar-heading, | ||
#mw-panel .portal h3 { | |||
background: linear-gradient(90deg, #1a1b1e, #24252a) !important; | |||
#mw-panel .portal | |||
background: linear-gradient(90deg, # | |||
color: var(--brass) !important; | color: var(--brass) !important; | ||
padding: 6px 10px; | padding: 6px 10px; | ||
margin: 6px 8px; | margin: 6px 8px; | ||
border-left: 4px solid var(-- | border-left: 4px solid var(--brass-dark); | ||
font-weight: bold; | font-weight: bold; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: inset 0 0 | box-shadow: inset 0 0 6px rgba(0,0,0,0.6); | ||
} | } | ||
/* LINKI W SIDEBAR */ | /* LINKI W SIDEBAR */ | ||
#mw-site-navigation a, #mw-related-navigation a { | #mw-site-navigation a, | ||
color: # | #mw-related-navigation a, | ||
#mw-panel .portal .body li a { | |||
color: #c8c8c8 !important; | |||
display: block; | display: block; | ||
padding: 4px 8px; | padding: 4px 8px; | ||
| Line 136: | Line 92: | ||
transition: background var(--tr), color var(--tr), transform var(--tr); | transition: background var(--tr), color var(--tr), transform var(--tr); | ||
} | } | ||
#mw-site-navigation a:hover, #mw-related-navigation a:hover { | #mw-site-navigation a:hover, | ||
background: rgba( | #mw-related-navigation a:hover, | ||
#mw-panel .portal .body li a:hover { | |||
background: rgba(201,154,45,0.15) !important; | |||
color: #fff !important; | color: #fff !important; | ||
transform: translateX(2px); | transform: translateX(2px); | ||
| Line 167: | Line 125: | ||
transform: translateY(-50%); | transform: translateY(-50%); | ||
font-size: 16px; | font-size: 16px; | ||
color: var(-- | color: var(--brass-dark); | ||
} | } | ||
#simpleSearch input { | #simpleSearch input { | ||
| Line 180: | Line 138: | ||
/* BUTTONY */ | /* BUTTONY */ | ||
button, input[type="submit"], .mw-ui-button { | button, input[type="submit"], .mw-ui-button { | ||
background: linear-gradient(180deg, var(--brass), | background: linear-gradient(180deg, var(--brass), var(--brass-dark)) !important; | ||
color: #111 !important; | color: #111 !important; | ||
font-weight: bold; | font-weight: bold; | ||
| Line 187: | Line 145: | ||
border: none; | border: none; | ||
cursor: pointer; | cursor: pointer; | ||
box-shadow: 0 3px 10px rgba(0,0,0,. | box-shadow: 0 3px 10px rgba(0,0,0,.5); | ||
transition: transform var(--tr), box-shadow var(--tr); | transition: transform var(--tr), box-shadow var(--tr); | ||
} | } | ||
button:hover, input[type="submit"]:hover, .mw-ui-button:hover { | button:hover, input[type="submit"]:hover, .mw-ui-button:hover { | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
box-shadow: 0 5px 14px rgba(0,0,0,. | box-shadow: 0 5px 14px rgba(0,0,0,.6); | ||
} | } | ||
button:active, input[type="submit"]:active, .mw-ui-button:active { | button:active, input[type="submit"]:active, .mw-ui-button:active { | ||
| Line 208: | Line 166: | ||
} | } | ||
th, td { | th, td { | ||
background: # | background: #17181a !important; | ||
border: 1px solid var(--steel); | border: 1px solid var(--steel); | ||
padding: 8px 10px; | padding: 8px 10px; | ||
} | } | ||
th { | th { | ||
background: # | background: #202124 !important; | ||
color: var(--brass) !important; | color: var(--brass) !important; | ||
} | } | ||
tbody tr:hover td { | tbody tr:hover td { | ||
background: rgba( | background: rgba(201,154,45,0.08) !important; | ||
transition: background var(--tr); | transition: background var(--tr); | ||
} | } | ||
| Line 225: | Line 183: | ||
#mw-content-container .firstHeading, | #mw-content-container .firstHeading, | ||
#mw-content-container .mw-first-heading { | #mw-content-container .mw-first-heading { | ||
border-bottom: 3px solid var(-- | border-bottom: 3px solid var(--brass) !important; | ||
padding-bottom: 6px; | padding-bottom: 6px; | ||
box-shadow: 0 4px 12px rgba( | box-shadow: 0 4px 12px rgba(201,154,45,.4); | ||
} | } | ||
Revision as of 22:43, 20 August 2025
/* === DARK OLD-SCHOOL FANTASY 2D GOLD ===
MediaWiki stylizacja — ciemny klimat, złote akcenty, zero jasnych barw.
======================================================================= */
/* ZMIENNE KOLORYSTYKI */
:root {
--bg-0: #0a0b0d; /* główne tło */
--bg-1: #121316; /* zawartość */
--bg-2: #1a1b1e; /* panele */
--steel: #2b2d30; /* linie, ramki */
--ink: #d8d8d8; /* tekst główny */
--muted: #999999; /* tekst drugorzędny */
--brass: #c99a2d; /* złoty akcent */
--brass-dark: #9b7920; /* ciemniejsze złoto */
--warn: #b84c3a; /* linki do brakujących stron */
--shadow-1: 0 3px 14px rgba(0, 0, 0, .7);
--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, #101112 0%, #0b0c0e 100%) !important;
border-bottom: 1px solid var(--steel) !important;
box-shadow: var(--shadow-1) !important;
}
/* LINKI */
a {
color: var(--brass) !important;
transition: color var(--tr), text-shadow var(--tr);
font-weight: 500;
}
a:visited { color: #b68925 !important; }
a.new { color: var(--warn) !important; }
a:hover {
color: #fff !important;
text-shadow: 0 0 8px rgba(201,154,45,.6);
}
/* 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, #mw-panel {
background: var(--bg-1) !important;
border-right: 1px solid var(--steel);
padding: 5px 0;
box-shadow: 3px 0 16px rgba(0,0,0,.5);
border-radius: 0 var(--radius) var(--radius) 0;
}
/* SIDEBAR NAGŁÓWKI KATEGORII */
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading,
#mw-panel .portal h3 {
background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
color: var(--brass) !important;
padding: 6px 10px;
margin: 6px 8px;
border-left: 4px solid var(--brass-dark);
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 8px;
box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
}
/* LINKI W SIDEBAR */
#mw-site-navigation a,
#mw-related-navigation a,
#mw-panel .portal .body li a {
color: #c8c8c8 !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,
#mw-panel .portal .body li a:hover {
background: rgba(201,154,45,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(--brass-dark);
}
#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), var(--brass-dark)) !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,.5);
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,.6);
}
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: #17181a !important;
border: 1px solid var(--steel);
padding: 8px 10px;
}
th {
background: #202124 !important;
color: var(--brass) !important;
}
tbody tr:hover td {
background: rgba(201,154,45,0.08) !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(--brass) !important;
padding-bottom: 6px;
box-shadow: 0 4px 12px rgba(201,154,45,.4);
}