MediaWiki:Timeless.css: Difference between revisions

From Helbreath Portal
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(110 intermediate revisions by the same user not shown)
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, #mw-wrapper, #mw-content-container {
  --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 */
 
  --ink: #d8d8d8;         /* tekst główny */
    color: #e6e6e6 !important;
  --muted: #999999;       /* tekst drugorzędny */
    font-family: "Cinzel Decorative", "Segoe UI", Tahoma, serif !important;
   --brass: #c99a2d;       /* złoty akcent */
    z-index: 0;
  --brass-dark: #9b7920; /* ciemniejsze złoto */
}
  --warn: #b84c3a;       /* linki do brakujących stron */
body::after {
  --shadow-1: 0 3px 14px rgba(0, 0, 0, .7);
    content: "";
  --radius: 12px;
    position: absolute;
  --tr: 240ms cubic-bezier(.22,.61,.36,1);
    top: 15%; /* wysokość od góry ekranu */
    left: 50%;
    width: 600px;   /* szerokość loga w tle */
    height: 200px;  /* wysokość loga w tle */
    background: url("https://helbreathportal.pl/resources/assets/logov1.png") no-repeat center center;
    background-size: contain;
    opacity: 100.1;  /* zmniejszona przezroczystość (100% to brak przezroczystości) */
    transform: translateX(-50%); /* wycentrowanie w poziomie */
    pointer-events: none; /* żeby nie blokowało kliknięć */
    z-index: 1; /* nad przyciemnieniem, pod treścią */
}
/* Półprzezroczyste przyciemnienie */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(10, 11, 13, 0.85);*/
    pointer-events: none;
    z-index: 1;
}
#mw-footer::after {
  content: "© Copyright Helbreath Portal";
  display: block;
  text-align: center;
   margin-top: 6px;
  font-size: 0.9em;
  color: #c99a2d;
  text-shadow: 0 0 6px rgba(201,154,45,0.6);
}
/* === CENTRALNE LOGO - POPRAWIONE I DZIAŁAJĄCE === */
.mw-wiki-logo {
    display: block !important;
    margin: 20px auto !important;
    width: 450px !important;
    height: 250px !important;
    background: url("https://helbreathportal.pl/resources/assets/logov1.png") no-repeat center center !important;
    background-size: contain !important;
    font-size: 0 !important;
}
 
/* === KATEGORIE W LEWYM MENU === */
#mw-panel .portal h3,
#vector-main-menu .vector-menu-heading,
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
 
    font-family: "Segoe UI", Tahoma, sans-serif !important;
    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: 0px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.7);
}
}


/* GLOBALNE TŁO */
/* === LINKI W LEWYM MENU === */
html, body, #mw-wrapper, #mw-content-container {
#mw-panel .portal .body li a,
  background: var(--bg-0) !important;
.vector-menu-content a,
  color: var(--ink) !important;
#vector-main-menu a,
  font-family: "Segoe UI", Tahoma, sans-serif;
#mw-site-navigation a,
#mw-related-navigation a {
    background-color: rgba(18, 19, 22, 0.92) !important;
    display: block;
    padding: 5px 8px;
    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 {
    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 */
/* === HEADER === */
#mw-header-container {
#mw-header-container {
  background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important;
    background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important;
  border-bottom: 1px solid var(--steel) !important;
    border-bottom: 1px solid #2b2d30 !important;
  box-shadow: var(--shadow-1) !important;
    box-shadow: 0 3px 16px rgba(0,0,0,.65);
}
}


