Actions

MediaWiki

Difference between revisions of "Common.css"

From WikiVidya

Line 38: Line 38:
 
     #content{
 
     #content{
 
         border-color:green;
 
         border-color:green;
         width: fit-content;
+
         width: auto;
 
     }
 
     }
  

Revision as of 09:20, 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{
        width: fit-content;
        background-color: white;
    }

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

    #content{
        border-color:green;
        width: auto;
    }

    #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;
    }
}