MediaWiki:Timeless.css: Difference between revisions

From Helbreath Portal
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
/* === AWARYJNA NAPRAWA: przywróć tło i usuń białe warstwy === */
/* === ULTRA PREMIUM DARK + CENTRALNE POWIĘKSZONE LOGO + CIEMNE TABELKI === */


/* 1) GLOBALNE TŁO-OBRAZ (wraca tło na całej stronie) */
/* GLOBAL DARK BACKGROUND */
html, body {
html, body, #mw-wrapper, #mw-content-container {
   background: url("https://helbreathportal.pl/resources/assets/bg.png") no-repeat center center fixed !important;
   background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
   background-size: cover !important;
   color: #e6e6e6 !important;
  background-color: #0a0b0d !important; /* fallback gdy obraz się nie załaduje */
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   color: #d8d8d8 !important;
}
}


/* delikatne przyciemnienie dla czytelności */
/* HEADER-CONTAINER CIEMNE TŁO */
body::before {
#mw-header-container {
  content: "";
    background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
  position: fixed; inset: 0;
    border-bottom: 1px solid rgba(58,59,61,0.8) !important;
  background: rgba(10,11,13,.65);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
  pointer-events: none;
  z-index: -1;
}
}


/* 2) WSZYSTKIE STRUKTURALNE WRAPPERY (Vector 2022) — PRZEZROCZYSTE
/* ANIMATED GRADIENT KEYFRAMES */
      (żeby tło body było widoczne, bez białych paneli) */
@keyframes gradientShift {
.skin-vector-2022 .mw-workspace-container,
   0% { background-position: 0% 50%; }
.skin-vector-2022 .mw-page-container,
   50% { background-position: 100% 50%; }
.skin-vector-2022 .mw-page-container-inner,
   100% { background-position: 0% 50%; }
.skin-vector-2022 .vector-main-container,
.skin-vector-2022 .vector-grid,
.skin-vector-2022 .vector-body,
.skin-vector-2022 .mw-body,
.skin-vector-2022 .vector-sidebar-container,
.skin-vector-2022 .vector-column-start,
.skin-vector-2022 .vector-column-end,
.skin-vector-2022 .vector-main-menu-container,
.skin-vector-2022 .vector-main-menu-inner,
.skin-vector-2022 .vector-sticky-header,
.skin-vector-2022 .vector-pinnable-header {
   background: transparent !important;
   background-image: none !important;
   border: 0 !important;
  box-shadow: none !important;
}
}


/* 3) SAME PANELE (lewe menu i treść) — ciemne półprzezroczyste */
/* LINKS */
#mw-panel,
a { color: #10a37f !important; transition: all 0.3s ease; }
#vector-main-menu,
a:visited { color: #8be9c9 !important; }
.vector-main-menu {
a.new { color: #ff6b6b !important; }
   background: rgba(18,19,22,.92) !important;
a:hover { color: #ffffff !important; text-shadow: 0 0 8px #10a37f; }
   border-right: 1px solid #2b2d30 !important;
 
   border-radius: 0 12px 12px 0 !important;
/* OSOBNE CENTRALNE LOGO */
   box-shadow: 3px 0 16px rgba(0,0,0,.55) !important;
#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;
}
 
/* 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 {
  background: rgba(37,38,39,0.75) !important;
  /* border-top wyłączony */
  padding: 1px 4px; /* ultra-compact */
  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: 8px;
  transition: all 0.3s ease;
}
}
#mw-content,
#mw-site-navigation a:hover, #mw-related-navigation a:hover {
.mw-content-container {
  color: #ffffff !important;
   background: rgba(18,19,22,.92) !important;
   background-color: rgba(50,51,52,0.8) !important;
  border: 1px solid #2b2d30 !important;
   box-shadow: inset 0 0 8px rgba(16,163,127,0.6);
  border-radius: 14px !important;
  transform: translateX(1px);
   box-shadow: 0 3px 16px rgba(0,0,0,.75) !important;
}
}


/* 4) NAGŁÓWKI KATEGORII — bez białych ramek */
/* CONTENT AREA */
#mw-panel .portal h3,
#mw-content {
#vector-main-menu .vector-menu-heading,
   background: rgba(30,31,32,0.85) !important;
#mw-site-navigation .sidebar-heading,
   backdrop-filter: blur(10px);
#mw-related-navigation .sidebar-heading {
   border-radius: 14px;
   background: #1b1c1f !important;
   padding: 2em;
   color: #c99a2d !important;
   box-shadow: 0 8px 28px rgba(0,0,0,0.5);
  border: 0 !important;                /* usuń jasne obramowania */
  transition: all 0.3s ease;
   border-left: 4px solid #9b7920 !important;
   padding: 6px 10px !important;
  margin: 6px 8px !important;
  border-radius: 8px !important;
   box-shadow: inset 0 0 6px rgba(0,0,0,.6) !important;
}
}