/* LINKI */
/* === LINKI === */
a {  
a { color: #c99a2d !important; transition: color 0.2s ease, text-shadow 0.2s ease; font-weight: 500; }
  color: var(--brass) !important;
a:visited { color: #b68925 !important; }
  transition: color var(--tr), text-shadow var(--tr);
a.new { color: #b84c3a !important; }
  font-weight: 500;
a:hover { color: #fff !important; text-shadow: 0 0 8px rgba(201,154,45,.6); }
 
/* HEADER-CONTAINER CIEMNE TŁO */
#mw-header-container {
    background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
    border-bottom: 1px solid rgba(58,59,61,0.8) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}
}
a:visited { color: #b68925 !important; }
 
a.new { color: var(--warn) !important; }
/* ANIMATED GRADIENT KEYFRAMES */
a:hover {  
@keyframes gradientShift {
  color: #fff !important;
  0% { background-position: 0% 50%; }
   text-shadow: 0 0 8px rgba(201,154,45,.6);
  50% { background-position: 100% 50%; }
   100% { background-position: 0% 50%; }
}
}


/* CENTRALNE LOGO */
/* SIDEBAR ULTRA-COMPACT */
#custom-top-logo {
#mw-site-navigation, #mw-related-navigation {
   display: block !important;
   background: linear-gradient(180deg, #252627, #1f2020, #28292a) !important;
   margin: 20px auto !important;
   background-size: 400% 400%;
  width: 450px !important;
   animation: gradientShift 20s ease infinite;
   height: 230px !important;
   backdrop-filter: blur(10px);
   background-size: contain !important;
   border-right: 1px solid rgba(58,59,61,0.8);
   image-rendering: -webkit-optimize-contrast;
   box-shadow: 2px 0 16px rgba(0,0,0,0.25);
   filter: drop-shadow(0 8px 22px rgba(0,0,0,.5));
  padding-top: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  position: relative !important;
  overflow: visible !important;
}
}


/* SIDEBAR – CIEMNE TŁO */
#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
#mw-site-navigation, #mw-related-navigation, #mw-panel {
   background: rgba(37,38,39,0.75) !important;
   background: var(--bg-1) !important;
   padding: 1px 4px;
   border-right: 1px solid var(--steel);
   border-radius: 10px;
   padding: 5px 0;
   box-shadow: inset 0 -2px 6px rgba(0,0,0,0.25);
   box-shadow: 3px 0 16px rgba(0,0,0,.5);
   transition: all 0.3s ease;
   border-radius: 0 var(--radius) var(--radius) 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
}


/* SIDEBAR NAGŁÓWKI KATEGORII */
#mw-site-navigation .sidebar-heading, #mw-related-navigation .sidebar-heading {
#mw-site-navigation .sidebar-heading,
   color: #ffffff !important;
#mw-related-navigation .sidebar-heading,
   background: rgba(42,43,45,0.8) !important;
#mw-panel .portal h3 {
   padding: 1px 4px;
   background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
   border-radius: 10px;
   color: var(--brass) !important;
   margin-bottom: 2px;
   padding: 6px 10px;
   text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  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-site-navigation a,
   color: #d0d0d0 !important;
#mw-related-navigation a,
#mw-panel .portal .body li a {
   color: #c8c8c8 !important;
   display: block;
   display: block;
   padding: 4px 8px;
   padding: 1px 4px;
   border-radius: 6px;
   border-radius: 0px;
   transition: background var(--tr), color var(--tr), transform var(--tr);
   transition: all 0.3s ease;
}
}
#mw-site-navigation a:hover,
#mw-site-navigation a:hover, #mw-related-navigation a:hover {
#mw-related-navigation a:hover,
   background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
#mw-panel .portal .body li a:hover {
    color: #c99a2d !important;
   background: rgba(201,154,45,0.15) !important;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
  color: #fff !important;
   transform: translateX(1px);
   transform: translateX(2px);
  border: none !important;  
}
}


/* CONTENT */
/* CONTENT AREA */
#mw-content {
#mw-content {
   background: var(--bg-1) !important;
   background: rgba(30,31,32,0.85) !important;
   border: 1px solid var(--steel);
   backdrop-filter: blur(10px);
   border-radius: 14px;
   border-radius: 14px;
   padding: 2em;
   padding: 2em;
   box-shadow: var(--shadow-1);
   box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}
}


