Actions

MediaWiki

Difference between revisions of "Common.css"

From WikiVidya

Line 27: Line 27:
 
     /*Tablets [601px -> 1200px]*/
 
     /*Tablets [601px -> 1200px]*/
 
     body{
 
     body{
        width: max-content;
 
 
         background-color: white;
 
         background-color: white;
 
     }
 
     }

Revision as of 09:34, 4 April 2021

/* CSS placed here will be applied to all skins */
/*body{
    width: fit-content;
    background-color: white;
}*/

#n-mainpage-description{
    display: none;
}
#n-Pier-Franco-Marcenaro{
    display: none;
}
#n-recentchanges{
    display: none;
}
#n-randompage{
    display: none;
}
#n-help{
    display: none;
}
#p-tb{
    display: none;
}

@media only screen and (max-width: 1200px){
    /*Tablets [601px -> 1200px]*/
    body{
        background-color: white;
    }

    .mw-body {
        margin-left:unset;
        margin-top: 115px;
    }

    #content{
        border-color:green;
    }

    #firstHeading{
        text-align: center;
    }

    #mw-page-base{
        height: unset;
    }

    #mw-head{
        display: none;
    }

    .mw-wiki-logo{
        background-size: 150px 150px;
    }

    #p-logo{
        height: 225px;
    }

    #p-logo a{
        height: 285px;
    }

    #mw-panel{
        left: 25px;
        top: -45px;
    }

    .mw-parser-output p{
        text-align: justify;
    }
}
@media only screen and (max-width: 600px){
    /*Big smartphones [426px -> 600px]*/
    body{
        width: fit-content;
        background-color: white;
    }

    .mw-body {
        margin-left:unset;
        margin-top: 115px;
    }

    #content{
        border-color:red;
        width: fit-content;
    }

    #firstHeading{
        text-align: center;
    }

    #mw-page-base{
        height: unset;
    }

    #mw-head{
        display: none;
    }

    .mw-wiki-logo{
        background-size: 150px 150px;
    }

    #p-logo{
        height: 225px;
    }

    #p-logo a{
        height: 285px;
    }

    #mw-panel{
        left: 25px;
        top: -45px;
    }

    .mw-parser-output p{
        text-align: justify;
    }
}
@media only screen and (max-width: 425px){
    /*Small smartphones [325px -> 425px]*/
    body{
        width: fit-content;
        background-color: white;
    }

    .mw-body {
        margin-left:unset;
        margin-top: 115px;
    }

    #content{
        border-color:blue;
        width: fit-content;
    }

    #firstHeading{
        text-align: center;
    }

    #mw-page-base{
        height: unset;
    }

    #mw-head{
        display: none;
    }

    .mw-wiki-logo{
        background-size: 150px 150px;
    }

    #p-logo{
        height: 225px;
    }

    #p-logo a{
        height: 285px;
    }

    #mw-panel{
        left: 25px;
        top: -45px;
    }

    .mw-parser-output p{
        text-align: justify;
    }
}