MediaWiki:Timeless.css: Difference between revisions

From Helbreath Portal
No edit summary
No edit summary
Line 1: Line 1:
/* === ULTRA PREMIUM DARK + CENTRALNE POWIĘKSZONE LOGO + CIEMNE TABELKI === */
/* === DARK OLD-SCHOOL FANTASY 2D GOLD — FINAL FIX === */


/* === GLOBALNE TŁO === */
/* === GLOBALNE TŁO === */
Line 10: Line 10:
     z-index: 0;
     z-index: 0;
}
}
/* Półprzezroczyste przyciemnienie */
/* Półprzezroczyste przyciemnienie */
body::before {
body::before {
Line 22: Line 23:
     z-index: -1;
     z-index: -1;
}
}
/* HEADER-CONTAINER CIEMNE TŁO */
 
#mw-header-container {
/* === NAPRAWA BIAŁEGO TŁA WOKÓŁ LEWEGO MENU === */
     background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
.skin-vector-2022 .mw-page-container,
     border-bottom: 1px solid rgba(58,59,61,0.8) !important;
.skin-vector-2022 .vector-main-container,
     box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
.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;
}
}


/* ANIMATED GRADIENT KEYFRAMES */
/* === LEWE MENU === */
@keyframes gradientShift {
#mw-panel,
  0% { background-position: 0% 50%; }
#vector-main-menu,
  50% { background-position: 100% 50%; }
.vector-main-menu {
  100% { background-position: 0% 50%; }
    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);
}
}


/* LINKS */
/* === KATEGORIE W LEWYM MENU === */
a { color: #10a37f !important; transition: all 0.3s ease; }
#mw-panel .portal h3,
a:visited { color: #8be9c9 !important; }
#vector-main-menu .vector-menu-heading,
a.new { color: #ff6b6b !important; }
#mw-site-navigation .sidebar-heading,
a:hover { color: #ffffff !important; text-shadow: 0 0 8px #10a37f; }
#mw-related-navigation .sidebar-heading {
 
    background: linear-gradient(90deg, #1a1b1e, #24252a) !important;
/* OSOBNE CENTRALNE LOGO */
#custom-top-logo {
    display: block !important;
    margin: 20px auto !important;
    width: 450px !important;  /* powiększone logo */
    height: 250px !important;  /* powiększone logo */
    background-size: contain !important;
    position: relative !important;
    z-index: 1000 !important;
}
/* === POPRAWKA CZARNEJ NAZWY UŻYTKOWNIKA === */
#pt-userpage a,
.vector-user-links a,
.mw-portlet-personal a,
.vector-header-end a {
     color: #c99a2d !important;
     color: #c99a2d !important;
    padding: 6px 10px;
    margin: 6px 8px;
    border-left: 4px solid #9b7920;
     font-weight: bold;
     font-weight: bold;
     text-shadow: 0 0 6px rgba(201,154,45,.5);
     text-transform: uppercase;
}
     letter-spacing: 0.5px;
#pt-userpage a:hover,
    border-radius: 8px;
.vector-user-links a:hover,
    box-shadow: inset 0 0 6px rgba(0,0,0,0.7);
.mw-portlet-personal a:hover,
    border: none !important; /* USUWAMY BIAŁE RAMKI */
.vector-header-end a:hover {
    color: #fff !important;
     text-shadow: 0 0 10px rgba(201,154,45,.7);
}
/* 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; /* tylko dolne rogi zaokrąglone */
  position: relative !important;
  overflow: visible !important;
}
}


#mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk {
/* === LINKI W LEWYM MENU === */
  background: rgba(37,38,39,0.75) !important;
#mw-panel .portal .body li a,
  /* border-top wyłączony */
.vector-menu-content a,
  padding: 1px 4px; /* ultra-compact */
#vector-main-menu a,
  border-radius: 10px;
#mw-site-navigation a,
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.25);
#mw-related-navigation a {
  transition: all 0.3s ease;
    color: #d2d2d2 !important;
  margin-left: 0 !important;
    display: block;
  margin-right: 0 !important;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-weight: 500;
}
}
 
#mw-panel .portal .body li a:hover,
#mw-site-navigation .sidebar-heading, #mw-related-navigation .sidebar-heading {
.vector-menu-content a:hover,
  color: #ffffff !important;
#vector-main-menu a:hover,
  background: rgba(42,43,45,0.8) !important;
#mw-site-navigation a:hover,
  padding: 1px 4px;
#mw-related-navigation a:hover {
  border-radius: 10px;
    background: rgba(201,154,45,0.15) !important;
  margin-bottom: 2px;
    color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    transform: translateX(2px);
}
 
#mw-site-navigation a, #mw-related-navigation a {
  color: #d0d0d0 !important;
  display: block;
  padding: 1px 4px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
#mw-site-navigation a:hover, #mw-related-navigation a:hover {
  color: #ffffff !important;
  background-color: rgba(50,51,52,0.8) !important;
  box-shadow: inset 0 0 8px rgba(16,163,127,0.6);
  transform: translateX(1px);
}
 
/* 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);
  border-top: 1px solid rgba(58,59,61,0.8);
  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 #10a37f; }
 
/* 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: #10a37f !important;
  box-shadow: 0 0 12px #10a37f;
}
 
/* BUTTONS */
input[type="submit"], button, .mw-ui-button {
  background: linear-gradient(90deg, #10a37f, #0d8c6b, #12b089) !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 {
  background: linear-gradient(90deg, #0d8c6b, #12b089, #10a37f) !important;
  box-shadow: 0 4px 16px rgba(16,163,127,0.7);
  transform: translateY(-1px);
}
 
/* SEARCH BOX */
#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 input:focus, #mw-searchInput:focus {
  outline: none !important;
  box-shadow: 0 0 12px #10a37f !important;
}
}


Line 225: Line 116:
tr:nth-child(even) td {
tr:nth-child(even) td {
     background: rgba(37,38,39,0.7) !important;
     background: rgba(37,38,39,0.7) !important;
}
/* === 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);
}
}


/* ZIELONA LINIA POD TYTUŁEM STRONY Z GLOWEM */
/* === CENTRALNY CONTENT === */
#mw-firstheading {
#mw-content {
     border-bottom: 3px solid #10a37f !important; /* zielony akcent */
    background-color: rgba(18, 19, 22, 0.92) !important;
     padding-bottom: 6px;
     border: 1px solid #2b2d30 !important;
     box-shadow: 0 4px 12px rgba(16,163,127,0.6); /* delikatny zielony glow */
    border-radius: 14px;
     padding: 2em;
     box-shadow: 0 3px 16px rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
}
}
/* Zielona linia pod tytułem strony (Timeless override) */
 
#mw-content-container .firstHeading,
/* === HEADER === */
#mw-content-container .mw-first-heading {
#mw-header-container {
     border-bottom: 3px solid #10a37f !important; /* zielony */
    background: linear-gradient(180deg, #101112 0%, #0b0c0e 100%) !important;
     padding-bottom: 6px;
    border-bottom: 1px solid #2b2d30 !important;
     box-shadow: 0 4px 12px rgba(16,163,127,0.6); /* zielony glow */
    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;
}
}

Revision as of 23:13, 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);
}

/* === CIEMNE TABELKI === */
table {
    background: rgba(30,31,32,0.85) !important;
    border: 1px solid rgba(58,59,61,0.7) !important;
    border-radius: 8px;
    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;
}
/* === 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;
}