MediaWiki:Mobile.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
display: block; | display: block; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | |||
table.main-table.w-100 td { | |||
display: inline-block; | |||
width: 49.5% !important; | |||
} | } | ||
.main-table td:nth-child(2n){ | .main-table td:nth-child(2n){ | ||
| Line 15: | Line 19: | ||
} | } | ||
@media screen and (max-width: 500px) { | |||
table.main-table.w-100 td { | |||
display: block; | |||
width: 100% !important; | |||
} | |||
} | |||
.header .branding-box h1{ | .header .branding-box h1{ | ||
Revision as of 08:44, 5 March 2020
/* CSS placed here will affect users of the mobile site */
@media screen and (max-width: 800px){
table.main-table{
width: 100% !important;
display: table !important;
}
.main-table td{
text-align: center;
display: block;
margin-top: 10px;
}
table.main-table.w-100 td {
display: inline-block;
width: 49.5% !important;
}
.main-table td:nth-child(2n){
margin-bottom: 20px;
}
}
@media screen and (max-width: 500px) {
table.main-table.w-100 td {
display: block;
width: 100% !important;
}
}
.header .branding-box h1{
display: none !important;
}
.logo{
margin-top:2px;
}
.logo img{
max-width: 140px
}