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 GOLD ===
/* === DARK OLD-SCHOOL FANTASY 2D GOLD — FINAL FIX === */
  MediaWiki stylizacja ciemny klimat, złote akcenty, zero jasnych barw.
  ======================================================================= */


/* ZMIENNE KOLORYSTYKI */
/* === GLOBALNE TŁO === */
:root {
html, body {
  --bg-0: #0a0b0d;        /* główne tło */
    background: url("https://helbreathportal.pl/resources/assets/bg.png") no-repeat center center fixed !important;
  --bg-1: #121316;        /* zawartość */
    background-size: cover !important;
  --bg-2: #1a1b1e;        /* panele */
    background-color: #0a0b0d !important;
  --steel: #2b2d30;      /* linie, ramki */
    color: var(--ink) !important;
  --ink: #d8d8d8;         /* tekst główny */
    font-family: "Segoe UI", Tahoma, sans-serif;
  --muted: #999999;       /* tekst drugorzędny */
    z-index: 0;
  --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 */
/* Półprzezroczyste przyciemnienie */
html, body, #mw-wrapper, #mw-content-container {
body::before {
  background: var(--bg-0) !important;
    content: "";
  color: var(--ink) !important;
    position: fixed;
  font-family: "Segoe UI", Tahoma, sans-serif;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 13, 0.65);
    pointer-events: none;
    z-index: -1;
}
}


/* HEADER */
/* === NAPRAWA BIAŁEGO TŁA WOKÓŁ LEWEGO MENU === */
#mw-header-container {
.skin-vector-2022 .mw-page-container,
  background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important;
.skin-vector-2022 .vector-main-container,
  border-bottom: 1px solid var(--steel) !important;
.skin-vector-2022 .vector-body,
  box-shadow: var(--shadow-1) !important;
.skin-vector-2022 .mw-body,
}
.skin-vector-2022 .mw-workspace-container,
 
.skin-vector-2022 .vector-sidebar-container,
/* LINKI */
.skin-vector-2022 .vector-column-start,
a {
.skin-vector-2022 .vector-main-menu-container,
  color: var(--brass) !important;
.skin-vector-2022 .vector-main-menu-inner {
  transition: color var(--tr), text-shadow var(--tr);
    background: transparent !important;
  font-weight: 500;
    background-image: none !important;
}
    border: none !important;
a:visited { color: #b68925 !important; }
    box-shadow: none !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 */
/* === LEWE MENU === */
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);
}
/* === WYMUSZENIE CIEMNEGO TŁA SIDEBARU === */
 
/* Główne kontenery bocznego menu */
#mw-panel,
#mw-panel,
#mw-panel .portal,
#mw-panel .portal .body,
#mw-panel .vector-menu-content,
#vector-main-menu,
.vector-main-menu,
.vector-menu-content,
.sidebar-inner,
#mw-site-navigation,
#mw-related-navigation {
    background-color: var(--bg-1) !important; /* ciemne tło */
    background-image: none !important;
    color: var(--ink) !important;
    border-right: 1px solid var(--steel) !important;
    box-shadow: 3px 0 16px rgba(0,0,0,0.45) !important;
}
/* Wyrównanie paddingu w nowym Vectorze */
#vector-main-menu,
#vector-main-menu,
.vector-main-menu {
.vector-main-menu {
     padding-top: 10px !important;
     background-color: rgba(18, 19, 22, 0.92) !important;
     padding-bottom: 10px !important;
     border-right: 1px solid #2b2d30 !important;
    padding: 6px 0;
    box-shadow: 3px 0 16px rgba(0,0,0,.55);
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(6px);
}
}


/* Nagłówki kategorii w menu */
/* === KATEGORIE W LEWYM MENU === */
#mw-panel .portal h3,
#mw-panel .portal h3,
#vector-main-menu .vector-menu-heading,
#vector-main-menu .vector-menu-heading,
#mw-site-navigation .sidebar-heading,
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
#mw-related-navigation .sidebar-heading {
     background: linear-gradient(90deg, #1b1c1f, #222328) !important;
     background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
     color: var(--brass) !important;
     color: #c99a2d !important;
     padding: 6px 10px;
     padding: 6px 10px;
     margin: 6px 8px;
     margin: 6px 8px;
     border-left: 4px solid var(--brass);
     border-left: 4px solid #9b7920;
    border-radius: 6px;
     font-weight: bold;
     font-weight: bold;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
     box-shadow: inset 0 0 5px rgba(0,0,0,.6);
    border-radius: 8px;
     box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
    border: none !important; /* USUWAMY BIAŁE RAMKI */
}
}


