MediaWiki:Common.css: Unterschied zwischen den Versionen
(added css for mainpage) |
Keine Bearbeitungszusammenfassung |
||
Zeile 7: | Zeile 7: | ||
#ca-history { display: none !important; } | #ca-history { display: none !important; } | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
.mainpage-box { | |||
display: flex; | |||
width: 100%; | |||
} | |||
.mainpage-card { | .mainpage-card { | ||
width:25%; | width: 25%; | ||
height:80px; | height: 80px; | ||
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); | box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); | ||
transition: 0.3s; | transition: 0.3s; | ||
border-radius:5px; | border-radius: 5px; | ||
} | } | ||
.mainpage-card-header { | .mainpage-card-header { | ||
width:100%; | width: 100%; | ||
height: 50%; | height: 50%; | ||
background-color:#CECECE; | background-color: #CECECE; | ||
text-align:center; | text-align:center; | ||
border-radius: 5px 5px 0 0; | border-radius: 5px 5px 0 0; |
Version vom 8. Februar 2023, 11:02 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 { display: flex; width: 100%; } .mainpage-card { width: 25%; height: 80px; box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); transition: 0.3s; border-radius: 5px; } .mainpage-card-header { width: 100%; height: 50%; background-color: #CECECE; text-align:center; border-radius: 5px 5px 0 0; } .mainpage-card-text { padding:5px; text-align:center; }