MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Markenheftchen
T1qj7p (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
T1qj7p (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (26 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 29: | Zeile 29: | ||
/* inset 0 -3em 3em rgb(0 200 0 / 30%), */ | /* inset 0 -3em 3em rgb(0 200 0 / 30%), */ | ||
/* 0 0 0 2px white, */ | /* 0 0 0 2px white, */ | ||
0.3em 0.3em 1em rgb(200 200 200 / 60%); | |||
} | |||
/* Schlagschatten für Bild oben links */ | |||
.timeless-logo img { | |||
box-shadow: | |||
0.3em 0.3em 1em rgb(200 200 200 / 60%); | 0.3em 0.3em 1em rgb(200 200 200 / 60%); | ||
} | } | ||
| Zeile 34: | Zeile 40: | ||
.mw-drop-shadow-soft { | .mw-drop-shadow-soft { | ||
display:inline-block; | display:inline-block; | ||
/* box-shadow: */ | |||
/* 0.3em 0.3em 1em rgb(200 200 200 / 60%); */ | |||
filter: drop-shadow(5px 5px 12px #c8c8c8); | |||
} | |||
.mw-gallery-slideshow { | |||
margin-left: 20px; | |||
margin-right: 20px; | |||
margin-top: 0px !important; | |||
margin-bottom: 0px !important; | |||
& .gallerytext { | |||
margin-top: 10px !important; | |||
margin-bottom: 10px !important; | |||
} | |||
} | } | ||
| Zeile 48: | Zeile 66: | ||
/* Zentriertes Grid für Bilder mit Quellenangabe */ | /* Zentriertes Grid für Bilder mit Quellenangabe */ | ||
/* Nötig, da die seitliche Quellenangabe auf dem */ | |||
/* Handy bei der responsiven Reformatierung */ | |||
/* ursprünglich unter das Bild rutschte. Nun */ | |||
/* bilden Bild, Quelle und Bildunterschrift */ | |||
/* eine Einheit. */ | |||
#imagegridc { | #imagegridc { | ||
margin: 0 0 0 3%; | margin: 0 0 0 3%; | ||
| Zeile 86: | Zeile 109: | ||
color: gray; | color: gray; | ||
/* writing-mode: vertical-lr; */ | /* writing-mode: vertical-lr; */ | ||
} | |||
.mw-dr-disclaimer-box { | |||
width: 90%; | |||
/* height: 150px; */ | |||
padding: 20px; | |||
border: 2px solid blue; | |||
border-radius: 15px; | |||
margin: 10px; | |||
/* background-color: lightblue; /* Optional: Hintergrundfarbe */ */ | |||
hyphens: auto; | |||
text-align: justify; | |||
} | } | ||
Aktuelle Version vom 26. November 2025, 17:28 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
img {
max-width:90%;
height:auto;
}
/* Artikelname in Kapitälchen */
.mw-page-title-main {
font-variant: small-caps;
/* font-family:arial, "lucida console", sans-serif; */ /* Schriftart */
}
/* Artikelüberschrift für MH und FB etc. (nicht h1, h2, h3, h4 etc.) */
.mw-item-heading {
font-weight: bold;
font-size:large;
}
h1, h2, h3, h4 {
/* color:#FF9F00; Farbe orange */
/* font-size:28pt; Größe 28pt */
/* font-family:arial, "lucida console", sans-serif; */ /* Schriftart */
}
.mw-mh-deckel {
display:inline-block;
box-shadow:
/* inset 0 -3em 3em rgb(0 200 0 / 30%), */
/* 0 0 0 2px white, */
0.3em 0.3em 1em rgb(200 200 200 / 60%);
}
/* Schlagschatten für Bild oben links */
.timeless-logo img {
box-shadow:
0.3em 0.3em 1em rgb(200 200 200 / 60%);
}
.mw-drop-shadow-soft {
display:inline-block;
/* box-shadow: */
/* 0.3em 0.3em 1em rgb(200 200 200 / 60%); */
filter: drop-shadow(5px 5px 12px #c8c8c8);
}
.mw-gallery-slideshow {
margin-left: 20px;
margin-right: 20px;
margin-top: 0px !important;
margin-bottom: 0px !important;
& .gallerytext {
margin-top: 10px !important;
margin-bottom: 10px !important;
}
}
.bild-mittig {
/* width: 200px; */
/* height: 200px; */
/* background-color: #0a0a23; */
display: flex;
justify-content: center;
align-items: center;
}
/* Zentriertes Grid für Bilder mit Quellenangabe */
/* Nötig, da die seitliche Quellenangabe auf dem */
/* Handy bei der responsiven Reformatierung */
/* ursprünglich unter das Bild rutschte. Nun */
/* bilden Bild, Quelle und Bildunterschrift */
/* eine Einheit. */
#imagegridc {
margin: 0 0 0 3%;
display: grid;
/* grid-template-rows: repeat(2, 1fr); */
grid-template-rows: min-content min-content;
grid-template-columns: auto min-content;
/* grid-template-columns: repeat(2, 1fr); */
grid-column-gap: 5px;
grid-row-gap: 5px;
align-items: center;
justify-content: center;
}
#igc-image { grid-area: 1 / 1 / 2 / 2; }
#igc-caption { grid-area: 2 / 1 / 3 / 2; justify-self: center;}
#igc-source { grid-area: 1 / 2 / 3 / 3; }
/* Quellenangabe vertikal => span */
.mw-quelle-vertikal {
vertical-align: middle;
writing-mode:tb-rl;
writing-mode:vertical-rl;
font-size: xx-small;
letter-spacing:2px;
}
/* Quellenangabe akmh */
/*.quelleakmh img { width: 100%; } */
.quelleakmh { position: relative; }
.quelleakmh::after {
content: " Quelle: akmh ";
position: absolute;
bottom: -5%;
right: 0;
opacity: 1;
font-size: 1em;
color: gray;
/* writing-mode: vertical-lr; */
}
.mw-dr-disclaimer-box {
width: 90%;
/* height: 150px; */
padding: 20px;
border: 2px solid blue;
border-radius: 15px;
margin: 10px;
/* background-color: lightblue; /* Optional: Hintergrundfarbe */ */
hyphens: auto;
text-align: justify;
}
#rectangle11{
width:50%;
height:50%;
border-style: solid;
border-color: red;
}
.overlayW61 {
position: absolute;
display: none;
width: 50%;
height: 50%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0,1);
border-style: solid;
border-color: red;
z-index: 2;
cursor: pointer;
}
.chromo-zd-container:hover .overlayW61 {
opacity: 1;
}
/*************************/
/* Timeless Skin Changes */
/*************************/
/* Werkzeuge ausblenden */
#site-tools.sidebar-chunk { display: none; }
/* "Druckversion" in 'Mehr' (rechts) ausblenden */
li#t-print { display:none; }
/*** Test ***/
/* Container holding the image and the text */
.container {
position: relative;
text-align: center;
color: white;
}
/* Bottom left text */
.bottom-left {
position: absolute;
bottom: 8px;
left: 16px;
}
/* Top left text */
.top-left {
position: absolute;
top: 8px;
left: 16px;
}
/* Top right text */
.top-right {
position: absolute;
top: 8px;
right: 16px;
}
/* Bottom right text */
.bottom-right {
position: absolute;
bottom: 8px;
right: 16px;
}
/* Centered text */
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.mygrid{
margin: 20px auto;
width:400px;
height:400px;
background-color:#fff;
display:grid;
grid-template-columns: 200px 200px;
grid-row: auto auto;
grid-column-gap: 20px;
grid-row-gap: 20px;
}
#mw-img-src {
color:#a020f0;
font-size: x-small;
/* letter-spacing:2px; */
}
