MediaWiki:Mobile.css: Difference between revisions
Appearance
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
| Line 13: | Line 13: | ||
display: inline-block; | display: inline-block; | ||
width: 49.5% !important; | width: 49.5% !important; | ||
} | |||
table.main-table.w-100 table { | |||
display: table; | |||
} | } | ||
table.main-table.w-100 table td { | table.main-table.w-100 table td { | ||
Latest revision as of 08:47, 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;
}
table.main-table.w-100 table {
display: table;
}
table.main-table.w-100 table td {
display: block;
width: 100% !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
}