Difference between revisions of "MediaWiki:Common.css"

adding logo on/off for mobile and non-mobile
(introducing new mobile styles)
(adding logo on/off for mobile and non-mobile)
Line 307: Line 307:
}
}


.frontpageTopSection #col-1.two-columns .floatleft a img {
    display: none;
}


@media only screen and (max-width: 750px)  
@media only screen and (max-width: 750px)  
Line 335: Line 339:




div#mw-panel {
#mw-panel {
top:0px;
top:0px;
}
}


#p-logo {
#p-logo {
     top: 0px !important;
     top: 0;
     margin-bottom: 40px;
     margin-bottom: 40px;
     margin-top: 10px;
     margin-top: 10px;
Line 355: Line 359:
}
}


div#mw-panel div.portal h3 {
#mw-panel .portal h3 {
   font-weight: bold;
   font-weight: bold;
     color: #fff;
     color: #fff;
Line 662: Line 666:


@media only screen and (max-width: 400px) {
@media only screen and (max-width: 400px) {
  body {
#mw-page-base {
#mw-page-base {
     height: 0em;
     height: 0em;
  }
}
@media only screen and (max-width: 400px) {


div#mobilelogo {
#mobilelogo {
     margin-top: 100px;
     margin-top: 100px;
}
.frontpageTopSection #col-1.two-columns .floatleft a img {
    display: block;
}
}
}
}