MediaWiki:Timeless.css: Difference between revisions

From Helbreath Portal
No edit summary
No edit summary
Line 1: Line 1:
/* === Dark Mode for Timeless (ChatGPT-like, always on) === */
/* === TIMLESS DARK MODE – EXTRA PREMIUM GLASS === */


/* GLOBAL BACKGROUND & TEXT */
/* GLOBAL BACKGROUND */
body {
html,
   background-color: #1e1f20 !important;
body,
#mw-wrapper,
#mw-content-container {
   background: linear-gradient(180deg, #1b1c1d 0%, #151617 100%) !important;
   color: #e6e6e6 !important;
   color: #e6e6e6 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
}
/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   color: #ffffff !important;
   color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
}


Line 13: Line 20:
a {
a {
   color: #10a37f !important;
   color: #10a37f !important;
  transition: all 0.3s ease;
}
}
a:visited {
a:visited {
Line 19: Line 27:
a.new {
a.new {
   color: #ff6b6b !important;
   color: #ff6b6b !important;
}
a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 6px #10a37f;
}
}


/* HEADER & NAVIGATION */
/* HEADER & LOGO */
#mw-header {
#mw-header,
   background-color: #2a2b2d !important;
#mw-header-container,
   border-bottom: 1px solid #3a3b3d !important;
#mw-logo-container,
#p-personal,
#mw-head-base,
#mw-head {
   background: rgba(40,40,42,0.85) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
   border-bottom: 1px solid rgba(58,59,61,0.8);
  border-radius: 0 0 12px 12px;
}
}
/* SIDEBAR / NAVIGATION */
#mw-site-navigation,
#mw-site-navigation,
#mw-related-navigation,
#mw-related-navigation {
#mw-personaltools {
  background: rgba(37,38,39,0.85) !important;
   background-color: #252627 !important;
  backdrop-filter: blur(8px);
   border-right: 1px solid #3a3b3d !important;
  border-right: 1px solid rgba(58,59,61,0.8);
  box-shadow: 2px 0 16px rgba(0,0,0,0.25);
  border-radius: 0 12px 12px 0;
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
   background: rgba(37,38,39,0.7) !important;
   border-top: 1px solid rgba(58,59,61,0.6) !important;
  padding: 6px;
  border-radius: 10px;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
  color: #ffffff !important;
  background: rgba(42,43,45,0.8) !important;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
}
#mw-site-navigation a,
#mw-site-navigation a,
#mw-related-navigation a,
#mw-related-navigation a {
#mw-personaltools a {
   color: #d0d0d0 !important;
   color: #d0d0d0 !important;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  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 {
#mw-personaltools a:hover {
   color: #ffffff !important;
   color: #ffffff !important;
   background-color: #323334 !important;
   background-color: rgba(50,51,52,0.8) !important;
   border-radius: 6px;
   box-shadow: inset 0 0 8px rgba(16,163,127,0.6);
  transform: translateX(2px);
}
}


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


/* FOOTER */
/* FOOTER */
#mw-footer {
#mw-footer {
   background-color: #2a2b2d !important;
   background: rgba(42,43,45,0.85) !important;
   border-top: 1px solid #3a3b3d !important;
  backdrop-filter: blur(6px);
   border-top: 1px solid rgba(58,59,61,0.8);
   color: #aaa !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;
}
}


