MediaWiki:Timeless.css

From Helbreath Portal
Revision as of 22:45, 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.
/* === 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 */
#vector-main-menu,
.vector-main-menu {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Nagłówki kategorii w 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, #1b1c1f, #222328) !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 */
#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;
}

/* Efekt hover na linkach */
#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);
}

/* Naprawa białego tła w Vector 2022 pod ikonami */
.vector-pinnable-header,
.vector-main-menu-action {
    background-color: transparent !important;
    border: none !important;
}