Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 94: | Zeile 94: | ||
.navbar-sitenotice . | .navbar-sitenotice .bi::before { | ||
font-size:1.2em; | |||
vertical-align:-0.2em | |||
} | } | ||
.navbar-sitenotice . | .navbar-sitenotice .bi-person-fill { | ||
color: #3c72a0; | |||
} | |||
.navbar-sitenotice .bi-gear-fill { | |||
color: #366f3c | color: #366f3c | ||
} | } | ||
.navbar-sitenotice . | .navbar-sitenotice .bi-rocket-takeoff-fill { | ||
color: #d96b1f | color: #d96b1f | ||
} | } | ||
Aktuelle Version vom 19. November 2026, 14:35 Uhr
/*align AI-Disclaimer in footer */
ul#footer-links li:nth-child(6) {width:100%; text-align:center; margin-top:0.5em}
/* ==========================================================
Buttons in Karten (.btnrow / .btn)
Ersetzt den alten Block "Custom Mainpage".
- .btnrow .btn wirkt auf allen Seiten, nicht nur in .custom-dashboard
- .custom-dashboard .btn bleibt vorerst fuer Altvorlagen erhalten
- Spezifitaet 0,2,0 schlaegt Bootstraps .btn (0,1,0)
- Farben kommen aus --wiki-color (pro Wiki gesetzt),
Rueckfallwert #3e5389, falls die Variable fehlt
========================================================== */
.btnrow {
text-align: center;
}
.btnrow .btn,
.custom-dashboard .btn {
display: inline-block;
margin: 1.4rem;
padding: 0;
/* heller Hintergrund: 5 % Wiki-Farbe auf Weiss */
background: #f7f7f8;
background: color-mix(in srgb, var(--wiki-color, #3e5389) 5%, white);
border: 1px solid #3e5389;
border-color: var(--wiki-color, #3e5389);
border-radius: 10px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.06);
overflow: hidden;
/* Bootstrap-Vorgaben von .btn neutralisieren */
font-size: inherit;
font-weight: inherit;
line-height: inherit;
white-space: normal;
vertical-align: middle;
user-select: auto;
transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
/* Link fuellt den ganzen Button: auch Klicks auf den Rand funktionieren */
.btnrow .btn a,
.custom-dashboard .btn a {
display: block;
padding: 0.3rem 0.5rem;
}
.btnrow .btn a:hover,
.custom-dashboard .btn a:hover {
text-decoration: none;
}
.btnrow .btn:hover,
.btnrow .btn:focus-within,
.custom-dashboard .btn:hover,
.custom-dashboard .btn:focus-within {
/* etwas kraeftigerer Farbton: 12 % Wiki-Farbe auf Weiss */
background: #eef1f8;
background: color-mix(in srgb, var(--wiki-color, #3e5389) 12%, white);
/* Rahmen leicht aufgehellt: 80 % Wiki-Farbe, 20 % Weiss */
border-color: #5470b3;
border-color: color-mix(in srgb, var(--wiki-color, #3e5389) 80%, white);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.08);
}
/* Sichtbarer Tastaturfokus */
.btnrow .btn a:focus-visible,
.custom-dashboard .btn a:focus-visible {
outline: 2px solid #3e5389;
outline-color: var(--wiki-color, #3e5389);
outline-offset: -4px;
border-radius: 8px;
}
/* Sitenotice usecase nav */
.navbar-sitenotice {
padding: 0;
font-size: 0.7em;
border-radius: 10px;
}
.page-Hauptseite .navbar-sitenotice {display:none}
.navbar-sitenotice .navbar-brand {
font-size: 1.1em;
color: #6b6d6b;
margin-top: 0.7em;
margin-left: 1.5em;
}
.navbar-sitenotice .bi::before {
font-size:1.2em;
vertical-align:-0.2em
}
.navbar-sitenotice .bi-person-fill {
color: #3c72a0;
}
.navbar-sitenotice .bi-gear-fill {
color: #366f3c
}
.navbar-sitenotice .bi-rocket-takeoff-fill {
color: #d96b1f
}
.navbar-sitenotice .nav-link {
margin: 0.5em!important;
display: inline;
background: white;
border-color: #5470b3;
border-color: rgb(210 210 210);
border-radius: 10px;
user-select: auto;
transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
.navbar-sitenotice .nav-link:hover {
background: white;
outline: 1px solid #3e5389;
border-color: var(--wiki-color, #e3e3e3);
}
.navbar-sitenotice .nav-link a:hover {
text-decoration: none!important;
}