/* SEARCH BOX + IKONA LUPY */
/* FOOTER */
#simpleSearch {
#mw-footer {
   position: relative;
   background: linear-gradient(90deg, #2a2b2d, #242526, #2e2f31) !important;
   background: var(--bg-2) !important;
   background-size: 400% 400%;
   border: 1px solid var(--steel) !important;
   animation: gradientShift 18s ease infinite;
   border-radius: 8px;
   backdrop-filter: blur(8px);
   padding-left: 32px;
   color: #aaa !important;
   box-shadow: inset 0 1px 2px rgba(0,0,0,.3);
   box-shadow: inset 0 1px 6px rgba(0,0,0,0.3);
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
}
}
#simpleSearch::before {
 
   content: "🔍";
/* CONTENTS BOX */
   position: absolute;
#toc {
   left: 8px;
  background: rgba(42,43,45,0.85) !important;
   top: 50%;
  backdrop-filter: blur(8px);             
  transform: translateY(-50%);
   border: 1px solid rgba(58,59,61,0.7);
   font-size: 16px;
   border-radius: 10px;
   color: var(--brass-dark);
   padding: 8px 10px;
   box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
#toc h2 { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
#toc ul li a { color: #d0d0d0 !important; transition: all 0.2s ease; }
#toc ul li a:hover { color: #ffffff !important; text-shadow: 0 0 6px rgba(201,154,45,.6); }
 
/* FORMS */
input[type="text"], textarea, select {
   background: rgba(42,43,45,0.85) !important;
   color: #ffffff !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
}
#simpleSearch input {
input:focus, textarea:focus, select:focus {
   background: transparent !important;
   outline: none !important;
   color: var(--ink) !important;
   border-color: #c99a2d !important;
  border: none !important;
   box-shadow: 0 0 12px rgba(201,154,45,.6);  
   padding: 6px;
  width: 100%;
  font-size: 14px;
}
}


/* BUTTONY */
/* BUTTONS */
button, input[type="submit"], .mw-ui-button {
input[type="submit"], button, .mw-ui-button {
  background: linear-gradient(180deg, var(--brass), var(--brass-dark)) !important;
background: linear-gradient(90deg, #9b7920, #c99a2d, #b68925) !important;
   color: #111 !important;
  background-size: 400% 400%;
   font-weight: bold;
  animation: gradientShift 12s ease infinite;
   border-radius: 8px;
   color: #ffffff !important;
   padding: 6px 14px;
   border: none !important;
  border: none;
   border-radius: 12px;
   padding: 8px 16px;
   cursor: pointer;
   cursor: pointer;
   box-shadow: 0 3px 10px rgba(0,0,0,.5);
   box-shadow: 0 4px 12px rgba(0,0,0,0.5);
   transition: transform var(--tr), box-shadow var(--tr);
   transition: all 0.3s ease;
}
}
button:hover, input[type="submit"]:hover, .mw-ui-button:hover {
 
input[type="submit"]:hover,
button:hover,
.mw-ui-button:hover,
.oo-ui-buttonElement-button:hover {
  background-position: 100% 0 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55),
              0 0 12px rgba(201,154,45,.55) !important;
   transform: translateY(-1px);
   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 */
/* === CIEMNE TABELKI === */
table {
table {
  background: var(--bg-1) !important;
    background: rgba(30,31,32,0.85) !important;
  border: 1px solid var(--steel);
    border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 8px;
    border-radius: 0px;
  overflow: hidden;
    border-collapse: collapse;
  color: var(--ink) !important;
    color: #e6e6e6 !important;
}
}
th, td {
th, td {
  background: #17181a !important;
    background: rgba(42,43,45,0.75) !important;
  border: 1px solid var(--steel);
    border: 1px solid rgba(58,59,61,0.6) !important;
  padding: 8px 10px;
    padding: 6px 10px;
    color: #e6e6e6 !important;
}
}
th {
th {
  background: #202124 !important;
    background: rgba(50,51,52,0.85) !important;
  color: var(--brass) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
}
tbody tr:hover td {
 
  background: rgba(201,154,45,0.08) !important;
tr:nth-child(even) td {
  transition: background var(--tr);
    background: rgba(37,38,39,0.7) !important;
}
}


/* NAGŁÓWEK STRONY */
#simpleSearch, #mw-searchInput {
#mw-firstheading,
  background: rgba(42,43,45,0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
 
#simpleSearch::before {
    content: "🔍";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9b7920;
}
 
#simpleSearch input:focus, #mw-searchInput:focus {
  outline: none !important;
  box-shadow: 0 0 rgba(201,154,45,.7);
}
/* Placeholder (tekst pomocniczy) w złotym */
#simpleSearch input::placeholder,
#mw-searchInput::placeholder,
.vector-search-box input[type="search"]::placeholder,
.cdx-search-input__input::placeholder {
  color: #c99a2d !important;
  opacity: 0.8;
}
/* ZIELONA LINIA POD TYTUŁEM STRONY Z GLOWEM */
#mw-firstheading {
    border-bottom: 3px solid #2b2d30 !important;
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(201,154,45,.7);
}
#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(--brass) !important;
    border-bottom: 3px solid #2b2d30 !important;
  padding-bottom: 6px;
    padding-bottom: 6px;
  box-shadow: 0 4px 12px rgba(201,154,45,.4);
    box-shadow: 0 4px 12px rgba(201,154,45,.7);
}
/* === WYMUSZENIE CIEMNEGO TŁA SIDEBARU === */
 