/* 5) LISTY I POZYCJE W MENU — żadnych białych linii */
/* FOOTER */
#mw-panel .portal .body ul,
#mw-footer {
.vector-menu-content-list,
  background: linear-gradient(90deg, #2a2b2d, #242526, #2e2f31) !important;
#mw-site-navigation ul,
  background-size: 400% 400%;
#mw-related-navigation ul {
  animation: gradientShift 18s ease infinite;
   background: transparent !important;
   backdrop-filter: blur(8px);
   border: 0 !important;
   border-top: 1px solid rgba(58,59,61,0.8);
   box-shadow: none !important;
  color: #aaa !important;
   box-shadow: inset 0 1px 6px rgba(0,0,0,0.3);
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
}
}
#mw-panel .portal .body li,
 
.vector-menu-content-list > li {
/* CONTENTS BOX */
   background: transparent !important;
#toc {
   border: 0 !important;
   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; }


/* 6) LINKI W MENU */
/* FORMS */
#mw-panel .portal .body li a,
input[type="text"], textarea, select {
.vector-menu-content a,
  background: rgba(42,43,45,0.85) !important;
#vector-main-menu a,
  color: #ffffff !important;
#mw-site-navigation a,
   border: 1px solid rgba(58,59,61,0.7) !important;
#mw-related-navigation a {
   border-radius: 10px;
   color: #d2d2d2 !important;
   display: block;
   padding: 6px 10px;
   padding: 6px 10px;
   border-radius: 6px;
   box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  text-decoration: none !important;
   transition: all 0.3s ease;
   transition: background .2s ease, color .2s ease, transform .2s ease;
}
}
#mw-panel .portal .body li a:hover,
input:focus, textarea:focus, select:focus {
.vector-menu-content a:hover,
   outline: none !important;
#vector-main-menu a:hover,
   border-color: #10a37f !important;
#mw-site-navigation a:hover,
   box-shadow: 0 0 12px #10a37f;
#mw-related-navigation a:hover {
   color: #fff !important;
   background: rgba(201,154,45,.15) !important;
   transform: translateX(2px);
}
}


/* 7) NAZWA UŻYTKOWNIKA — czytelna na ciemnym tle */
/* BUTTONS */
#pt-userpage a,
input[type="submit"], button, .mw-ui-button {
.vector-user-links a,
  background: linear-gradient(90deg, #10a37f, #0d8c6b, #12b089) !important;
.mw-portlet-personal a,
  background-size: 400% 400%;
.vector-header-end a {
  animation: gradientShift 12s ease infinite;
   color: #c99a2d !important;
   color: #ffffff !important;
   font-weight: 600 !important;
   border: none !important;
   text-shadow: 0 0 6px rgba(201,154,45,.45) !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;
}
}
#pt-userpage a:hover,
input[type="submit"]:hover, button:hover, .mw-ui-button:hover {
.vector-user-links a:hover,
  background: linear-gradient(90deg, #0d8c6b, #12b089, #10a37f) !important;
.mw-portlet-personal a:hover,
  box-shadow: 0 4px 16px rgba(16,163,127,0.7);
.vector-header-end a:hover {
  transform: translateY(-1px);
}
 
/* SEARCH BOX */
#simpleSearch, #mw-searchInput {
  background: rgba(42,43,45,0.85) !important;
   color: #ffffff !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;
}
/* === 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;
}
/* ZIELONA LINIA POD TYTUŁEM STRONY Z GLOWEM */
#mw-firstheading {
    border-bottom: 3px solid #10a37f !important; /* zielony akcent */
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(16,163,127,0.6); /* delikatny zielony glow */
}
/* Zielona linia pod tytułem strony (Timeless override) */
#mw-content-container .firstHeading,
#mw-content-container .mw-first-heading {
    border-bottom: 3px solid #10a37f !important; /* zielony */
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(16,163,127,0.6); /* zielony glow */
}
}

Revision as of 23:08, 20 August 2025

/* === ULTRA PREMIUM DARK + CENTRALNE POWIĘKSZONE LOGO + CIEMNE TABELKI === */

/* GLOBAL DARK BACKGROUND */
html, body, #mw-wrapper, #mw-content-container {
  background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
  color: #e6e6e6 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 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%; }
}

/* LINKS */
a { color: #10a37f !important; transition: all 0.3s ease; }
a:visited { color: #8be9c9 !important; }
a.new { color: #ff6b6b !important; }
a:hover { color: #ffffff !important; text-shadow: 0 0 8px #10a37f; }

/* 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;
}

/* 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 {
  background: rgba(37,38,39,0.75) !important;
  /* border-top wyłączony */
  padding: 1px 4px; /* ultra-compact */
  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: 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;
}

/* === 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;
}

/* ZIELONA LINIA POD TYTUŁEM STRONY Z GLOWEM */
#mw-firstheading {
    border-bottom: 3px solid #10a37f !important; /* zielony akcent */
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(16,163,127,0.6); /* delikatny zielony glow */
}
/* Zielona linia pod tytułem strony (Timeless override) */
#mw-content-container .firstHeading,
#mw-content-container .mw-first-heading {
    border-bottom: 3px solid #10a37f !important; /* zielony */
    padding-bottom: 6px;
    box-shadow: 0 4px 12px rgba(16,163,127,0.6); /* zielony glow */
}