/* Linki w menu bocznym */
/* === LINKI W LEWYM MENU === */
#mw-panel .portal .body li a,
#mw-panel .portal .body li a,
.vector-menu-content a,
.vector-menu-content a,
Line 244: Line 83:
     font-weight: 500;
     font-weight: 500;
}
}
/* Efekt hover na linkach */
#mw-panel .portal .body li a:hover,
#mw-panel .portal .body li a:hover,
.vector-menu-content a:hover,
.vector-menu-content a:hover,
Line 256: Line 93:
}
}


/* Naprawa białego tła w Vector 2022 pod ikonami */
/* === POPRAWKA CZARNEJ NAZWY UŻYTKOWNIKA === */
.vector-pinnable-header,
#pt-userpage a,
.vector-main-menu-action {
.vector-user-links a,
     background-color: transparent !important;
.mw-portlet-personal a,
     border: none !important;
.vector-header-end a {
     color: #c99a2d !important;
     font-weight: bold;
    text-shadow: 0 0 6px rgba(201,154,45,.5);
}
}
/* === NAPRAWA BIAŁEGO TŁA WOKÓŁ MENU === */
#pt-userpage a:hover,
 
.vector-user-links a:hover,
/* Główne panele Vector 2022 */
.mw-portlet-personal a:hover,
.mw-workspace-container,
.vector-header-end a:hover {
.vector-feature-zebra-design-enabled .mw-page-container,
     color: #fff !important;
.vector-feature-zebra-design-enabled .vector-main-container {
    text-shadow: 0 0 10px rgba(201,154,45,.7);
     background-color: var(--bg-0) !important;
}
}


/* Lewe tło całego menu */
/* === CENTRALNY CONTENT === */
#vector-main-menu,
#mw-content {
.vector-main-menu,
     background-color: rgba(18, 19, 22, 0.92) !important;
#mw-panel {
     border: 1px solid #2b2d30 !important;
     background-color: var(--bg-1) !important;
    border-radius: 14px;
     border-right: 1px solid var(--steel) !important;
    padding: 2em;
     box-shadow: 3px 0 16px rgba(0,0,0,0.45);
     box-shadow: 0 3px 16px rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}
}


/* Tło w Vector 2022 za lewym menu */
/* === HEADER === */
.vector-feature-zebra-design-enabled .vector-main-menu-container,
#mw-header-container {
.vector-feature-zebra-design-enabled .vector-main-menu-inner {
    background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important;
     background-color: var(--bg-1) !important;
    border-bottom: 1px solid #2b2d30 !important;
     box-shadow: 0 3px 16px rgba(0,0,0,.65);
}
}


/* Timeless — boczne menu i okolice */
/* === LINKI === */
#mw-content-wrapper,
a { color: #c99a2d !important; transition: color 0.2s ease, text-shadow 0.2s ease; font-weight: 500; }
#mw-related-navigation,
a:visited { color: #b68925 !important; }
#mw-site-navigation,
a.new { color: #b84c3a !important; }
.sidebar-inner {
a:hover { color: #fff !important; text-shadow: 0 0 8px rgba(201,154,45,.6); }
    background-color: var(--bg-1) !important;
}


/* Naprawa białego panelu w wersji mobilnej */
/* === SEARCH BOX === */
#mw-navigation,
#simpleSearch {
#mw-panel,
    position: relative;
#vector-main-menu {
    background: rgba(26,27,30,0.95) !important;
     background-image: none !important;
    border: 1px solid #2b2d30 !important;
     background-color: var(--bg-1) !important;
    border-radius: 8px;
     padding-left: 32px;
     box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
}
}
 
#simpleSearch::before {
/* Globalne wymuszenie ciemnego tła całej strony */
    content: "🔍";
html,
    position: absolute;
body {
    left: 8px;
     background-color: var(--bg-0) !important;
    top: 50%;
     transform: translateY(-50%);
    font-size: 16px;
    color: #9b7920;
}
}
 
#simpleSearch input {
/* Poprawka dolnego paska Vectora, który był biały */
     background: transparent !important;
.vector-sticky-header,
    color: #d8d8d8 !important;
.vector-pinnable-header,
.vector-main-menu-action {
     background-color: var(--bg-1) !important;
     border: none !important;
     border: none !important;
}
    padding: 6px;
 
    width: 100%;
/* Wyrównanie paddingu */
    font-size: 14px;
.vector-main-menu-inner {
    padding: 8px 0 !important;
}
}

