MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* mobile screen css */ | |||
@media (max-width:768px){ | |||
.mw-body{ | |||
padding:10px; | |||
} | |||
.home-grid{ | |||
flex-direction:column; | |||
} | |||
} | |||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.home-hero{ | .home-hero{ | ||
Latest revision as of 21:11, 16 March 2026
/* mobile screen css */
@media (max-width:768px){
.mw-body{
padding:10px;
}
.home-grid{
flex-direction:column;
}
}
/* CSS placed here will be applied to all skins */
.home-hero{
background:#2563eb;
color:white;
padding:60px;
text-align:center;
border-radius:10px;
margin-bottom:30px;
}
.home-btn{
background:white;
color:#2563eb;
padding:10px 20px;
text-decoration:none;
border-radius:6px;
font-weight:bold;
}
.home-grid{
display:flex;
gap:20px;
flex-wrap:wrap;
}
.home-card{
background:#f5f5f5;
padding:20px;
border-radius:10px;
flex:1;
min-width:200px;
}
@media (max-width:768px){
.home-grid{
flex-direction:column;
}
}