/* TABLES */
/* TABLES */
table {
table {
   background-color: #2a2b2d !important;
   background: rgba(42,43,45,0.8) !important;
   color: #e6e6e6 !important;
   color: #e6e6e6 !important;
   border: 1px solid #3a3b3d !important;
   border: 1px solid rgba(58,59,61,0.8) !important;
  border-radius: 8px;
}
}
th {
th {
   background-color: #333435 !important;
   background: rgba(51,52,53,0.9) !important;
   color: #ffffff !important;
   color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
}
td {
td {
   border: 1px solid #3a3b3d !important;
   border: 1px solid rgba(58,59,61,0.7) !important;
}
}


Line 85: Line 134:
textarea,
textarea,
select {
select {
   background-color: #2a2b2d !important;
   background: rgba(42,43,45,0.85) !important;
   color: #ffffff !important;
   color: #ffffff !important;
   border: 1px solid #3a3b3d !important;
   border: 1px solid rgba(58,59,61,0.7) !important;
   border-radius: 6px;
   border-radius: 10px;
   padding: 6px;
   padding: 8px 12px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
}
input:focus,
input:focus,
textarea:focus,
textarea:focus,
select:focus {
select:focus {
   outline: none;
   outline: none !important;
   border-color: #10a37f !important;
   border-color: #10a37f !important;
   box-shadow: 0 0 4px #10a37f;
   box-shadow: 0 0 12px #10a37f;
}
}


Line 103: Line 154:
button,
button,
.mw-ui-button {
.mw-ui-button {
   background-color: #10a37f !important;
   background: linear-gradient(90deg, #10a37f, #0d8c6b) !important;
   color: #ffffff !important;
   color: #ffffff !important;
   border: none !important;
   border: none !important;
   border-radius: 8px;
   border-radius: 12px;
   padding: 6px 12px;
   padding: 8px 16px;
   cursor: pointer;
   cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}
}
input[type="submit"]:hover,
input[type="submit"]:hover,
button:hover,
button:hover,
.mw-ui-button:hover {
.mw-ui-button:hover {
   background-color: #0d8c6b !important;
   background: linear-gradient(90deg, #0d8c6b, #0a6e58) !important;
  box-shadow: 0 4px 16px rgba(16,163,127,0.7);
  transform: translateY(-1px);
}
 
/* SEARCH BOX (header + content) */
#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;
}
}


/* DIFF VIEW */
/* DIFF VIEW */
td.diff-context {
td.diff-context {
   background: #252627 !important;
   background: rgba(37,38,39,0.8) !important;
}
}
td.diff-addedline {
td.diff-addedline {
   background: #1e332d !important;
   background: rgba(30,51,45,0.8) !important;
   color: #9ef5c3 !important;
   color: #9ef5c3 !important;
}
}
td.diff-deletedline {
td.diff-deletedline {
   background: #331e1e !important;
   background: rgba(51,30,30,0.8) !important;
   color: #ff9a9a !important;
   color: #ff9a9a !important;
}
}
td.diff-marker {
td.diff-marker {
   background: #2a2b2d !important;
   background: rgba(42,43,45,0.85) !important;
}
}


/* CODE BLOCKS */
/* CODE BLOCKS */
pre, code, .mw-code {
pre, code, .mw-code {
   background-color: #2a2b2d !important;
   background: rgba(42,43,45,0.85) !important;
   color: #dcdcdc !important;
   color: #dcdcdc !important;
   border: 1px solid #3a3b3d !important;
   border: 1px solid rgba(58,59,61,0.7) !important;
   border-radius: 6px;
   border-radius: 10px;
   padding: 6px 10px;
   padding: 8px 14px;
   font-family: monospace, monospace;
   font-family: monospace, monospace;
   font-size: 0.95em;
   font-size: 0.95em;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
}


/* TOOLTIPS & POPUPS */
/* TOOLTIPS & POPUPS */
.mw-tooltip {
.mw-tooltip {
   background: #2a2b2d !important;
   background: rgba(42,43,45,0.9) !important;
   color: #fff !important;
   color: #fff !important;
   border: 1px solid #3a3b3d !important;
   border: 1px solid rgba(58,59,61,0.7) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
}


/* CATEGORIES & PAGINATION */
/* CATEGORIES & PAGINATION */
.catlinks, .mw-pager-navigation-bar {
.catlinks,
   background: #2a2b2d !important;
.mw-pager-navigation-bar {
  border: 1px solid #3a3b3d !important;
   background: rgba(42,43,45,0.85) !important;
  border-radius: 6px;
   border: 1px solid rgba(58,59,61,0.7) !important;
  padding: 4px;
   border-radius: 10px;
}
   padding: 6px;
 
   box-shadow: inset 0 2px 6px rgba(0,0,0,0.2);
/* === SIDEBAR / NAWIGACJA w Timeless === */
 
/* Całe tło sidebarów */
#mw-site-navigation,
#mw-related-navigation {
  background-color: #252627 !important;
  border-right: 1px solid #3a3b3d !important;
}
 
/* Poszczególne "klocki" sidebaru */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
  background-color: #252627 !important;
   border-top: 1px solid #3a3b3d !important;
  padding: 4px;
}
 
/* Nagłówki sekcji sidebaru */
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
  color: #ffffff !important;
  background: #2a2b2d !important;
  padding: 4px 6px;
  border-radius: 6px;
  margin-bottom: 2px;
}
 
/* Linki w sidebarze */
#mw-site-navigation a,
#mw-related-navigation a {
  color: #d0d0d0 !important;
  display: block;
  padding: 4px 6px;
  border-radius: 6px;
}
#mw-site-navigation a:hover,
#mw-related-navigation a:hover {
  color: #ffffff !important;
  background-color: #323334 !important;
}
 
/* === Search box w dark mode === */
#simpleSearch {
  background-color: #2a2b2d !important;
  border: 1px solid #3a3b3d !important;
   border-radius: 6px;
   padding: 2px;
}
 