/* Główne kontenery bocznego menu */
#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 */
/* === SCHOWAJ PRZYCISK SUBMIT PRZY WYSZUKIWARCE === */
#vector-main-menu,
#simpleSearch #searchButton,
.vector-main-menu {
#simpleSearch button[type="submit"],
    padding-top: 10px !important;
#searchform button[type="submit"],
    padding-bottom: 10px !important;
#mw-searchButton,
#searchGoButton,
#searchButton,
#p-search .vector-search-box button,
.vector-search-box button[type="submit"],
#p-search .oo-ui-buttonElement,
#p-search .oo-ui-buttonElement-button,
.cdx-search-input__end-button,
#p-search .cdx-button {
  display: none !important;
}
}


/* Nagłówki kategorii w menu */
#simpleSearch input,
#mw-panel .portal h3,
#mw-searchInput,
#vector-main-menu .vector-menu-heading,
.vector-search-box input[type="search"],
#mw-site-navigation .sidebar-heading,
.cdx-search-input__input {
#mw-related-navigation .sidebar-heading {
color: #c99a2d !important;
    background: linear-gradient(90deg, #1b1c1f, #222328) !important;
  padding-right: 10px !important;
    color: var(--brass) !important;
    padding: 6px 10px;
    margin: 6px 8px;
    border-left: 4px solid var(--brass);
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,.6);
}
}


/* Linki w menu bocznym */
/* Wyłącz podkreślenia w nagłówkach kategorii i linkach lewego menu */
#mw-panel .portal h3 a,
#vector-main-menu .vector-menu-heading a,
#mw-site-navigation .sidebar-heading a,
#mw-related-navigation .sidebar-heading a,
#mw-panel .portal .body li a,
#mw-panel .portal .body li a,
.vector-menu-content a,
.vector-menu-content a,
Line 237: Line 378:
#mw-site-navigation a,
#mw-site-navigation a,
#mw-related-navigation a {
#mw-related-navigation a {
    color: #d2d2d2 !important;
  text-decoration: none !important;
    display: block;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.25s ease;
    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 251: Line 386:
#mw-site-navigation a:hover,
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
#mw-related-navigation a:hover {
    background: rgba(201,154,45,0.15) !important;
  text-decoration: underline !important;
    color: #fff !important;
    transform: translateX(2px);
}
}


