MediaWiki:Vector-2022.css: Różnice pomiędzy wersjami
Wygląd
Nie podano opisu zmian Znacznik: Wycofane |
Nie podano opisu zmian Znacznik: Wycofane |
||
| Linia 9: | Linia 9: | ||
/* --- Linki --- */ | /* --- Linki --- */ | ||
.skin-vector-2022 a { | .skin-vector-2022 a { color: #ffcc66 !important; } | ||
.skin-vector-2022 a:visited { color: #d4aa00 !important; } | |||
} | .skin-vector-2022 a.new { color: #ff6666 !important; } | ||
.skin-vector-2022 a:visited { | |||
} | |||
.skin-vector-2022 a.new { | |||
} | |||
/* --- Sidebar (lewe menu) --- */ | /* --- Sidebar (lewe menu) --- */ | ||
| Linia 52: | Linia 46: | ||
} | } | ||
/* --- Pasek zakładek strony | /* --- Pasek zakładek strony --- */ | ||
.skin-vector-2022 .vector-page-toolbar-container { | .skin-vector-2022 .vector-page-toolbar-container { | ||
background-color: #1a1a1a !important; | background-color: #1a1a1a !important; | ||
| Linia 86: | Linia 80: | ||
align-self: center; | align-self: center; | ||
} | } | ||
#footer-poweredbyico:hover { | #footer-poweredbyico:hover { opacity: 1; } | ||
} | |||
/* --- Pola edycji i formularze --- */ | /* --- Pola edycji i formularze --- */ | ||
| Linia 168: | Linia 160: | ||
} | } | ||
/* === | /* === Przyciski: scroll do góry === */ | ||
#scrollTopBtn { | #scrollTopBtn { | ||
display: none; | display: none; | ||
position: fixed; | position: fixed; | ||
bottom: 40px; | bottom: 40px; | ||
left: | left: 60px; /* poprawiona odległość od lewej krawędzi */ | ||
z-index: 9999; | z-index: 9999; | ||
width: 40px; | width: 40px; | ||
| Linia 181: | Linia 173: | ||
border: none; | border: none; | ||
border-radius: 8px; | border-radius: 8px; | ||
box-sizing: border-box; | |||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); | ||
font-size: 22px; | font-size: 22px; | ||
| Linia 189: | Linia 182: | ||
justify-content: center; | justify-content: center; | ||
padding: 0; | padding: 0; | ||
line-height: 0; | |||
} | } | ||
| Linia 197: | Linia 191: | ||
} | } | ||
#scrollTopBtn svg { | #scrollTopBtn svg { | ||
width: 20px; | width: 20px; | ||
Wersja z 13:59, 1 maj 2025
/* === Styl DarkVector dla Vector 2022 === */
/* --- Tło i tekst --- */
.skin-vector-2022,
.skin-vector-2022 body {
background-color: #2b2b2b !important;
color: #cccccc !important;
}
/* --- Linki --- */
.skin-vector-2022 a { color: #ffcc66 !important; }
.skin-vector-2022 a:visited { color: #d4aa00 !important; }
.skin-vector-2022 a.new { color: #ff6666 !important; }
/* --- Sidebar (lewe menu) --- */
.skin-vector-2022 .mw-sidebar {
background-color: #1a1a1a !important;
border-right: none !important;
}
/* --- Nagłówek górny (logo + user bar) --- */
.skin-vector-2022 .vector-header-container {
background-color: #1a1a1a !important;
border-bottom: 1px solid #444 !important;
}
/* --- Pasek wyszukiwania --- */
.skin-vector-2022 .vector-search-box-container {
background-color: #1a1a1a !important;
}
.skin-vector-2022 .vector-search-box,
.skin-vector-2022 .vector-search-box input {
background-color: #333333 !important;
color: #ffffff !important;
}
/* --- Pasek pod wyszukiwarką / kontener nagłówka --- */
.skin-vector-2022 .mw-header-container {
background-color: #1a1a1a !important;
border-bottom: 1px solid #444444 !important;
}
/* --- Pasek tytułu strony --- */
.skin-vector-2022 .vector-page-titlebar {
background-color: #1a1a1a !important;
}
/* --- Pasek zakładek strony --- */
.skin-vector-2022 .vector-page-toolbar-container {
background-color: #1a1a1a !important;
border-bottom: 1px solid #444 !important;
}
.skin-vector-2022 .vector-page-toolbar {
background-color: transparent !important;
}
/* --- Pasek narzędzi użytkownika --- */
.skin-vector-2022 .vector-user-links {
background-color: #1a1a1a !important;
}
/* --- Footer --- */
.skin-vector-2022 .mw-footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #1a1a1a !important;
color: #cccccc !important;
border-top: 1px solid #444;
font-size: 13px;
}
/* --- Logo MediaWiki w stopce --- */
#footer-poweredbyico {
padding-right: 10px;
margin-top: 5px;
opacity: 0.6;
align-self: center;
}
#footer-poweredbyico:hover { opacity: 1; }
/* --- Pola edycji i formularze --- */
.skin-vector-2022 input,
.skin-vector-2022 textarea,
.skin-vector-2022 select {
background-color: #333333 !important;
color: #ffffff !important;
border: 1px solid #555555;
}
/* --- Nagłówki --- */
.skin-vector-2022 h1,
.skin-vector-2022 h2,
.skin-vector-2022 h3,
.skin-vector-2022 h4 {
color: #ffcc66 !important;
}
/* --- Bloki komunikatów --- */
.skin-vector-2022 .mw-message-box {
background-color: #333333 !important;
border: 1px solid #555555;
color: #ffffff !important;
}
/* === Stylizacja przycisków === */
.skin-vector-2022 .mw-ui-button,
.skin-vector-2022 .oo-ui-buttonElement-button {
background-color: #ffcc66 !important;
color: #2b2b2b !important;
border: none !important;
box-shadow: none !important;
}
.skin-vector-2022 .mw-ui-button:hover,
.skin-vector-2022 .oo-ui-buttonElement-button:hover {
background-color: #e6b800 !important;
color: #000000 !important;
}
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button {
background-color: #ffcc66 !important;
color: #2b2b2b !important;
}
.skin-vector-2022 .oo-ui-flaggedElement-primary .oo-ui-buttonElement-button:hover {
background-color: #e6b800 !important;
color: #000000 !important;
}
/* === Styl WikiEditor === */
.skin-vector-2022 .mw-edittoolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar,
.skin-vector-2022 .wikiEditor-ui-toolbar .tabs,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections,
.skin-vector-2022 .wikiEditor-ui-toolbar .group {
background-color: #1b1b1b !important;
border: none !important;
}
.skin-vector-2022 .wikiEditor-ui-toolbar .group input,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool-select {
background-color: #2b2b2b !important;
color: #e0e0e0 !important;
border: 1px solid #444 !important;
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tool {
background-color: #2b2b2b !important;
color: #e0e0e0 !important;
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:hover,
.skin-vector-2022 .wikiEditor-ui-toolbar .tool:focus {
background-color: #3a3a3a !important;
color: #ffffff !important;
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tabs span,
.skin-vector-2022 .wikiEditor-ui-toolbar .sections span {
color: #cccccc !important;
}
.skin-vector-2022 .wikiEditor-ui-toolbar .tool img {
filter: brightness(0.8) invert(0.9);
}
/* === Przyciski: scroll do góry === */
#scrollTopBtn {
display: none;
position: fixed;
bottom: 40px;
left: 60px; /* poprawiona odległość od lewej krawędzi */
z-index: 9999;
width: 40px;
height: 40px;
background-color: #ffcc66;
color: #1a1a1a;
border: none;
border-radius: 8px;
box-sizing: border-box;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
font-size: 22px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
line-height: 0;
}
#scrollTopBtn:hover {
background-color: #e6b800;
transform: translateY(-2px) scale(1.05);
box-shadow: 0 4px 12px rgba(255, 204, 102, 0.6);
}
#scrollTopBtn svg {
width: 20px;
height: 20px;
stroke: #1a1a1a;
}