Actions

MediaWiki

Common.css

From WikiVidya

Revision as of 09:20, 4 April 2021 by Vidya (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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: 100%;
    }

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