Weitere Optionen
CRUGG (Diskussion | Beiträge) Die Seite wurde geleert. Markierung: Geleert |
CRUGG (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
/* Font */ | |||
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | |||
/* Global */ | |||
:root { | |||
--color-primary__h: 260; | |||
--font-family-base: 'PT Sans','Noto Sans CJK',system-ui,-apple-system,sans-serif; | |||
--font-family-serif: 'PT Serif','Noto Sans CJK',system-ui,-apple-system,sans-serif; | |||
} | |||
/* Header auf Hauptseite verstecken */ | |||
.page-Hauptseite .mw-body-header, | |||
.page-Hauptseite #siteSub { | |||
display: none; | |||
} | |||
/* mobileonly & desktoponly */ | |||
@media (min-width: 1120px) { | |||
.mobileonly { | |||
display: none; | |||
} | |||
} | |||
@media (max-width: 1119px) { | |||
.desktoponly { | |||
display: none; | |||
} | |||
} | |||
/* Styles for Characters Grid on Home - This isn't in a TemplateStyle because of some MediaWiki issues */ | |||
.home-characters__grid { | |||
display: grid; | |||
grid-template-columns: repeat(4, minmax(0, 1fr)); | |||
gap: 0.5rem; | |||
} | |||
/* Dirty Fix for weird MW issue */ | |||
.home-characters__grid > :nth-child(1), .home-characters__grid > :nth-child(2) { | |||
display: none; | |||
} | |||
.home-characters__card { | |||
background: var(--color-surface-4); | |||
border-radius: 8px; | |||
aspect-ratio: 16 / 9; | |||
display: flex; | |||
align-items: end; | |||
color: white; | |||
--gradient: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%); | |||
font-weight: bold; | |||
padding: 0.4rem 0.8rem; | |||
font-size: 1.2rem; | |||
background-size: 100% auto; | |||
background-position: center; | |||
transition: 0.2s; | |||
} | |||
.home-characters__card:hover { | |||
background-size: 110% auto; | |||
} | |||
.home-characters__card.pomni { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/6/66/Pomni.png"); | |||
} | |||
.home-characters__card.jax { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/f/fa/Jax.png"); | |||
} | |||
.home-characters__card.caine { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/a/a0/Caine.png"); | |||
} | |||
.home-characters__card.bubble { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/9/9b/Bubble.png"); | |||
} | |||
.home-characters__card.gangle { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/5/5e/Gangle.png"); | |||
} | |||
.home-characters__card.kinger { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/7/7e/Kinger.png"); | |||
} | |||
.home-characters__card.zooble { | |||
background-image: var(--gradient), url("https://de.tadc.wiki/images/2/28/Zooble.png"); | |||
} |
Version vom 2. Dezember 2023, 20:23 Uhr
/* Font */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* Global */
:root {
--color-primary__h: 260;
--font-family-base: 'PT Sans','Noto Sans CJK',system-ui,-apple-system,sans-serif;
--font-family-serif: 'PT Serif','Noto Sans CJK',system-ui,-apple-system,sans-serif;
}
/* Header auf Hauptseite verstecken */
.page-Hauptseite .mw-body-header,
.page-Hauptseite #siteSub {
display: none;
}
/* mobileonly & desktoponly */
@media (min-width: 1120px) {
.mobileonly {
display: none;
}
}
@media (max-width: 1119px) {
.desktoponly {
display: none;
}
}
/* Styles for Characters Grid on Home - This isn't in a TemplateStyle because of some MediaWiki issues */
.home-characters__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.5rem;
}
/* Dirty Fix for weird MW issue */
.home-characters__grid > :nth-child(1), .home-characters__grid > :nth-child(2) {
display: none;
}
.home-characters__card {
background: var(--color-surface-4);
border-radius: 8px;
aspect-ratio: 16 / 9;
display: flex;
align-items: end;
color: white;
--gradient: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%);
font-weight: bold;
padding: 0.4rem 0.8rem;
font-size: 1.2rem;
background-size: 100% auto;
background-position: center;
transition: 0.2s;
}
.home-characters__card:hover {
background-size: 110% auto;
}
.home-characters__card.pomni {
background-image: var(--gradient), url("https://de.tadc.wiki/images/6/66/Pomni.png");
}
.home-characters__card.jax {
background-image: var(--gradient), url("https://de.tadc.wiki/images/f/fa/Jax.png");
}
.home-characters__card.caine {
background-image: var(--gradient), url("https://de.tadc.wiki/images/a/a0/Caine.png");
}
.home-characters__card.bubble {
background-image: var(--gradient), url("https://de.tadc.wiki/images/9/9b/Bubble.png");
}
.home-characters__card.gangle {
background-image: var(--gradient), url("https://de.tadc.wiki/images/5/5e/Gangle.png");
}
.home-characters__card.kinger {
background-image: var(--gradient), url("https://de.tadc.wiki/images/7/7e/Kinger.png");
}
.home-characters__card.zooble {
background-image: var(--gradient), url("https://de.tadc.wiki/images/2/28/Zooble.png");
}