MediaWiki:Common.css

From grvitawiki
Jump to: navigation, search

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 */
@import url('https://fonts.googleapis.com/css?family=Merriweather|Source+Sans+Pro:400,700');

html, body{
font-family: 'Source Sans Pro', sans-serif;
}
.mw-body h1, .mw-body h2{
font-family: 'Merriweather', serif;
}
#p-logo a{background-size:120px;}
div#mw-head:before {
    content: " ";
    height: 6px;
    display: block;
    position: fixed;
    z-index: 9995;
    top: 0;
    left: 0;
    right: 0;
    background: #7f47dd;
    background: -moz-linear-gradient(left, #7f47dd 0%, #fbae17 50%);
    background: -webkit-linear-gradient(left, #7f47dd 0%, #fbae17 50%);
    background: linear-gradient(to right, #7f47dd 0%, #fbae17 50%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7f47dd', endColorstr='#fbae17',GradientType=1 );
}
a,
div#mw-panel div.portal div.body ul li a{color:#484cd4;}
a:visited,
div#mw-panel div.portal div.body ul li a:visited{color:#202388;}
div#mw-panel div.portal div.body ul li{font-size:0.8em;}
div.vectorTabs li.new a, 
div.vectorTabs li.new a:visited,
div.vectorTabs li a{color:#484cd4;}
#toc, .toc, .mw-warning, .toccolours{background-color:#ebecf7;border:0;}
h1, h2, h3, h4, h5, h6{border-bottom:0;}




#ca-viewsource { display: none !important; }	
#ca-nstab-user { display:none!important; } 
#ca-talk { display:none!important; }  
#ca-history { display:none!important; } 	
#ca-protect { display:none!important; }


/*****STILIZZO*****/
#toc, .toc, .mw-warning, .toccolours{
position: fixed;
    left: 0;
    bottom: 0;
    top: 70px;
    height: auto;
width:250px; height:100%;
}
.mw-content-ltr{padding-left: 280px;padding-top: 30px;}
.page-Main_Page .firstHeading{
position: fixed;
padding-top: .85em;
}
.page-Main_Page #mw-navigation{
    padding-left: 23px;
    margin-left: 256px;    
}
#mw-navigation{
border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    margin-top: 30px;
    background: #f6f6f6;
padding-left: 24px;
}
.mw-body h1 span, .mw-body h2 span{padding-top:44px;}
.mw-body #toc h1 span, .mw-body #toc h2 span{padding-top:0;}

.page-Main_Page #footer{padding-left:280px;}
ul#footer-places li{
    display: inline-flex;
    padding: 0 .5em;
    border-left: 1px solid #ddd;
    height: 15px;
    line-height: 12px;
}
#footer-places{
    display: inline-block;
}
#footer-icons{
    display: inline-block;
    float: right;
    margin-right: 30px;
}