/* Naprawa białego tła w Vector 2022 pod ikonami */
#mw-panel .portal h3 a,
.vector-pinnable-header,
#vector-main-menu .vector-menu-heading a,
.vector-main-menu-action {
#mw-site-navigation .sidebar-heading a,
     background-color: transparent !important;
#mw-related-navigation .sidebar-heading a {
    border: none !important;
     text-decoration: underline !important;
}
}
/* === NAPRAWA BIAŁEGO TŁA WOKÓŁ MENU === */


/* Główne panele Vector 2022 */
/* === ZŁOTE LINKI W LEWYM MENU === */
.mw-workspace-container,
#mw-panel .portal .body li a,
.vector-feature-zebra-design-enabled .mw-page-container,
.vector-menu-content a,
.vector-feature-zebra-design-enabled .vector-main-container {
#vector-main-menu a,
     background-color: var(--bg-0) !important;
#mw-site-navigation a,
#mw-related-navigation a {
     color: #c99a2d !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
}


/* Lewe tło całego menu */
#mw-panel .portal .body li a:hover,
#vector-main-menu,
.vector-menu-content a:hover,
.vector-main-menu,
#vector-main-menu a:hover,
#mw-panel {
#mw-site-navigation a:hover,
    background-color: var(--bg-1) !important;
#mw-related-navigation a:hover {
     border-right: 1px solid var(--steel) !important;
     color: #ffd65b !important;
     box-shadow: 3px 0 16px rgba(0,0,0,0.45);
     text-shadow: 0 0 6px rgba(201,154,45,0.7);
    transform: translateX(2px);
}
}


/* Tło w Vector 2022 za lewym menu */
/* === ZŁOTE LINKI W OBSZARZE TREŚCI (STRONA GŁÓWNA, ARTYKUŁY) === */
.vector-feature-zebra-design-enabled .vector-main-menu-container,
.mw-parser-output a,
.vector-feature-zebra-design-enabled .vector-main-menu-inner {
.mw-body-content a,
    background-color: var(--bg-1) !important;
#mw-content a,
#content a,
#bodyContent a,
#mw-content-text a {
  color: #c99a2d !important;
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}
.mw-parser-output a:visited,
.mw-body-content a:visited,
#mw-content a:visited,
#content a:visited,
#bodyContent a:visited,
#mw-content-text a:visited {
  color: #b68925 !important;
}
.mw-parser-output a:hover,
.mw-body-content a:hover,
#mw-content a:hover,
#content a:hover,
#bodyContent a:hover,
#mw-content-text a:hover {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(201,154,45,.6);
}
}


