MediaWiki:Common.css: Difference between revisions

From Global Migrate

(Die Seite wurde neu angelegt: „→‎Das folgende CSS wird für alle Benutzeroberflächen geladen.: .gm-banner { width: 100%; position: relative; margin-top: 1rem; margin-bottom: 1.5rem; } .gm-banner img.mw-file-element { width: 100%; height: 100%; } .gm-banner-text h2 { color: white; border-color: #444; } .gm-banner > table { display: none; } .gm-banner-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 5rem 1r…“)
 
(Fonts)
Line 1: Line 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */


/* == Fonts == */
/*
TODO: WICHITG!
Font selber hosten!
Google Fonts hosting verstößt gegen die GDPR!
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
/* Headline */
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    font-family: Manrope, sans-serif;
}
/* Body */
html, body {
    font-family: sans-serif;
}
/* == Banner == */
.gm-banner {
.gm-banner {
     width: 100%;
     width: 100%;

Revision as of 12:44, 23 July 2024

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* == Fonts == */

/*
TODO: WICHITG!
Font selber hosten!
Google Fonts hosting verstößt gegen die GDPR!
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* Headline */
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    font-family: Manrope, sans-serif;
}

/* Body */
html, body {
    font-family: sans-serif;
}

/* == Banner == */
.gm-banner {
    width: 100%;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.gm-banner img.mw-file-element {
    width: 100%;
    height: 100%;
}

.gm-banner-text h2 {
    color: white;
    border-color: #444;
}

.gm-banner > table {
    display: none;
}

.gm-banner-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5rem 1rem 1rem;
    background: linear-gradient(transparent, black);
}