MediaWiki:Monobook.css

From Chrome
Revision as of 22:51, 7 June 2009 by Matteo (Talk | contribs)

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: Clear the cache in Tools → Preferences
/* Gli stili CSS inseriti qui si applicano agli utenti che usano la skin Monobook */

/* This removes the edit/discussion/voice/... part for non logged people */
#ca-nstab-main{ display:none!important; }
#ca-talk { display:none!important; }
/*#ca-edit { display:none!important; }*/
#ca-history { display:none!important; }
#ca-delete { display:none!important; }
#ca-move { display:none!important; }
#ca-protect { display:none!important; }
#ca-watch { display:none!important; }
#ca-viewsource { display:none!important; }
#ca-nstab-mediawiki { display:none!important; }

/* rounded corners for browsers that support them */
.pBody
{
    -moz-border-radius: 0.8em;
    -khtml-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    border-radius: 0.8em;
}
 

#p-cactions ul li, #p-cactions ul li a
{  
    -moz-border-radius-topright: 0.8em;
    -moz-border-radius-topleft: 0.8em;
    -khtml-border-radius-topright: 0.8em;
    -khtml-border-radius-topleft: 0.8em;
    -webkit-border-radius-topright: 0.8em;
    -webkit-border-radius-topleft: 0.8em;
    border-radius-topright: 0.8em;
    border-radius-topleft: 0.8em;
}

 
#content, .toc
{
    -moz-border-radius: 0.8em;
    -khtml-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    border-radius: 0.8em;
}


/* Move the logo */
#p-logo { padding-top:1.2em; }

/* set up the background image */
body{ background: #e1e1e1 url("http://chrome.ws.dei.polimi.it/images/0/04/Lizards.gif") 0px 0px repeat; }

/* right padding */
#content {
	background: white;
	color: black;
	border: 1px solid #aaa;
	line-height: 1.5em;
        margin: 3em 1em 0em 20em;
	padding: 0 1em 1em 1em;
	position: relative;
	z-index: 2;
        text-align: justify;
}

#column-one {   
 padding-left: 0.5em;
 padding-right: 0.5em;
}

.portlet {width:10em;}

/*Prettify the headers of the quickbar (left-hand column of boxes) */
#p-homepage h5, #p-navigation h5, #p-interaction h5, #p-search h5, #p-tb h5, #p-navclone h5, #p-lang h5 {
    display: inline;
    height: 1em;
    font-size: 85%;
    font-weight: normal;
    white-space: nowrap;
    border-color:#aaa; 
    border-width:1px;
    border-style: solid solid none solid;
    padding: 0 1em 1px 1em;
    text-transform: lowercase;
    background: white;
    -moz-border-radius-topright:1em
}
#p-homepage, #p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang {
    padding-top: 2px;
}