Revision as of 23:01, 20 August 2025

/* === DARK OLD-SCHOOL FANTASY 2D GOLD — FINAL FIX === */

/* === GLOBALNE TŁO === */
html, body {
    background: url("https://helbreathportal.pl/resources/assets/bg.png") no-repeat center center fixed !important;
    background-size: cover !important;
    background-color: #0a0b0d !important;
    color: var(--ink) !important;
    font-family: "Segoe UI", Tahoma, sans-serif;
    z-index: 0;
}

/* Półprzezroczyste przyciemnienie */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 13, 0.65);
    pointer-events: none;
    z-index: -1;
}

/* === NAPRAWA BIAŁEGO TŁA WOKÓŁ LEWEGO MENU === */
.skin-vector-2022 .mw-page-container,
.skin-vector-2022 .vector-main-container,
.skin-vector-2022 .vector-body,
.skin-vector-2022 .mw-body,
.skin-vector-2022 .mw-workspace-container,
.skin-vector-2022 .vector-sidebar-container,
.skin-vector-2022 .vector-column-start,
.skin-vector-2022 .vector-main-menu-container,
.skin-vector-2022 .vector-main-menu-inner {
    background: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* === LEWE MENU === */
#mw-panel,
#vector-main-menu,
.vector-main-menu {
    background-color: rgba(18, 19, 22, 0.92) !important;
    border-right: 1px solid #2b2d30 !important;
    padding: 6px 0;
    box-shadow: 3px 0 16px rgba(0,0,0,.55);
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(6px);
}

/* === KATEGORIE W LEWYM MENU === */
#mw-panel .portal h3,
#vector-main-menu .vector-menu-heading,
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
    background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
    color: #c99a2d !important;
    padding: 6px 10px;
    margin: 6px 8px;
    border-left: 4px solid #9b7920;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
    border: none !important; /* USUWAMY BIAŁE RAMKI */
}

/* === LINKI W LEWYM MENU === */
#mw-panel .portal .body li a,
.vector-menu-content a,
#vector-main-menu a,
#mw-site-navigation a,
#mw-related-navigation a {
    color: #d2d2d2 !important;
    display: block;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-weight: 500;
}
#mw-panel .portal .body li a:hover,
.vector-menu-content a:hover,
#vector-main-menu a:hover,
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
    background: rgba(201,154,45,0.15) !important;
    color: #fff !important;
    transform: translateX(2px);
}

/* === POPRAWKA CZARNEJ NAZWY UŻYTKOWNIKA === */
#pt-userpage a,
.vector-user-links a,
.mw-portlet-personal a,
.vector-header-end a {
    color: #c99a2d !important;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(201,154,45,.5);
}
#pt-userpage a:hover,
.vector-user-links a:hover,
.mw-portlet-personal a:hover,
.vector-header-end a:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(201,154,45,.7);
}

/* === CENTRALNY CONTENT === */
#mw-content {
    background-color: rgba(18, 19, 22, 0.92) !important;
    border: 1px solid #2b2d30 !important;
    border-radius: 14px;
    padding: 2em;
    box-shadow: 0 3px 16px rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}

/* === HEADER === */
#mw-header-container {
    background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important;
    border-bottom: 1px solid #2b2d30 !important;
    box-shadow: 0 3px 16px rgba(0,0,0,.65);
}

/* === LINKI === */
a { color: #c99a2d !important; transition: color 0.2s ease, text-shadow 0.2s ease; font-weight: 500; }
a:visited { color: #b68925 !important; }
a.new { color: #b84c3a !important; }
a:hover { color: #fff !important; text-shadow: 0 0 8px rgba(201,154,45,.6); }

/* === SEARCH BOX === */
#simpleSearch {
    position: relative;
    background: rgba(26,27,30,0.95) !important;
    border: 1px solid #2b2d30 !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: #9b7920;
}
#simpleSearch input {
    background: transparent !important;
    color: #d8d8d8 !important;
    border: none !important;
    padding: 6px;
    width: 100%;
    font-size: 14px;
}