Difference between revisions of "MediaWiki:Mobile.css"

From Wiki Knowledge Base | Teltonika GPS
(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:...")
 
Line 13: Line 13:
 
         margin-bottom: 20px;
 
         margin-bottom: 20px;
 
     }
 
     }
 +
}
 +
 +
 +
.header .branding-box h1{
 +
    display: none !important;
 +
}
 +
.logo{
 +
    margin-top:2px;
 +
}
 +
.logo img{
 +
    max-width: 140px
 
}
 
}

Revision as of 09:38, 27 March 2018

/* 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;
    }
    .main-table td:nth-child(2n){
        margin-bottom: 20px;
    }
}


.header .branding-box h1{
    display: none !important;
}
.logo{
    margin-top:2px;
}
.logo img{
    max-width: 140px
}