Difference between revisions of "MediaWiki:Monobook.css"

From Chrome
Jump to: navigation, search
Line 12: Line 12:
 
#ca-viewsource { display:none!important; }
 
#ca-viewsource { display:none!important; }
  
/* make a few corners round, only supported by moz/firefox/other gecko browsers for now */
 
#p-cactions ul li, #p-cactions ul li a { 
 
  -moz-border-radius-topleft: 1em;
 
  -moz-border-radius-topright: 1em;
 
}
 
#content {
 
  -moz-border-radius-topleft: 1em;
 
  -moz-border-radius-bottomleft: 1em;
 
}
 
div.pBody {
 
  -moz-border-radius-topright: 1em;
 
  -moz-border-radius-bottomright: 1em;
 
}
 
 
/* same following the css3 draft specs, any browsers supporting this? */
 
#p-cactions ul li, #p-cactions ul li a { 
 
  border-radius-topleft: 1em;
 
  border-radius-topright: 1em;
 
}
 
#content {
 
  border-radius-topleft: 1em;
 
  border-radius-bottomleft: 1em;
 
}
 
div.pBody {
 
  border-radius-topright: 1em;
 
  border-radius-bottomright: 1em;
 
}
 
  
 
/* rounded corners for browsers that support them */
 
/* rounded corners for browsers that support them */
 
.pBody
 
.pBody
 
{
 
{
     -moz-border-radius: 0.5em;
+
     -moz-border-radius: 0.8em;
     -khtml-border-radius: 0.5em;
+
     -khtml-border-radius: 0.8em;
     -webkit-border-radius: 0.5em;
+
     -webkit-border-radius: 0.8em;
     border-radius: 0.5em;
+
     border-radius: 0.8em;
 
}
 
}
 
   
 
   
 
#p-cactions ul li, #p-cactions ul li a
 
#p-cactions ul li, #p-cactions ul li a
 
{   
 
{   
     -moz-border-radius-topright: 0.5em;
+
     -moz-border-radius-topright: 0.8em;
     -moz-border-radius-topleft: 0.5em;
+
     -moz-border-radius-topleft: 0.8em;
     -khtml-border-radius-topright: 0.5em;
+
     -khtml-border-radius-topright: 0.8em;
     -khtml-border-radius-topleft: 0.5em;
+
     -khtml-border-radius-topleft: 0.8em;
     -webkit-border-radius-topright: 0.5em;
+
     -webkit-border-radius-topright: 0.8em;
     -webkit-border-radius-topleft: 0.5em;
+
     -webkit-border-radius-topleft: 0.8em;
     border-radius-topright: 0.5em;
+
     border-radius-topright: 0.8em;
     border-radius-topleft: 0.5em;
+
     border-radius-topleft: 0.8em;
 
}
 
}
 
   
 
   
 
#content, .toc
 
#content, .toc
 
{
 
{
     -moz-border-radius: 0.5em;
+
     -moz-border-radius: 0.8em;
     -khtml-border-radius: 0.5em;
+
     -khtml-border-radius: 0.8em;
     -webkit-border-radius: 0.5em;
+
     -webkit-border-radius: 0.8em;
     border-radius: 0.5em;
+
     border-radius: 0.8em;
 
}
 
}
 
  
 
/* Remove the logo  
 
/* Remove the logo  

Revision as of 00:30, 5 June 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-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; }


/* 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;
}

/* Remove the logo 
#p-logo { display: none }
#column-one { padding-top: 0; }*/

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

/* Prettify the headers of the quickbar (left-hand column of boxes) */
 
#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-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang {
    padding-top: 2px;
}