/* Timeless — boczne menu i okolice */
/* === ZŁOTE NAGŁÓWKI SEKCJI (mw-headline) === */
#mw-content-wrapper,
.mw-headline {
#mw-related-navigation,
    color: #c99a2d !important;
#mw-site-navigation,
    font-family: "Cinzel Decorative", "Segoe UI", Tahoma, serif !important;
.sidebar-inner {
    font-weight: 700;
     background-color: var(--bg-1) !important;
    letter-spacing: 0.5px;
     text-shadow: 0 0 6px rgba(201,154,45,0.5), 0 0 12px rgba(0,0,0,0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
}


/* Naprawa białego panelu w wersji mobilnej */
.mw-headline:hover {
#mw-navigation,
     color: #ffd65b !important;
#mw-panel,
     text-shadow: 0 0 10px rgba(201,154,45,0.8), 0 0 20px rgba(0,0,0,0.9);
#vector-main-menu {
    cursor: pointer;
     background-image: none !important;
     background-color: var(--bg-1) !important;
}
}


/* Globalne wymuszenie ciemnego tła całej strony */
/* === ZŁOTY GŁÓWNY TYTUŁ STRONY === */
html,
.mw-page-title-main {
body {
    color: #c99a2d !important;
     background-color: var(--bg-0) !important;
    font-family: "Cinzel Decorative", "Segoe UI", Tahoma, serif !important;
    font-weight: 900;
     font-size: 0.8em;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(201,154,45,0.6), 0 0 14px rgba(0,0,0,0.85);
    margin-bottom: 10px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
}


/* Poprawka dolnego paska Vectora, który był biały */
.mw-page-title-main:hover {
.vector-sticky-header,
     color: #ffd65b !important;
.vector-pinnable-header,
    text-shadow: 0 0 12px rgba(201,154,45,0.9), 0 0 24px rgba(0,0,0,1);
.vector-main-menu-action {
     cursor: default;
     background-color: var(--bg-1) !important;
     border: none !important;
}
}
 
/* Wymuszenie złotego koloru na nazwie użytkownika */
/* Wyrównanie paddingu */
.vector-user-links .oo-ui-labelElement-label,
.vector-main-menu-inner {
.vector-user-links .oo-ui-buttonElement-button,
     padding: 8px 0 !important;
.vector-user-links .oo-ui-labelElement-label span,
.vector-user-links a span.oo-ui-labelElement-label {
     color: #c99a2d !important;
    font-weight: bold !important;
    text-shadow: 0 0 6px rgba(201,154,45,.5) !important;
}
}

Latest revision as of 15:34, 24 August 2025

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

/* === GLOBALNE TŁO === */
html, body, #mw-wrapper, #mw-content-container {
    background: url("https://helbreathportal.pl/resources/assets/bg.png") no-repeat center center fixed !important;
    background-size: cover !important;
    background-color: #0a0b0d !important;
   
    color: #e6e6e6 !important;
    font-family: "Cinzel Decorative", "Segoe UI", Tahoma, serif !important;
    z-index: 0;
}
body::after {
    content: "";
    position: absolute;
    top: 15%; /* wysokość od góry ekranu */
    left: 50%;
    width: 600px;   /* szerokość loga w tle */
    height: 200px;  /* wysokość loga w tle */
    background: url("https://helbreathportal.pl/resources/assets/logov1.png") no-repeat center center;
    background-size: contain;
    opacity: 100.1;  /* zmniejszona przezroczystość (100% to brak przezroczystości) */
    transform: translateX(-50%); /* wycentrowanie w poziomie */
    pointer-events: none; /* żeby nie blokowało kliknięć */
    z-index: 1; /* nad przyciemnieniem, pod treścią */
}
/* Półprzezroczyste przyciemnienie */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(10, 11, 13, 0.85);*/
    pointer-events: none;
    z-index: 1;
}
#mw-footer::after {
  content: "© Copyright Helbreath Portal";
  display: block;
  text-align: center;
  margin-top: 6px;
  font-size: 0.9em;
  color: #c99a2d;
  text-shadow: 0 0 6px rgba(201,154,45,0.6);
}
/* === CENTRALNE LOGO - POPRAWIONE I DZIAŁAJĄCE === */
.mw-wiki-logo {
    display: block !important;
    margin: 20px auto !important;
    width: 450px !important;
    height: 250px !important;
    background: url("https://helbreathportal.pl/resources/assets/logov1.png") no-repeat center center !important;
    background-size: contain !important;
    font-size: 0 !important;
}

/* === KATEGORIE W LEWYM MENU === */
#mw-panel .portal h3,
#vector-main-menu .vector-menu-heading,
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {

    font-family: "Segoe UI", Tahoma, sans-serif !important;
    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: 0px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.7);
}

/* === 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 {
    background-color: rgba(18, 19, 22, 0.92) !important;
    display: block;
    padding: 5px 8px;
    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 {
    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); }

/* HEADER-CONTAINER CIEMNE TŁO */
#mw-header-container {
    background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
    border-bottom: 1px solid rgba(58,59,61,0.8) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
}

/* ANIMATED GRADIENT KEYFRAMES */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* SIDEBAR ULTRA-COMPACT */
#mw-site-navigation, #mw-related-navigation {
  background: linear-gradient(180deg, #252627, #1f2020, #28292a) !important;
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(58,59,61,0.8);
  box-shadow: 2px 0 16px rgba(0,0,0,0.25);
  padding-top: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  position: relative !important;
  overflow: visible !important;
}

