MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Ottonien Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 135: Zeile 135:
     margin-top: -1em;
     margin-top: -1em;
}
}
/* ---- ENDE MAINPAGE CSS ---- */


 
/* ---- START MAINPAGE SHOWCASE ---- */
.mainpage-contents {
.mainpage-showcase {
     grid-area: content;
     grid-area: content;
     grid-template-columns: repeat(4px, 1fr);
     grid-template-columns: repeat(4px, 1fr);
     border-radius: 10px;
     border-radius: 10px;
}
}
 
/* ---- END MAINPAGE CONTENTS ---- */
.mainpage-contents .tile-halves {
    flex: 1;
}
 
.mainpage-contents .tile-top {
    position: relative;
}
 
.mainpage-contents h2 {
    margin: 0;
    padding: 0;
}
 
.mainpage-contents .tile-bottom.link-button a {
    padding: 0.75em 0.2em;
}
/* ---- ENDE MAINPAGE CSS ---- */
 
.tile-row {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 1em;
    padding: 20px;
}
 
.tile-halves {
    display: flex;
    flex-flow: row wrap;
    border: 1px solid var(--tile-border-color);
    background: var(--beige-dark);
    box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
    margin: 20px;
}
 
.tile-halves h2 {
    font-size: 1.4em;
    font-weight: bold;
    border: none;
    margin: 0 0 0.4em;
}
 
.tile-halves .byline + h2 {
    margin-top: -0.5em;
}
 
.tile-top {
    width: 100%;
    padding: 1.3rem 1.5rem 0.6rem;
}
 
.tile-top.tile-image {
    display: flex;
    align-items: center;
    background-color: var(--byline-color);
    overflow: hidden;
    padding: 0;
    height: 13vw;
    max-height: 12em;
    transition: 0.4s ease-out;
}
 
.tile-halves:hover .tile-top.tile-image img {
    transform: scale(1.1);
    transition: 0.5s ease-out;
}
 
.tile-top.tile-image span {
    width: 100%;
}
 
.tile-top.tile-image img {
    width: 100%;
    object-fit: cover;
    max-height: 200px;
    transition: 0.4s ease-out;
}
 
.tile-bottom {
    background: var(--tile-background-color);
    border-top: 1px solid var(--tile-border-color);
    width: 100%;
    padding: 1rem 1.5rem 0.6rem;
}
 
.tile-bottom.link-button {
    align-self: flex-end;
    padding: 0;
}
 
.tile-bottom.link-button a {
    display: block;
    text-align: center;
    padding: 0.75em 1.5em 0.8em;
    text-decoration: none;
}
 
.tile-bottom.read-more {
    background: var(--tile-link-button-color);
    transition: 0.3s ease-out;
}
 
.tile-bottom.read-more a {
    color: var(--byline-color);
    font-weight: bold;
    text-align: right;
}
 
.tile-bottom.read-more:hover {
    background: var(--tile-link-button-highlight-color);
}
 
.tile-bottom.read-more:hover .arrow {
    transform: translateX(50%);
}
 
.tile-bottom.read-more .arrow {
    filter: var(--byline-arrow-filter);
    margin-left: 0.4em;
    transition: 0.3s ease-out;
}

Version vom 26. Juli 2024, 00:53 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* CSS für das Desktop-Theme (Vector) wird hier angepasst: [[Mediawiki:Vector.css]] */
/* CSS für das Mobile-Theme (Minerva) wird hier angepasst: [[Mediawiki:Minerva.css]] */


/* ---- START VARIABLEN ---- */
@import url( 'https://fonts.googleapis.com/css?family=Metamorphous|Metamorphous ');
@import url( 'https://www.fonts.googleapis.com/css?family=Marcellus|Marcellus');
:root {
    --beige-dark: #c7aa90;
    --beige-dark-2: #ceb499;
    --beige-light: #dbd2bf;
    --dark-grey: #3c3c3c;

    --text-brown: #513e2a;
    --text-color: #3c3c3c;
    --link-color: #8f7459;
    --redlink-color: #c7aa90;
}
/* ---- ENDE VARIABLEN ---- */


/* ---- START BACKGROUND ---- */
body {
    background: url(/Ottonien_Wiki_background.jpg) no-repeat, var(--beige-dark-2);
}

/* ---- ENDE BACKGROUND ---- */


/* ---- START TOP BAR ---- */
#mw-page-base {
    background: none;
}
/* ---- END TOP BAR ---- */


/* ---- START CONTENT TYPO ---- */
#content h1, 
#content h2 {
  font-family: "Metamorphous";
  color: var(--text-brown);
  border-bottom: 1px solid var(--beige-dark-2);
}

a {
    color: var(--link-color);
}

a:visited,
a:active {
    color: var(--link-color);
}

a.new {
    color: var(--redlink-color);
}

a.new:visited {
    color: var(--redlink-color);
}

a.external {
    color: var(--link-color);
}

a.external:visited {
    color: var(--link-color);
}
/* ---- ENDE CONTENT TYPO ---- */


/* ---- START PAGE CONTENT ---- */
.mw-body {
    background-color: var(--beige-light);
    color: var(--text-color);
    border-color: transparent;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
    margin-top: 0;
}
/* ---- END PAGE CONTENT ---- */


/* ---- START SIDEBAR ---- */

.mw-wiki-logo {
    transform: scale(0.85);
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
    font-weight: bold;
    background-image: unset;
    color: var(--dark-grey);
}

.vector-menu-content li a {
    color: #665d52 !important;
}

/* ---- END SIDEBAR ---- */



/* ---- START MAINPAGE SPECIAL CSS ---- */

body.page-Hauptseite h1.firstHeading { 
    display:none;
}

.mainpage-header {
    display: flex;
    margin: 2.6em 1.75em 1.5em;
}

.mainpage-header .header-intro {
    flex: 2;
}

.mainpage-header .header-intro h1 {
    font-size: 2.5em;
    border: none;
    font-weight: bold;
    margin: 0 0 0.15em;
}

.mainpage-header .header-intro p {
    font-size: 1.1em;
    line-height: 1.7em;
}

.mainpage-header .header-stats {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1em;
}
/* ---- ENDE MAINPAGE CSS ---- */

/* ---- START MAINPAGE SHOWCASE ---- */
.mainpage-showcase {
    grid-area: content;
    grid-template-columns: repeat(4px, 1fr);
    border-radius: 10px;
}
/* ---- END MAINPAGE CONTENTS ---- */