Difference between revisions of "Common.css"
From WikiVidya
Line 37: | Line 37: | ||
#content{ | #content{ | ||
− | border: | + | border-color:green; |
width: fit-content; | width: fit-content; | ||
} | } | ||
Line 87: | Line 87: | ||
#content{ | #content{ | ||
− | border: | + | border-color:red; |
width: fit-content; | width: fit-content; | ||
} | } | ||
Line 137: | Line 137: | ||
#content{ | #content{ | ||
− | border: | + | border-color:blue; |
width: fit-content; | width: fit-content; | ||
} | } |
Revision as of 09:17, 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: 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: 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; } }