MediaWiki:Timeless.css

From Helbreath Portal
Revision as of 23:01, 20 August 2025 by Mikus (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* === 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;
}