Difference between revisions of "MediaWiki:Monobook.css"

From Chrome
Jump to: navigation, search
Line 54: Line 54:
 
/* Move the logo */
 
/* Move the logo */
 
#p-logo {  
 
#p-logo {  
     padding-top:1.2em;  
+
     padding-top:0.8em;  
     padding-left:2em;  
+
     padding-left:2.2em;  
 
     position:fixed;
 
     position:fixed;
 
}
 
}

Revision as of 00:25, 11 July 2009

/* 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-nstab-project{ display:none!important; }
#ca-talk { 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; }

/*#ca-edit { display:none!important; }*/


/* rounded corners for browsers that support them */
.pBody
{
    -moz-border-radius-topright: 0.8em;
    -moz-border-radius-bottomright: 0.8em;
    /*-moz-border-radius-topleft: 0.8em;*/
    -moz-border-radius-bottomleft: 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;*/
}
 
#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:0.8em; 
    padding-left:2.2em; 
    position:fixed;
}

/* Move the search */
#p-search { 
    float: right;
    position:fixed;
}

/* 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 16.5em;
    padding: 0 1em 1em 1em;
    position: absolute;
    z-index: 2;
    text-align: justify;
}

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


.portlet {
    position: fixed;
    width: 15em;
}

/*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: 100%;
    font-weight: normal;
    white-space: nowrap;
    border-color:#aaa; 
    border-width:1px;
    border-style: solid solid none solid;
    padding: 2px 1em 1px 1em;
    /*text-transform: lowercase;*/
    background: white;
    -moz-border-radius-topright:1em;
    -moz-border-radius-topleft:1em;
}

#p-homepage, #p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang {
    padding-top: 5px;
    -moz-border-radius-topright:1em
}