MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Hist. Verein Herne / Wanne-Eickel
Inhalt gelöscht Inhalt hinzugefügt
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 195: Zeile 195:
object-fit: cover;
object-fit: cover;
display: block;
display: block;
}

/* Platzhalter (Datei:Nochkeinbild.png): vollständig sichtbar
(nicht beschnitten), dezenter Hintergrund. */
.hv-neue-artikel-bild-platzhalter {
background: #f8f9fa;
box-sizing: border-box;
}

.hv-neue-artikel-bild-platzhalter img {
object-fit: contain !important;
opacity: 0.9;
}
}



Version vom 6. Mai 2026, 19:24 Uhr

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

#papier640-div {
    background: url("https://wiki.hv-her-wan.de/w/images/640x480papier.jpg") top center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#papier1000-div {
    background: url("https://wiki.hv-her-wan.de/w/images/1000x750papier.jpg") top center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#zeitung1000-div {
    background: url("https://wiki.hv-her-wan.de/w/images/1000x750zeitung.jpg") top center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#zeitung600-div {
    background: url("https://wiki.hv-her-wan.de/w/images/600x450zeitung.jpg") top center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#zeitung400-div {
    background: url("https://wiki.hv-her-wan.de/w/images/400x300zeitung.jpg") top center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#urkunde1000-div {
    background: url("https://wiki.hv-her-wan.de/w/images/1000x600urkunde.jpg") top center;
    width: 100%;
    height: 100%;
    background-size: cover;
}

#urkunde1001-div {
    background: url("https://wiki.hv-her-wan.de/w/images/1000x600urkunde.jpg") top center;
    width: auto;
    height: auto;
    background-size: cover;
}

#urkunde1002-div {
    background: url("https://wiki.hv-her-wan.de/w/images/1000x600urkunde.jpg");
    width: auto;
    height: auto;
    background-size: contain;
}

#rahmen1000-div {
    background: url("https://wiki.hv-her-wan.de/w/images/1000x200rahmen.jpg");
    width: 100%;
    height: 100%;
    background-size: contain;
}

#papier1200-div {
    background: url("https://wiki.hv-her-wan.de/w/images/papier1200.jpg");
    width: 100%;
    height: 100%;
    background-size: contain;
}

#strasse-div {
    background: url("https://wiki.hv-her-wan.de/w/images/Strasse-Hintergrund.jpg");
    width: auto;
    height: auto;
    background-size: cover;
}

#hus-div {
    background: url("http://wiki.hv-her-wan.de/w/images/hus_papier.jpg");
    width: auto;
    height: auto;
    background-size: cover;
}

#sr-div {
    background: url("https://wiki.hv-her-wan.de/w/images/SR1000.jpg");
    width: auto;
    height: auto;
    background-size: auto;
}

#rand-div {
    background: url("https://wiki.hv-her-wan.de/w/images/Rand.png");
    width: auto;
    height: auto;
    background-size: cover;
    background-color:#efd3ac;
}

#dgb1-div {
    background: url("https://wiki.hv-her-wan.de/w/images/DGB_Geschichtswerkstatt_Herne-kl_Logo25trans.png");
    width: auto;
    height: auto;
    background-size: contain;
    background-repeat: repeat;
}

#monno-div {
    background: url("https://wiki.hv-her-wan.de/w/images/monno-hg-papier.jpg");
    width: auto;
    height: auto;
    background-size: auto;
}

#haus-div {
    background: url("https://wiki.hv-her-wan.de/w/images/Hausnummrt.png");
    width: 55px;
    height: 25px;
    background-size: cover;
}

#strassenschild-div {
    background: url("https://wiki.hv-her-wan.de/w/images/Strassenschildvorlage.png");
    width: auto;
    height: auto;
    background-size: cover;
}

#buch-div {
    background: url("https://wiki.hv-her-wan.de/w/images/Buch.jpeg");
    width: auto;
    height: auto;
    background-size: auto;
}

#gerd1-div {
    background: url("https://wiki.hv-her-wan.de/w/images/blattgerda4.png");
    width: auto;
    height: auto;
    background-size: cover;
}

#hsch-div {
    background: url("https://wiki.hv-her-wan.de/w/images/Heinzschaeferhg.jpeg");
    width: auto;
    height: auto;
    background-size: cover;
}
/* ============================================================
   Vorlage:Hauptseite/Neue Artikel
   Kachel-Layout für die letzten 20 neu erstellten Seiten
   Bitte als Ergänzung in MediaWiki:Common.css einfügen
   ============================================================ */

.hv-neue-artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1em;
    margin: 0.5em 0 1em 0;
}

.hv-neue-artikel-kachel {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #c8ccd1;
    border-radius: 4px;
    padding: 0.6em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    overflow: hidden;
}

.hv-neue-artikel-kachel:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    transform: translateY(-1px);
}

.hv-neue-artikel-bild {
    display: block;
    width: 100%;
    margin-bottom: 0.5em;
    overflow: hidden;
    border-radius: 3px;
    background: #f8f9fa;
    aspect-ratio: 4 / 3;
    text-decoration: none;
}

.hv-neue-artikel-bild img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Platzhalter (Datei:Nochkeinbild.png): vollständig sichtbar
   (nicht beschnitten), dezenter Hintergrund. */
.hv-neue-artikel-bild-platzhalter {
    background: #f8f9fa;
    box-sizing: border-box;
}

.hv-neue-artikel-bild-platzhalter img {
    object-fit: contain !important;
    opacity: 0.9;
}

.hv-neue-artikel-bild-leer {
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            #f0f1f3,
            #f0f1f3 10px,
            #e6e8ea 10px,
            #e6e8ea 20px
        );
}

.hv-neue-artikel-titel {
    font-weight: bold;
    font-size: 1.0em;
    line-height: 1.3;
    margin-bottom: 0.3em;
}

.hv-neue-artikel-titel a {
    color: #0645ad;
    text-decoration: none;
}

.hv-neue-artikel-titel a:hover {
    text-decoration: underline;
}

.hv-neue-artikel-auszug {
    flex: 1 1 auto;
    color: #54595d;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 0.4em;
}

.hv-neue-artikel-datum {
    color: #72777d;
    font-size: 0.8em;
    margin-top: auto;
}

.hv-neue-artikel-leer {
    color: #54595d;
    font-style: italic;
    padding: 0.5em;
    grid-column: 1 / -1;
}

/* Schmale Bildschirme: kleinere Kacheln */
@media (max-width: 720px) {
    .hv-neue-artikel-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.6em;
    }
    .hv-neue-artikel-kachel {
        padding: 0.4em;
    }
    .hv-neue-artikel-titel { font-size: 0.95em; }
    .hv-neue-artikel-auszug { font-size: 0.85em; }
}