Actions

MediaWiki

Difference between revisions of "Common.css"

From WikiVidya

Line 25: Line 25:
 
@media only screen and (max-width: 1200px){
 
@media only screen and (max-width: 1200px){
 
     /*Tablets [601px -> 1200px]*/
 
     /*Tablets [601px -> 1200px]*/
     #mw-panel{
+
     body{
         font-size: 45px;
+
         width: fit-content;
 
     }
 
     }
 
    #content{
 
        margin-left: 420px;
 
    }
 
 
 
     #mw-page-base{
 
     #mw-page-base{
 
         height: unset;
 
         height: unset;
Line 59: Line 54:
 
@media only screen and (max-width: 600px){
 
@media only screen and (max-width: 600px){
 
     /*Big smartphones [426px -> 600px]*/
 
     /*Big smartphones [426px -> 600px]*/
     #mw-panel{
+
     body{
         font-size: 45px;
+
         width: fit-content;
 
     }
 
     }
 
    #content{
 
        margin-left: 420px;
 
    }
 
 
 
     #mw-page-base{
 
     #mw-page-base{
 
         height: unset;
 
         height: unset;
Line 93: Line 83:
 
@media only screen and (max-width: 425px){
 
@media only screen and (max-width: 425px){
 
     /*Small smartphones [325px -> 425px]*/
 
     /*Small smartphones [325px -> 425px]*/
     #mw-panel{
+
     body{
         font-size: 45px;
+
         width: fit-content;
    }
 
 
 
    #content{
 
        margin-left: 420px;
 
 
     }
 
     }
 
 
     #mw-page-base{
 
     #mw-page-base{
 
         height: unset;
 
         height: unset;

Revision as of 08:47, 4 April 2021

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

#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;
    }
    #mw-page-base{
        height: unset;
    }

    #mw-head{
        display: none;
    }

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

    #p-logo{
        height: 225px;
    }

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

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

    #mw-head{
        display: none;
    }

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

    #p-logo{
        height: 225px;
    }

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

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

    #mw-head{
        display: none;
    }

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

    #p-logo{
        height: 225px;
    }

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

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