MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
(448 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* 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 { | :root { | ||
-- | --beige-dark: #c7aa90; | ||
-- | --beige-dark-2: #ceb499; | ||
-- | --beige-light: #dbd2bf; | ||
--beige-light-2: #e8e2d7; | |||
--pale-white: #e7e3da; | |||
--pale-ocean: #2d3843; | |||
--royal-orange: #d49d49; | |||
--dark-grey: #3c3c3c; | --dark-grey: #3c3c3c; | ||
--text-brown: #513e2a; | |||
--text-color: #3c3c3c; | |||
--link-color: #8f7459; | |||
--link-color-highlight: a0866d; | |||
--redlink-color: #c7aa90; | |||
} | } | ||
/* ---- ENDE VARIABLEN ---- */ | |||
/* ---- START BACKGROUND ---- */ | |||
body { | body { | ||
background: url(/Ottonien_Wiki_background.jpg) no-repeat, var(--beige-dark-2); | |||
text-rendering: optimizeLegibility; | |||
-webkit-font-smoothing: antialiased; | |||
-moz-osx-font-smoothing: grayscale; | |||
-moz-font-feature-settings: "liga" on; | |||
} | } | ||
/* ---- ENDE BACKGROUND ---- */ | |||
/* ---- START TOP BAR ---- */ | |||
#mw-page-base { | #mw-page-base { | ||
background: none; | background: none; | ||
} | } | ||
/* ---- END TOP BAR ---- */ | |||
/* ---- START CONTENT TYPO ---- */ | |||
#content h1, | |||
#content h2 { | |||
font-family: "Metamorphous"; | |||
font-weight: normal; | |||
color: var(--text-brown); | |||
border-bottom: 1px solid var(--beige-dark-2); | |||
} | |||
#content h3 { | |||
border: none !important; | |||
font-weight: bold; | |||
font-size: 1.2em; | |||
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 { | .mw-body { | ||
background-color: var(-- | background-color: var(--beige-light); | ||
color: var(--text-color); | color: var(--text-color); | ||
border-color: transparent; | border-color: transparent; | ||
box-shadow: 0 0 7px rgba(0, 0, 0, 0.15); | box-shadow: 0 0 7px rgba(0, 0, 0, 0.15); | ||
margin-top: 0; | margin-top: 0; | ||
} | |||
/* ---- END PAGE CONTENT ---- */ | |||
/* ---- START TOC ---- */ | |||
.toc { | |||
background-color: var(--beige-light-2); | |||
border: 1px solid var(--beige-dark-2); | |||
padding: 0px; | |||
} | } | ||
/* | .toc .toctitle { | ||
background-color: var(--beige-dark-2); | |||
padding-top: 0.5em; | |||
padding-bottom: 0.5em; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | |||
.toctogglelabel { | |||
color: var(--link-color); | |||
} | |||
.toc ul { | |||
padding-top: 0.5em; | |||
padding-bottom: 0.5em; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | |||
/* ---- END TOC ---- */ | |||
/* ---- START SIDEBAR ---- */ | |||
.mw-wiki-logo { | .mw-wiki-logo { | ||
transform: scale(0.85); | |||
} | } | ||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | .vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { | ||
font-weight: bold; | font-weight: bold; | ||
Zeile 43: | Zeile 142: | ||
.vector-menu-content li a { | .vector-menu-content li a { | ||
color: #665d52 !important; | color: #665d52 !important; | ||
} | |||
/* ---- END SIDEBAR ---- */ | |||
/* ---- START MAINPAGE SPECIAL CSS ---- */ | |||
body.page-Hauptseite h1.firstHeading { | |||
display:none; | |||
} | |||
.mainpage-body { | |||
display: grid; | |||
grid-template-areas: "event event event" "update update update" "content content content" "left left right"; | |||
gap: 0.9rem; | |||
grid-template-columns: repeat(3, 1fr); | |||
} | |||
.mainpage-body .tile-row { | |||
display: grid; | |||
gap: 0.9rem; | |||
} | |||
.mainpage-left { | |||
grid-area: left; | |||
flex: 2; | |||
display: flex; | |||
flex-flow: column wrap; | |||
padding-left: 2rem; | |||
padding-right: 1rem; | |||
} | |||
.mainpage-right { | |||
grid-area: right; | |||
flex: 1; | |||
display: flex; | |||
flex-flow: column wrap; | |||
padding-right: 2rem; | |||
padding-left: 1rem; | |||
} | |||
.mainpage-header { | |||
display: flex; | |||
} | |||
.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; | |||
margin-top: -1em; | |||
} | |||
/* ---- ENDE MAINPAGE CSS ---- */ | |||
/* ---- START MAINPAGE SHOWCASE ---- */ | |||
.showcase-section { | |||
margin-top: 20px; | |||
width: 100%; | |||
box-sizing: border-box; | |||
margin-bottom: 20px !important; | |||
} | |||
.showcase-wrapper { | |||
width: 100%; | |||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: space-between; | |||
flex-direction: row; | |||
} | |||
.showcase-card { | |||
overflow: hidden; | |||
box-shadow: 0px 1px 4px 0px var(--text-brown); | |||
background-color: var(--beige-light-2); | |||
text-align: center; | |||
border-radius: 1rem; | |||
position: relative; | |||
width: 31.5%; | |||
margin-left: 0px; | |||
} | |||
.showcase-card:not(:first-child) { | |||
margin-left: 15px; | |||
} | |||
.showcase-card:hover { | |||
transform: translateY(-5px); | |||
filter: brightness(105%); | |||
transition-timing-function: ease-in-out; | |||
transition: 200ms; | |||
} | |||
.showcase-img-1 { | |||
background-image: url(/images/cards/card-img-1.jpg); | |||
height: 10rem; | |||
width: 100%; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: cover; | |||
} | |||
.showcase-img-2 { | |||
background-image: url(/images/cards/card-img-2.jpg); | |||
height: 10rem; | |||
width: 100%; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: cover; | |||
} | |||
.showcase-img-3 { | |||
background-image: url(/images/cards/card-img-3.jpg); | |||
height: 10rem; | |||
width: 100%; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
background-size: cover; | |||
} | |||
.showcase-title-div { | |||
background-color: var(--beige-light-2); | |||
width: 100%; | |||
padding-top: 0px; | |||
padding-bottom: 15px; | |||
} | |||
.showcase-title { | |||
margin: none; | |||
padding: none; | |||
font-size: 1.5rem; | |||
border: none !important; | |||
vertical-align: middle; | |||
} | |||
/* Responsive layout - makes a one column layout instead of a two-column layout */ | |||
@media (max-width: 800px) { | |||
.mainpage-body { | |||
display: grid; | |||
grid-template-areas: "event" "update" "content" "left"; | |||
gap: 0.9rem; | |||
grid-template-columns: repeat(1, 100%); | |||
} | |||
.mainpage-left { | |||
grid-column: span 1 !important; | |||
grid-area: left; | |||
flex: 1; | |||
display: flex; | |||
flex-flow: column wrap; | |||
padding-left: 0px; | |||
padding-right: 0px; | |||
} | |||
.mainpage-right { | |||
width: 100% !important; | |||
grid-column: span 1 !important; | |||
grid-area: left; | |||
flex: 1; | |||
display: flex; | |||
flex-flow: column wrap; | |||
padding-right: 0px; | |||
padding-left: 0px; | |||
} | |||
.showcase-wrapper { | |||
flex-direction: column; | |||
} | |||
.showcase-card { | |||
width: 100% !important; | |||
margin-bottom: 2rem; | |||
margin-left: 0px !important; | |||
} | |||
.messagebox { | |||
width: 100%; | |||
} | |||
.messagebox.stub { | |||
width: 100%; | |||
} | |||
} | |||
/* ---- END MAINPAGE CONTENTS ---- */ | |||
.tile-halves { | |||
display: flex; | |||
flex-flow: row wrap; | |||
border: 1px solid var(--tile-border-color); | |||
background: var(--beige-light-2); | |||
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); | |||
} | |||
.tile-top { | |||
width: 100%; | |||
padding: 1.3rem 1.5rem 0.6rem; | |||
} | |||
.tile-top h2 { | |||
margin-top: 0px !important; | |||
} | |||
.tile-bottom { | |||
background: var(--pale-ocean); | |||
border-top: 1px solid var(--tile-border-color); | |||
width: 100%; | |||
padding: 1rem 1.5rem 0.6rem; | |||
color: var(--royal-orange) !important; | |||
font-weight: bold !important; | |||
border-radius: 0px 0px 10px 10px; | |||
} | |||
.tile-bottom a { | |||
color: var(--pale-white) !important; | |||
} | |||
.skillbox { | |||
border: 1px solid var(--beige-mid); | |||
border-radius: 10px; | |||
margin-top: 15px !important; | |||
margin-bottom: 20px !important; | |||
} | |||
.skillbox ul { | |||
columns: 4 9em; | |||
margin: 1em 0.7em 0.7em 1em; | |||
} | |||
.skillbox li { | |||
display: flex; | |||
margin-bottom: 0.29em; | |||
} | |||
.skillbox li span a { | |||
border-radius: 2px; | |||
padding: 4px; | |||
width: 25px; | |||
height: 25px; | |||
text-align: center; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.skillbox li > a:last-child { | |||
flex: 1; | |||
display: flex; | |||
align-items: center; | |||
font-weight: bold; | |||
padding-left: 0.7em; | |||
text-decoration: none; | |||
} | |||
.skillbox li:hover a:first-child { | |||
border-radius: 2px 0 0 2px; | |||
} | |||
.skillbox li:hover > a:last-child { | |||
color: var(--link-color-highlight); | |||
border-radius: 0 2px 2px 0; | |||
} | |||
.skillbox li span a { | |||
border-radius: 2px; | |||
padding: 4px; | |||
width: 25px; | |||
height: 25px; | |||
text-align: center; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.itembox { | |||
border: 1px solid var(--beige-mid); | |||
border-radius: 10px; | |||
margin-top: 15px !important; | |||
margin-bottom: 20px !important; | |||
} | |||
.itembox ul { | |||
columns: 3 9em; | |||
margin: 1em 0.7em 0.7em 1em; | |||
} | |||
.itembox li { | |||
display: flex; | |||
margin-bottom: 0.4em; | |||
margin-top: 0.4em; | |||
} | |||
.itembox li span a { | |||
border-radius: 2px; | |||
padding: 4px; | |||
width: 25px; | |||
height: 25px; | |||
text-align: center; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.itembox li > a:last-child { | |||
flex: 1; | |||
display: flex; | |||
align-items: center; | |||
font-weight: bold; | |||
padding-left: 0.7em; | |||
text-decoration: none; | |||
} | |||
.itembox li:hover a:first-child { | |||
border-radius: 2px 0 0 2px; | |||
} | |||
.itembox li:hover > a:last-child { | |||
color: var(--link-color-highlight); | |||
border-radius: 0 2px 2px 0; | |||
} | |||
.itembox li span a { | |||
border-radius: 2px; | |||
padding: 4px; | |||
width: 25px; | |||
height: 25px; | |||
text-align: center; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.mainpage-discord { | |||
margin-top: 27px; | |||
border: none; | |||
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3); | |||
} | |||
.mainpage-discord .tile-top { | |||
display: flex; | |||
align-items: center; | |||
background: var(--pale-ocean); | |||
padding: 1em 1.75em; | |||
border-radius: 10px 10px 0px 0px; | |||
} | |||
.mainpage-discord .tile-top a { | |||
flex: 1; | |||
position: relative; | |||
text-decoration: none; | |||
} | |||
.mainpage-discord .tile-top a:hover .arrow { | |||
transform: translateX(50%); | |||
} | |||
.mainpage-discord .tile-bottom { | |||
background: #6671d1; | |||
border: none; | |||
padding: 1em 1.75em; | |||
} | |||
.mainpage-discord .tile-bottom p { | |||
color: #fff; | |||
font-weight: bold; | |||
font-size: 0.9em; | |||
text-align: center; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
margin: 0; | |||
} | |||
.mainpage-discord .partner-icon { | |||
margin-right: 0.75em; | |||
} | |||
.mainpage-discord .textdiv { | |||
display: flex; | |||
flex-flow: column wrap; | |||
justify-content: left; | |||
align-items: left; | |||
} | |||
.mainpage-discord .server-name { | |||
color: var(--pale-white); | |||
font-weight: bold; | |||
font-size: 1.25em; | |||
margin-left: 15px | |||
} | |||
.mainpage-discord .server-tagline { | |||
color: var(--beige-light); | |||
margin-bottom: 0.5em; | |||
margin-left: 15px | |||
} | |||
.mainpage-patreon { | |||
margin-top: 27px; | |||
border: none; | |||
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3); | |||
} | |||
.mainpage-patreon .tile-top { | |||
height: 90px; | |||
display: flex; | |||
align-items: center; | |||
background: var(--pale-ocean); | |||
border-radius: 10px 10px 0px 0px; | |||
background-position: center; | |||
background-image: url(/images/cards/icon-patreon.jpg); | |||
background-size: cover; | |||
} | |||
.mainpage-patreon .tile-bottom { | |||
background: var(--dark-grey); | |||
border: none; | |||
padding: 1em 1.75em; | |||
} | |||
.mainpage-patreon .tile-bottom p { | |||
color: var(--pale-white); | |||
font-weight: bold; | |||
font-size: 0.9em; | |||
text-align: center; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
margin: 0; | |||
} | |||
.gefolgeranking { | |||
border: 1px solid var(--beige-mid); | |||
border-radius: 10px; | |||
margin-top: 27px; | |||
} | |||
.gefolgeranking ul { | |||
columns: 1 9em; | |||
margin: 1em 0.7em 0.7em 1em; | |||
} | |||
.gefolgeranking li { | |||
display: flex; | |||
margin-bottom: 0.4em; | |||
margin-top: 0.4em; | |||
} | |||
.gefolgeranking li span a { | |||
border-radius: 2px; | |||
padding: 4px; | |||
width: 25px; | |||
height: 25px; | |||
text-align: center; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.gefolgeranking li > a:last-child { | |||
flex: 1; | |||
display: flex; | |||
align-items: center; | |||
font-weight: bold; | |||
padding-left: 0.7em; | |||
text-decoration: none; | |||
} | |||
.gefolgeranking li:hover a:first-child { | |||
border-radius: 2px 0 0 2px; | |||
} | |||
.gefolgeranking li:hover > a:last-child { | |||
color: var(--link-color-highlight); | |||
border-radius: 0 2px 2px 0; | |||
} | |||
.gefolgeranking li span a { | |||
border-radius: 2px; | |||
padding: 4px; | |||
width: 25px; | |||
height: 25px; | |||
text-align: center; | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.catlinks { | |||
background-color: var(--pale-white); | |||
border: 1px solid var(--beige-dark); | |||
} | |||
.catlinks .mw-normal-catlinks { | |||
padding-left: 1.5em; | |||
} | |||
.messagebox { | |||
width: 65%; | |||
margin: 0.5em auto; | |||
margin-bottom: 25px; | |||
border-left: 15px solid; | |||
border-color: var(--beige-dark-2); | |||
background-color: var(--beige-light-2); | |||
box-sizing: border-box; | |||
padding: 15px; | |||
} | |||
.messagebox-image { | |||
padding-right: 15px; | |||
} | |||
.messagebox.stub { | |||
width: 40%; | |||
} | |||
.messagebox.info { | |||
background-color: var(--beige-light-2); | |||
border-color: var(--beige-dark-2); | |||
color: var(--text-brown); | |||
} | |||
figure[typeof~='mw:File/Thumb'].mw-halign-right { | |||
background-color: var(--beige-light-2); | |||
border-color: var(--beige-dark-2); | |||
color: var(--text-brown); | |||
} | |||
figure[typeof~='mw:File/Thumb'].mw-halign-left { | |||
background-color: var(--beige-light-2); | |||
border-color: var(--beige-dark-2); | |||
color: var(--text-brown); | |||
} | |||
figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element { | |||
background-color: var(--beige-light); | |||
border-color: var(--beige-dark-2); | |||
color: var(--text-brown); | |||
} | |||
.mw-content-ltr figure[typeof~='mw:File/Thumb'] > figcaption, .mw-content-ltr figure[typeof~='mw:File/Frame'] > figcaption { | |||
background-color: var(--beige-light-2); | |||
border-color: var(--beige-dark-2); | |||
color: var(--text-brown); | |||
} | |||
.thin-table tr th, | |||
.thin-table tr td { | |||
padding-top: 2px !important; | |||
padding-bottom: 2px !important; | |||
} | |||
.vanilla-crafting-field { | |||
background: url(/images/vanilla_crafting/vanilla-crafting-field.png) no-repeat, var(--beige-dark-2); | |||
background-size: contain; | |||
height: 36px; | |||
width: 36px !important; | |||
padding: 0px !important; | |||
} | } |
Aktuelle Version vom 25. August 2024, 20:18 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; --beige-light-2: #e8e2d7; --pale-white: #e7e3da; --pale-ocean: #2d3843; --royal-orange: #d49d49; --dark-grey: #3c3c3c; --text-brown: #513e2a; --text-color: #3c3c3c; --link-color: #8f7459; --link-color-highlight: a0866d; --redlink-color: #c7aa90; } /* ---- ENDE VARIABLEN ---- */ /* ---- START BACKGROUND ---- */ body { background: url(/Ottonien_Wiki_background.jpg) no-repeat, var(--beige-dark-2); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -moz-font-feature-settings: "liga" on; } /* ---- ENDE BACKGROUND ---- */ /* ---- START TOP BAR ---- */ #mw-page-base { background: none; } /* ---- END TOP BAR ---- */ /* ---- START CONTENT TYPO ---- */ #content h1, #content h2 { font-family: "Metamorphous"; font-weight: normal; color: var(--text-brown); border-bottom: 1px solid var(--beige-dark-2); } #content h3 { border: none !important; font-weight: bold; font-size: 1.2em; 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 TOC ---- */ .toc { background-color: var(--beige-light-2); border: 1px solid var(--beige-dark-2); padding: 0px; } .toc .toctitle { background-color: var(--beige-dark-2); padding-top: 0.5em; padding-bottom: 0.5em; padding-left: 1em; padding-right: 1em; } .toctogglelabel { color: var(--link-color); } .toc ul { padding-top: 0.5em; padding-bottom: 0.5em; padding-left: 1em; padding-right: 1em; } /* ---- END TOC ---- */ /* ---- 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-body { display: grid; grid-template-areas: "event event event" "update update update" "content content content" "left left right"; gap: 0.9rem; grid-template-columns: repeat(3, 1fr); } .mainpage-body .tile-row { display: grid; gap: 0.9rem; } .mainpage-left { grid-area: left; flex: 2; display: flex; flex-flow: column wrap; padding-left: 2rem; padding-right: 1rem; } .mainpage-right { grid-area: right; flex: 1; display: flex; flex-flow: column wrap; padding-right: 2rem; padding-left: 1rem; } .mainpage-header { display: flex; } .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; margin-top: -1em; } /* ---- ENDE MAINPAGE CSS ---- */ /* ---- START MAINPAGE SHOWCASE ---- */ .showcase-section { margin-top: 20px; width: 100%; box-sizing: border-box; margin-bottom: 20px !important; } .showcase-wrapper { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; flex-direction: row; } .showcase-card { overflow: hidden; box-shadow: 0px 1px 4px 0px var(--text-brown); background-color: var(--beige-light-2); text-align: center; border-radius: 1rem; position: relative; width: 31.5%; margin-left: 0px; } .showcase-card:not(:first-child) { margin-left: 15px; } .showcase-card:hover { transform: translateY(-5px); filter: brightness(105%); transition-timing-function: ease-in-out; transition: 200ms; } .showcase-img-1 { background-image: url(/images/cards/card-img-1.jpg); height: 10rem; width: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; } .showcase-img-2 { background-image: url(/images/cards/card-img-2.jpg); height: 10rem; width: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; } .showcase-img-3 { background-image: url(/images/cards/card-img-3.jpg); height: 10rem; width: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; } .showcase-title-div { background-color: var(--beige-light-2); width: 100%; padding-top: 0px; padding-bottom: 15px; } .showcase-title { margin: none; padding: none; font-size: 1.5rem; border: none !important; vertical-align: middle; } /* Responsive layout - makes a one column layout instead of a two-column layout */ @media (max-width: 800px) { .mainpage-body { display: grid; grid-template-areas: "event" "update" "content" "left"; gap: 0.9rem; grid-template-columns: repeat(1, 100%); } .mainpage-left { grid-column: span 1 !important; grid-area: left; flex: 1; display: flex; flex-flow: column wrap; padding-left: 0px; padding-right: 0px; } .mainpage-right { width: 100% !important; grid-column: span 1 !important; grid-area: left; flex: 1; display: flex; flex-flow: column wrap; padding-right: 0px; padding-left: 0px; } .showcase-wrapper { flex-direction: column; } .showcase-card { width: 100% !important; margin-bottom: 2rem; margin-left: 0px !important; } .messagebox { width: 100%; } .messagebox.stub { width: 100%; } } /* ---- END MAINPAGE CONTENTS ---- */ .tile-halves { display: flex; flex-flow: row wrap; border: 1px solid var(--tile-border-color); background: var(--beige-light-2); box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1); } .tile-top { width: 100%; padding: 1.3rem 1.5rem 0.6rem; } .tile-top h2 { margin-top: 0px !important; } .tile-bottom { background: var(--pale-ocean); border-top: 1px solid var(--tile-border-color); width: 100%; padding: 1rem 1.5rem 0.6rem; color: var(--royal-orange) !important; font-weight: bold !important; border-radius: 0px 0px 10px 10px; } .tile-bottom a { color: var(--pale-white) !important; } .skillbox { border: 1px solid var(--beige-mid); border-radius: 10px; margin-top: 15px !important; margin-bottom: 20px !important; } .skillbox ul { columns: 4 9em; margin: 1em 0.7em 0.7em 1em; } .skillbox li { display: flex; margin-bottom: 0.29em; } .skillbox li span a { border-radius: 2px; padding: 4px; width: 25px; height: 25px; text-align: center; display: flex; justify-content: center; align-items: center; } .skillbox li > a:last-child { flex: 1; display: flex; align-items: center; font-weight: bold; padding-left: 0.7em; text-decoration: none; } .skillbox li:hover a:first-child { border-radius: 2px 0 0 2px; } .skillbox li:hover > a:last-child { color: var(--link-color-highlight); border-radius: 0 2px 2px 0; } .skillbox li span a { border-radius: 2px; padding: 4px; width: 25px; height: 25px; text-align: center; display: flex; justify-content: center; align-items: center; } .itembox { border: 1px solid var(--beige-mid); border-radius: 10px; margin-top: 15px !important; margin-bottom: 20px !important; } .itembox ul { columns: 3 9em; margin: 1em 0.7em 0.7em 1em; } .itembox li { display: flex; margin-bottom: 0.4em; margin-top: 0.4em; } .itembox li span a { border-radius: 2px; padding: 4px; width: 25px; height: 25px; text-align: center; display: flex; justify-content: center; align-items: center; } .itembox li > a:last-child { flex: 1; display: flex; align-items: center; font-weight: bold; padding-left: 0.7em; text-decoration: none; } .itembox li:hover a:first-child { border-radius: 2px 0 0 2px; } .itembox li:hover > a:last-child { color: var(--link-color-highlight); border-radius: 0 2px 2px 0; } .itembox li span a { border-radius: 2px; padding: 4px; width: 25px; height: 25px; text-align: center; display: flex; justify-content: center; align-items: center; } .mainpage-discord { margin-top: 27px; border: none; box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3); } .mainpage-discord .tile-top { display: flex; align-items: center; background: var(--pale-ocean); padding: 1em 1.75em; border-radius: 10px 10px 0px 0px; } .mainpage-discord .tile-top a { flex: 1; position: relative; text-decoration: none; } .mainpage-discord .tile-top a:hover .arrow { transform: translateX(50%); } .mainpage-discord .tile-bottom { background: #6671d1; border: none; padding: 1em 1.75em; } .mainpage-discord .tile-bottom p { color: #fff; font-weight: bold; font-size: 0.9em; text-align: center; text-transform: uppercase; letter-spacing: 0.03em; margin: 0; } .mainpage-discord .partner-icon { margin-right: 0.75em; } .mainpage-discord .textdiv { display: flex; flex-flow: column wrap; justify-content: left; align-items: left; } .mainpage-discord .server-name { color: var(--pale-white); font-weight: bold; font-size: 1.25em; margin-left: 15px } .mainpage-discord .server-tagline { color: var(--beige-light); margin-bottom: 0.5em; margin-left: 15px } .mainpage-patreon { margin-top: 27px; border: none; box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.3); } .mainpage-patreon .tile-top { height: 90px; display: flex; align-items: center; background: var(--pale-ocean); border-radius: 10px 10px 0px 0px; background-position: center; background-image: url(/images/cards/icon-patreon.jpg); background-size: cover; } .mainpage-patreon .tile-bottom { background: var(--dark-grey); border: none; padding: 1em 1.75em; } .mainpage-patreon .tile-bottom p { color: var(--pale-white); font-weight: bold; font-size: 0.9em; text-align: center; text-transform: uppercase; letter-spacing: 0.03em; margin: 0; } .gefolgeranking { border: 1px solid var(--beige-mid); border-radius: 10px; margin-top: 27px; } .gefolgeranking ul { columns: 1 9em; margin: 1em 0.7em 0.7em 1em; } .gefolgeranking li { display: flex; margin-bottom: 0.4em; margin-top: 0.4em; } .gefolgeranking li span a { border-radius: 2px; padding: 4px; width: 25px; height: 25px; text-align: center; display: flex; justify-content: center; align-items: center; } .gefolgeranking li > a:last-child { flex: 1; display: flex; align-items: center; font-weight: bold; padding-left: 0.7em; text-decoration: none; } .gefolgeranking li:hover a:first-child { border-radius: 2px 0 0 2px; } .gefolgeranking li:hover > a:last-child { color: var(--link-color-highlight); border-radius: 0 2px 2px 0; } .gefolgeranking li span a { border-radius: 2px; padding: 4px; width: 25px; height: 25px; text-align: center; display: flex; justify-content: center; align-items: center; } .catlinks { background-color: var(--pale-white); border: 1px solid var(--beige-dark); } .catlinks .mw-normal-catlinks { padding-left: 1.5em; } .messagebox { width: 65%; margin: 0.5em auto; margin-bottom: 25px; border-left: 15px solid; border-color: var(--beige-dark-2); background-color: var(--beige-light-2); box-sizing: border-box; padding: 15px; } .messagebox-image { padding-right: 15px; } .messagebox.stub { width: 40%; } .messagebox.info { background-color: var(--beige-light-2); border-color: var(--beige-dark-2); color: var(--text-brown); } figure[typeof~='mw:File/Thumb'].mw-halign-right { background-color: var(--beige-light-2); border-color: var(--beige-dark-2); color: var(--text-brown); } figure[typeof~='mw:File/Thumb'].mw-halign-left { background-color: var(--beige-light-2); border-color: var(--beige-dark-2); color: var(--text-brown); } figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element { background-color: var(--beige-light); border-color: var(--beige-dark-2); color: var(--text-brown); } .mw-content-ltr figure[typeof~='mw:File/Thumb'] > figcaption, .mw-content-ltr figure[typeof~='mw:File/Frame'] > figcaption { background-color: var(--beige-light-2); border-color: var(--beige-dark-2); color: var(--text-brown); } .thin-table tr th, .thin-table tr td { padding-top: 2px !important; padding-bottom: 2px !important; } .vanilla-crafting-field { background: url(/images/vanilla_crafting/vanilla-crafting-field.png) no-repeat, var(--beige-dark-2); background-size: contain; height: 36px; width: 36px !important; padding: 0px !important; }