#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
  background: rgba(37,38,39,0.75) !important;
  padding: 1px 4px;
  border-radius: 10px;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#mw-site-navigation .sidebar-heading, #mw-related-navigation .sidebar-heading {
  color: #ffffff !important;
  background: rgba(42,43,45,0.8) !important;
  padding: 1px 4px;
  border-radius: 10px;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

#mw-site-navigation a, #mw-related-navigation a {
  color: #d0d0d0 !important;
  display: block;
  padding: 1px 4px;
  border-radius: 0px;
  transition: all 0.3s ease;
}
#mw-site-navigation a:hover, #mw-related-navigation a:hover {
  background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
    color: #c99a2d !important;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
  transform: translateX(1px);
   border: none !important; 
}

/* CONTENT AREA */
#mw-content {
  background: rgba(30,31,32,0.85) !important;
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 2em;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

/* FOOTER */
#mw-footer {
  background: linear-gradient(90deg, #2a2b2d, #242526, #2e2f31) !important;
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite;
  backdrop-filter: blur(8px);
  color: #aaa !important;
  box-shadow: inset 0 1px 6px rgba(0,0,0,0.3);
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
}

/* CONTENTS BOX */
#toc {
  background: rgba(42,43,45,0.85) !important; 
  backdrop-filter: blur(8px);               
  border: 1px solid rgba(58,59,61,0.7);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
#toc h2 { color: #ffffff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
#toc ul li a { color: #d0d0d0 !important; transition: all 0.2s ease; }
#toc ul li a:hover { color: #ffffff !important; text-shadow: 0 0 6px rgba(201,154,45,.6); }

/* FORMS */
input[type="text"], textarea, select {
  background: rgba(42,43,45,0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none !important;
  border-color: #c99a2d !important;
  box-shadow: 0 0 12px rgba(201,154,45,.6); 
}

/* BUTTONS */
input[type="submit"], button, .mw-ui-button {
background: linear-gradient(90deg, #9b7920, #c99a2d, #b68925) !important;
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px;
  padding: 8px 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

input[type="submit"]:hover,
button:hover,
.mw-ui-button:hover,
.oo-ui-buttonElement-button:hover {
  background-position: 100% 0 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55),
              0 0 12px rgba(201,154,45,.55) !important;
  transform: translateY(-1px);
}

/* === CIEMNE TABELKI === */
table {
    background: rgba(30,31,32,0.85) !important;
    border: 1px solid rgba(58,59,61,0.7) !important;
    border-radius: 0px;
    border-collapse: collapse;
    color: #e6e6e6 !important;
}

th, td {
    background: rgba(42,43,45,0.75) !important;
    border: 1px solid rgba(58,59,61,0.6) !important;
    padding: 6px 10px;
    color: #e6e6e6 !important;
}

th {
    background: rgba(50,51,52,0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

tr:nth-child(even) td {
    background: rgba(37,38,39,0.7) !important;
}

#simpleSearch, #mw-searchInput {
  background: rgba(42,43,45,0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

#simpleSearch::before {
    content: "🔍";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #9b7920;
}

#simpleSearch input:focus, #mw-searchInput:focus {
  outline: none !important;
  box-shadow: 0 0 rgba(201,154,45,.7);
}
/* Placeholder (tekst pomocniczy) w złotym */
#simpleSearch input::placeholder,
#mw-searchInput::placeholder,
.vector-search-box input[type="search"]::placeholder,
.cdx-search-input__input::placeholder {
  color: #c99a2d !important;
  opacity: 0.8;
}
/* ZIELONA LINIA POD TYTUŁEM STRONY Z GLOWEM */
#mw-firstheading {
    border-bottom: 3px solid #2b2d30 !important;
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(201,154,45,.7);
}
#mw-content-container .firstHeading,
#mw-content-container .mw-first-heading {
    border-bottom: 3px solid #2b2d30 !important;
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(201,154,45,.7);
}

/* === SCHOWAJ PRZYCISK SUBMIT PRZY WYSZUKIWARCE === */
#simpleSearch #searchButton,
#simpleSearch button[type="submit"],
#searchform button[type="submit"],
#mw-searchButton,
#searchGoButton,
#searchButton,
#p-search .vector-search-box button,
.vector-search-box button[type="submit"],
#p-search .oo-ui-buttonElement,
#p-search .oo-ui-buttonElement-button,
.cdx-search-input__end-button,
#p-search .cdx-button {
  display: none !important;
}

