MediaWiki:Mobile.css: Difference between revisions
(Created page with "→CSS placed here will affect users of the mobile site: @media screen and (max-width: 800px){ table.main-table{ width: 100% !important; display:...") |
No edit summary Tags: Mobile edit Mobile web edit |
||
(3 intermediate revisions by the same user not shown) | |||
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; | |||
} | |||
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){ | .main-table td:nth-child(2n){ | ||
margin-bottom: 20px; | 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 | |||
} | } |
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 }