Zuletzt bearbeitet vor 3 Tagen
von Meryam Sahin

MediaWiki:Common.css: Unterschied zwischen den Versionen

Meryam Sahin (Diskussion | Beiträge)
K 1 Version importiert
Meryam Sahin (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Zeile 63: Zeile 63:
     outline-offset: -4px;
     outline-offset: -4px;
     border-radius: 8px;
     border-radius: 8px;
}
.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
}
}

Version vom 19. November 2026, 14:37 Uhr

/* AI-Disclaimer im Footer zentrieren */
ul#footer-links li:nth-child(6) {
    width: 100%;
    text-align: center;
    margin-top: 0.5em;
}

/* Buttons in Karten (.btnrow / .btn)
   Identisch mit dem PW-Wiki. Ersetzt den alten Block
   "Custom Mainpage".
   - .btnrow .btn wirkt auf allen Seiten
   - .custom-dashboard .btn bleibt vorerst fuer Altvorlagen
   - Farben aus --wiki-color, Rueckfallwert #3e5389 */
.btnrow {
    text-align: center;
}

.btnrow .btn,
.custom-dashboard .btn {
    display: inline-block;
    margin: 1.4rem;
    padding: 0;
    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;
    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; keine gepunktete Unterstreichung */
.mw-body-content .btnrow .btn a,
.mw-body-content .custom-dashboard .btn a {
    display: block;
    padding: 0.3rem 0.5rem;
    text-decoration: none;
}

.btnrow .btn:hover,
.btnrow .btn:focus-within,
.custom-dashboard .btn:hover,
.custom-dashboard .btn:focus-within {
    background: #eef1f8;
    background: color-mix(in srgb, var(--wiki-color, #3e5389) 12%, white);
    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);
}

.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;
}

.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
}