MediaWiki:Timeless.css: Difference between revisions
From Helbreath Portal
No edit summary |
No edit summary |
||
| Line 246: | Line 246: | ||
box-shadow: inset 0 2px 6px rgba(0,0,0,0.2); | box-shadow: inset 0 2px 6px rgba(0,0,0,0.2); | ||
} | } | ||
/* Centralne logo */ | |||
#mw-logo { | #mw-logo { | ||
display: block !important; | |||
margin: 20px auto !important; | |||
width: 150px !important; | |||
height: 50px !important; | |||
background-size: contain !important; | |||
z-index: 1000 !important; | |||
} | } | ||
Revision as of 22:43, 18 August 2025
/* === TIMLESS ULTRA PREMIUM DARK MODE – ANIMATED GRADIENTS + GLASS + CONTENTS + ULTRA-COMPACT SIDEBAR === */
/* 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;
}
/* 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;
}
/* HEADER & LOGO */
#mw-header,
#mw-header-container,
#mw-logo-container,
#p-personal,
#mw-head-base,
#mw-head {
background: linear-gradient(90deg, #2c2d2f, #242526, #2e2f31) !important;
background-size: 400% 400%;
animation: gradientShift 15s ease infinite;
backdrop-filter: blur(10px);
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 – 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);
border-radius: 0 12px 12px 0;
}
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
background: rgba(37,38,39,0.75) !important;
border-top: 1px solid rgba(58,59,61,0.6) !important;
padding: 2px 4px; /* ultra-compact */
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: 2px 4px; /* ultra-compact */
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: 2px 4px; /* ultra-compact */
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;
}
/* SPIS TREŚCI – 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;
}
/* 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;
}
/* 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);
}
/* Centralne logo */
#mw-logo {
display: block !important;
margin: 20px auto !important;
width: 150px !important;
height: 50px !important;
background-size: contain !important;
z-index: 1000 !important;
}