MediaWiki:Vector-2022.css: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
/******************************* | /******************************* | ||
* Hintergrund & Body | * Hintergrund & Body (global) | ||
*******************************/ | *******************************/ | ||
body { | body { | ||
background-color: #060e12; | background-color: #060e12; | ||
padding-top: 5.5rem; | padding-top: 5.5rem; | ||
background-image: | background-image: | ||
| Zeile 26: | Zeile 26: | ||
/******************************* | /******************************* | ||
* Content-Container | * Content-Container (global) | ||
*******************************/ | *******************************/ | ||
.mw-page-container { | .mw-page-container { | ||
| Zeile 45: | Zeile 45: | ||
/******************************* | /******************************* | ||
* Eigener Sticky-Header | * Eigener Sticky-Header (global) | ||
*******************************/ | *******************************/ | ||
#pixo-custom-header { | #pixo-custom-header { | ||
| Zeile 132: | Zeile 132: | ||
/******************************* | /******************************* | ||
* Vector-Module ausblenden | * Vector-Module ausblenden | ||
* (nur auf normalen Seiten) | |||
*******************************/ | *******************************/ | ||
body:not(.ns-special) .vector-column-end, | |||
.vector-column-end, | body:not(.ns-special) .vector-main-menu-container, | ||
.vector-main-menu-container, | body:not(.ns-special) .vector-sticky-pinned-container, | ||
.vector-sticky-pinned-container, | body:not(.ns-special) .vector-page-toolbar, | ||
.vector-page-toolbar, | body:not(.ns-special) .vector-sticky-header, | ||
.vector-sticky-header, | body:not(.ns-special) .vector-sticky-header-container, | ||
.vector-sticky-header-container, | body:not(.ns-special) #vector-sticky-header, | ||
#vector-sticky-header, | body:not(.ns-special) #pt-createaccount-2, | ||
#pt-createaccount-2, | body:not(.ns-special) #pt-login-2, | ||
#pt-login-2, | body:not(.ns-special) #pt-watchlist, | ||
#pt-watchlist, | body:not(.ns-special) #ca-watch, | ||
#ca-watch, | body:not(.ns-special) #pixo-custom-header-left #p-search .search-toggle, | ||
#pixo-custom-header-left #p-search .search-toggle, | body:not(.ns-special) .vector-user-links .mw-watchlink, | ||
.vector-user-links .mw-watchlink, | body:not(.ns-special) .vector-user-links .mw-watchlist-link { | ||
.vector-user-links .mw-watchlist-link | |||
{ | |||
display: none !important; | display: none !important; | ||
} | } | ||
/******************************* | /******************************* | ||
* Standard-Header „zusammenklappen“ | * Standard-Header „zusammenklappen“ | ||
* (global) | |||
*******************************/ | *******************************/ | ||
.vector-header, | .vector-header, | ||
.vector-header-container { | .vector-header-container { | ||
| Zeile 169: | Zeile 162: | ||
border: none !important; | border: none !important; | ||
background: transparent !important; | background: transparent !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
/* Inhalte des Vector-Headers ausblenden, | /* Inhalte des Vector-Headers ausblenden, | ||
außer unserer Suchbox #p-search | außer unserer Suchbox #p-search (falls noch dort) | ||
und dem Custom-Header */ | |||
.vector-header > *:not(#pixo-custom-header):not(#p-search) { | .vector-header > *:not(#pixo-custom-header):not(#p-search) { | ||
display: none !important; | display: none !important; | ||
} | |||
/******************************* | |||
* Spezialseiten (Login, Einstellungen, Konto) | |||
* – nur Hintergrund + Custom-Header | |||
*******************************/ | |||
/* Hintergrund auf Spezialseiten wie im Rest */ | |||
.ns-special body { | |||
background-color: #060e12; | |||
padding-top: 5.5rem; | |||
background-image: | |||
radial-gradient( | |||
ellipse 10% 100% at calc(50% - 800px) center, | |||
#112733 20%, | |||
#060e12 75%, | |||
transparent 100% | |||
), | |||
radial-gradient( | |||
ellipse 10% 100% at calc(50% + 800px) center, | |||
#112733 20%, | |||
#060e12 75%, | |||
transparent 100% | |||
); | |||
background-repeat: no-repeat; | |||
background-size: auto 100%, auto 100%; | |||
background-attachment: fixed; | |||
} | |||
/* Content-Container auf Spezialseiten angleichen */ | |||
.ns-special .mw-page-container { | |||
background-color: #060e1275 !important; | |||
background-repeat: no-repeat !important; | |||
background-size: 100% 100%, 100% 100%; | |||
border-bottom-left-radius: 30px !important; | |||
border-bottom-right-radius: 30px !important; | |||
padding: 20px !important; | |||
margin: 0 auto !important; | |||
max-width: 1600px; | |||
} | |||
.ns-special .mw-page-container .mw-content-container { | |||
background: transparent !important; | |||
} | |||
/* Custom-Header auf Spezialseiten erzwingen */ | |||
.ns-special #pixo-custom-header { | |||
display: block !important; | |||
} | |||
/* Standard-Vector-Header nur auf Spezialseiten einklappen | |||
(global schon 0 Höhe, hier nur extra Safety) */ | |||
.ns-special .vector-header { | |||
height: 0 !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: none !important; | |||
background: transparent !important; | |||
overflow: visible !important; | |||
} | } | ||
Version vom 5. März 2026, 06:46 Uhr
/*******************************
* Hintergrund & Body (global)
*******************************/
body {
background-color: #060e12;
padding-top: 5.5rem;
background-image:
radial-gradient(
ellipse 10% 100% at calc(50% - 800px) center,
#112733 20%,
#060e12 75%,
transparent 100%
),
radial-gradient(
ellipse 10% 100% at calc(50% + 800px) center,
#112733 20%,
#060e12 75%,
transparent 100%
);
background-repeat: no-repeat;
background-size: auto 100%, auto 100%;
background-attachment: fixed;
}
/*******************************
* Content-Container (global)
*******************************/
.mw-page-container {
background-color: #060e1275 !important;
background-repeat: no-repeat !important;
background-size: 100% 100%, 100% 100%;
border-bottom-left-radius: 30px !important;
border-bottom-right-radius: 30px !important;
padding: 20px !important;
margin: 0 auto !important;
max-width: 1600px;
}
.mw-page-container .mw-content-container {
background: transparent !important;
}
/*******************************
* Eigener Sticky-Header (global)
*******************************/
#pixo-custom-header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 5.5rem;
z-index: 1000;
background: transparent;
}
/* Inhalt des Headers auf Containerbreite begrenzen */
#pixo-custom-header-inner {
box-sizing: border-box;
max-width: 1600px;
margin: 0 auto;
padding: 0 3rem;
height: 100%;
display: flex;
align-items: center;
background-color: #060e12f0;
border-bottom: 1px solid #112733;
backdrop-filter: blur(8px);
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
}
/* Slots */
#pixo-custom-header-left,
#pixo-custom-header-center,
#pixo-custom-header-right {
flex: 1 1 0;
display: flex;
align-items: center;
gap: .75rem;
}
#pixo-custom-header-left {
justify-content: flex-start;
}
#pixo-custom-header-center {
justify-content: center;
}
#pixo-custom-header-right {
justify-content: flex-end;
}
/* Suchbox optional etwas begrenzen, falls im Custom-Header verwendet */
#pixo-custom-header-left .vector-search-box-vue {
max-width: 260px;
}
/*******************************
* Icon-Buttons im Header
*******************************/
.pixo-header-icon {
min-width: 2.25rem;
height: 2.25rem;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 .6rem;
font-size: 0.9rem;
color: #e5f3ff;
background: #112733;
text-decoration: none;
border: none;
cursor: pointer;
}
.pixo-header-icon:hover {
background: #183646;
}
/* Logo-Link im Header etwas anpassen */
#pixo-custom-header-center .mw-logo {
margin: 0;
display: flex;
align-items: center;
}
/*******************************
* Vector-Module ausblenden
* (nur auf normalen Seiten)
*******************************/
body:not(.ns-special) .vector-column-end,
body:not(.ns-special) .vector-main-menu-container,
body:not(.ns-special) .vector-sticky-pinned-container,
body:not(.ns-special) .vector-page-toolbar,
body:not(.ns-special) .vector-sticky-header,
body:not(.ns-special) .vector-sticky-header-container,
body:not(.ns-special) #vector-sticky-header,
body:not(.ns-special) #pt-createaccount-2,
body:not(.ns-special) #pt-login-2,
body:not(.ns-special) #pt-watchlist,
body:not(.ns-special) #ca-watch,
body:not(.ns-special) #pixo-custom-header-left #p-search .search-toggle,
body:not(.ns-special) .vector-user-links .mw-watchlink,
body:not(.ns-special) .vector-user-links .mw-watchlist-link {
display: none !important;
}
/*******************************
* Standard-Header „zusammenklappen“
* (global)
*******************************/
.vector-header,
.vector-header-container {
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
background: transparent !important;
overflow: visible !important;
}
/* Inhalte des Vector-Headers ausblenden,
außer unserer Suchbox #p-search (falls noch dort)
und dem Custom-Header */
.vector-header > *:not(#pixo-custom-header):not(#p-search) {
display: none !important;
}
/*******************************
* Spezialseiten (Login, Einstellungen, Konto)
* – nur Hintergrund + Custom-Header
*******************************/
/* Hintergrund auf Spezialseiten wie im Rest */
.ns-special body {
background-color: #060e12;
padding-top: 5.5rem;
background-image:
radial-gradient(
ellipse 10% 100% at calc(50% - 800px) center,
#112733 20%,
#060e12 75%,
transparent 100%
),
radial-gradient(
ellipse 10% 100% at calc(50% + 800px) center,
#112733 20%,
#060e12 75%,
transparent 100%
);
background-repeat: no-repeat;
background-size: auto 100%, auto 100%;
background-attachment: fixed;
}
/* Content-Container auf Spezialseiten angleichen */
.ns-special .mw-page-container {
background-color: #060e1275 !important;
background-repeat: no-repeat !important;
background-size: 100% 100%, 100% 100%;
border-bottom-left-radius: 30px !important;
border-bottom-right-radius: 30px !important;
padding: 20px !important;
margin: 0 auto !important;
max-width: 1600px;
}
.ns-special .mw-page-container .mw-content-container {
background: transparent !important;
}
/* Custom-Header auf Spezialseiten erzwingen */
.ns-special #pixo-custom-header {
display: block !important;
}
/* Standard-Vector-Header nur auf Spezialseiten einklappen
(global schon 0 Höhe, hier nur extra Safety) */
.ns-special .vector-header {
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
border: none !important;
background: transparent !important;
overflow: visible !important;
}