MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 9: | Zeile 9: | ||
.mainpage-box { | .mainpage-box { | ||
width: 100%; | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
Zeile 14: | Zeile 15: | ||
.mainpage-card { | .mainpage-card { | ||
width: | width: 25%; | ||
height: 100px; | height: 100px; | ||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); | box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); |
Version vom 8. Februar 2023, 11:58 Uhr
/* per https://www.mediawiki.org/wiki/Manual:Remove_Tabs */ #ca-nstab-main { display: none !important; } #ca-nstab-user { display: none !important; } #ca-talk { display: none !important; } #ca-watch { display: none !important; } #ca-unwatch { display: none !important; } #ca-history { display: none !important; } #ca-viewsource { display: none !important; } .mainpage-box { width: 100%; display: flex; flex-wrap: wrap; } .mainpage-card { width: 25%; height: 100px; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); transition: 0.3s; border-radius: 5px; margin: 5px; } .mainpage-card-header { width: 100%; height: 50%; border-radius: 5px 5px 0 0; background-color: black; } .mainpage-card-header a{ width: 100%; height: 100%; display: flex; justify-content: center; align-content: center; flex-direction: column; text-align: center; color: white; font-weight: bold; text-decoration: none; } .mainpage-card-text { width: 100%; height: 50%; } .mainpage-card-text a{ color: black; text-decoration: none; }