Difference between revisions of "MediaWiki:Common.css"

From The VG Resource Wiki
Jump to: navigation, search
Line 3: Line 3:
 
/* Include Site Bar CSS and Move Body Down */
 
/* Include Site Bar CSS and Move Body Down */
 
@import url(http://www.vg-resource.com/inc/sitebar.css);
 
@import url(http://www.vg-resource.com/inc/sitebar.css);
#sitebar {
+
@media screen and (min-width: 767px) and (min-device-width: 767px) {
    position: fixed;
+
    #sitebar {
    z-index: 9999;
+
        z-index: 9999;
}
+
    }
#mw-head, #mw-panel {
+
    #mw-head, #mw-panel {
    margin-top: 28px !important;
+
        margin-top: 28px !important;
}
+
    }
#content {
+
    #content {
    margin-top: 25px !important;
+
        margin-top: 25px !important;
 +
    }
 
}
 
}
  

Revision as of 22:53, 24 May 2014

/* CSS placed here will be applied to all skins */

/* Include Site Bar CSS and Move Body Down */
@import url(http://www.vg-resource.com/inc/sitebar.css);
@media screen and (min-width: 767px) and (min-device-width: 767px) {
    #sitebar {
        z-index: 9999;
    }
    #mw-head, #mw-panel {
        margin-top: 28px !important;
    }
    #content {
        margin-top: 25px !important;
    }
}

/* Hide Unnecessary Elements */
#left-navigation, #ca-talk, #ca-viewsource,
#ca-nstab-main, #ca-nstab-mediawiki, #ca-nstab-special, #pt-mytalk  {
    display: none !important;
}

/* Main Styles */
#p-personal {
    top: 0px !important;
    padding: 3px 17px 3px 3px !important;
    border-radius: 0px 0px 15px 15px;
    background-color: #FFFFFF;
}
#p-personal ul {
    padding: 0px !important;
}
#mw-head {
    background-image: url("http://www.vg-resource.com/images/twilight/header.png");
}
#right-navigation {
    background-color: #FFFFFF; border-radius: 15px 15px 0px 0px;
}
div.vectorTabs {
    background-image: none !important;
}
div.vectorTabs ul li {
    background-image: none !important;
    background-color: transparent !important;
}
#footer-places {
    display: none !important;
}
div#mw-panel {
    padding-top: 0px !important;
}
div#footer {
   padding: 0px !important;
}
.navbox {
    border: 1px solid #AAA000;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 90%;
    text-align: center;
    padding: 1px;
}
.navbox-title {
    background-color: #97BCE6;
}
.navbox-group {
    background-color: #C7DDF5;
}
.navbox-list {
    text-align: left;
}