#simpleSearch input,
#mw-searchInput {
  background-color: #2a2b2d !important;
  color: #ffffff !important;
  border: none !important;
  padding: 4px 6px;
}
 
#simpleSearch input:focus,
#mw-searchInput:focus {
  outline: none !important;
   box-shadow: 0 0 4px #10a37f !important;
}
 
/* === Global background fix for Timeless dark mode === */
html,
body,
#mw-wrapper,
#mw-content-container {
  background-color: #1e1f20 !important;
}
/* === Dark mode dla górnego paska wyszukiwania === */
#simpleSearch {
  background-color: #2a2b2d !important;
  padding: 2px 6px;
  border-radius: 6px;
}
 
#simpleSearch input,
#simpleSearch button,
#mw-searchInput {
  background-color: #2a2b2d !important;
  color: #ffffff !important;
  border: none !important;
}
 
#simpleSearch input:focus,
#mw-searchInput:focus {
  outline: none !important;
  box-shadow: 0 0 4px #10a37f !important;
}
}

Revision as of 21:34, 18 August 2025

/* === TIMLESS DARK MODE – EXTRA PREMIUM GLASS === */

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

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* 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 6px #10a37f;
}

/* HEADER & LOGO */
#mw-header,
#mw-header-container,
#mw-logo-container,
#p-personal,
#mw-head-base,
#mw-head {
  background: rgba(40,40,42,0.85) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(58,59,61,0.8);
  border-radius: 0 0 12px 12px;
}

/* SIDEBAR / NAVIGATION */
#mw-site-navigation,
#mw-related-navigation {
  background: rgba(37,38,39,0.85) !important;
  backdrop-filter: blur(8px);
  border-right: 1px solid rgba(58,59,61,0.8);
  box-shadow: 2px 0 16px rgba(0,0,0,0.25);
  border-radius: 0 12px 12px 0;
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
  background: rgba(37,38,39,0.7) !important;
  border-top: 1px solid rgba(58,59,61,0.6) !important;
  padding: 6px;
  border-radius: 10px;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
#mw-site-navigation .sidebar-heading,
#mw-related-navigation .sidebar-heading {
  color: #ffffff !important;
  background: rgba(42,43,45,0.8) !important;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 4px;
  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: 6px 10px;
  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(2px);
}

/* CONTENT AREA */
#mw-content {
  background: rgba(30,31,32,0.85) !important;
  backdrop-filter: blur(8px);
  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: rgba(42,43,45,0.85) !important;
  backdrop-filter: blur(6px);
  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;
}

/* TABLES */
table {
  background: rgba(42,43,45,0.8) !important;
  color: #e6e6e6 !important;
  border: 1px solid rgba(58,59,61,0.8) !important;
  border-radius: 8px;
}
th {
  background: rgba(51,52,53,0.9) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
td {
  border: 1px solid rgba(58,59,61,0.7) !important;
}

/* FORMS */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
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: 8px 12px;
  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) !important;
  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, #0a6e58) !important;
  box-shadow: 0 4px 16px rgba(16,163,127,0.7);
  transform: translateY(-1px);
}

/* SEARCH BOX (header + content) */
#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;
}

/* DIFF VIEW */
td.diff-context {
  background: rgba(37,38,39,0.8) !important;
}
td.diff-addedline {
  background: rgba(30,51,45,0.8) !important;
  color: #9ef5c3 !important;
}
td.diff-deletedline {
  background: rgba(51,30,30,0.8) !important;
  color: #ff9a9a !important;
}
td.diff-marker {
  background: rgba(42,43,45,0.85) !important;
}

/* CODE BLOCKS */
pre, code, .mw-code {
  background: rgba(42,43,45,0.85) !important;
  color: #dcdcdc !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 10px;
  padding: 8px 14px;
  font-family: monospace, monospace;
  font-size: 0.95em;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

/* TOOLTIPS & POPUPS */
.mw-tooltip {
  background: rgba(42,43,45,0.9) !important;
  color: #fff !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* CATEGORIES & PAGINATION */
.catlinks,
.mw-pager-navigation-bar {
  background: rgba(42,43,45,0.85) !important;
  border: 1px solid rgba(58,59,61,0.7) !important;
  border-radius: 10px;
  padding: 6px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.2);
}