#simpleSearch input,
#mw-searchInput,
.vector-search-box input[type="search"],
.cdx-search-input__input {
	color: #c99a2d !important;
  padding-right: 10px !important;
}

/* Wyłącz podkreślenia w nagłówkach kategorii i linkach lewego menu */
#mw-panel .portal h3 a,
#vector-main-menu .vector-menu-heading a,
#mw-site-navigation .sidebar-heading a,
#mw-related-navigation .sidebar-heading a,
#mw-panel .portal .body li a,
.vector-menu-content a,
#vector-main-menu a,
#mw-site-navigation a,
#mw-related-navigation a {
  text-decoration: none !important;
}

#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 {
  text-decoration: underline !important;
}

#mw-panel .portal h3 a,
#vector-main-menu .vector-menu-heading a,
#mw-site-navigation .sidebar-heading a,
#mw-related-navigation .sidebar-heading a {
    text-decoration: underline !important;
}

/* === ZŁOTE 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: #c99a2d !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

#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 {
    color: #ffd65b !important;
    text-shadow: 0 0 6px rgba(201,154,45,0.7);
    transform: translateX(2px);
}

/* === ZŁOTE LINKI W OBSZARZE TREŚCI (STRONA GŁÓWNA, ARTYKUŁY) === */
.mw-parser-output a,
.mw-body-content a,
#mw-content a,
#content a,
#bodyContent a,
#mw-content-text a {
  color: #c99a2d !important;
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}
.mw-parser-output a:visited,
.mw-body-content a:visited,
#mw-content a:visited,
#content a:visited,
#bodyContent a:visited,
#mw-content-text a:visited {
  color: #b68925 !important;
}
.mw-parser-output a:hover,
.mw-body-content a:hover,
#mw-content a:hover,
#content a:hover,
#bodyContent a:hover,
#mw-content-text a:hover {
  color: #fff !important;
  text-shadow: 0 0 8px rgba(201,154,45,.6);
}

/* === ZŁOTE NAGŁÓWKI SEKCJI (mw-headline) === */
.mw-headline {
    color: #c99a2d !important;
    font-family: "Cinzel Decorative", "Segoe UI", Tahoma, serif !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(201,154,45,0.5), 0 0 12px rgba(0,0,0,0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mw-headline:hover {
    color: #ffd65b !important;
    text-shadow: 0 0 10px rgba(201,154,45,0.8), 0 0 20px rgba(0,0,0,0.9);
    cursor: pointer;
}

/* === ZŁOTY GŁÓWNY TYTUŁ STRONY === */
.mw-page-title-main {
    color: #c99a2d !important;
    font-family: "Cinzel Decorative", "Segoe UI", Tahoma, serif !important;
    font-weight: 900;
    font-size: 0.8em;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(201,154,45,0.6), 0 0 14px rgba(0,0,0,0.85);
    margin-bottom: 10px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mw-page-title-main:hover {
    color: #ffd65b !important;
    text-shadow: 0 0 12px rgba(201,154,45,0.9), 0 0 24px rgba(0,0,0,1);
    cursor: default;
}
/* Wymuszenie złotego koloru na nazwie użytkownika */
.vector-user-links .oo-ui-labelElement-label,
.vector-user-links .oo-ui-buttonElement-button,
.vector-user-links .oo-ui-labelElement-label span,
.vector-user-links a span.oo-ui-labelElement-label {
    color: #c99a2d !important;
    font-weight: bold !important;
    text-shadow: 0 0 6px rgba(201,154,45,.5) !important;
}