Difference between revisions of "MediaWiki:Monobook.css"

From Chrome
Jump to: navigation, search
 
(110 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
/* This removes the edit/discussion/voice/... part for non logged people */
 
/* This removes the edit/discussion/voice/... part for non logged people */
 +
/*
 
#ca-nstab-main{ display:none!important; }
 
#ca-nstab-main{ display:none!important; }
 +
#ca-nstab-project{ display:none!important; }
 
#ca-talk { display:none!important; }
 
#ca-talk { display:none!important; }
#ca-edit { display:none!important; }
 
 
#ca-history { display:none!important; }
 
#ca-history { display:none!important; }
 
#ca-delete { display:none!important; }
 
#ca-delete { display:none!important; }
Line 11: Line 12:
 
#ca-watch { display:none!important; }
 
#ca-watch { display:none!important; }
 
#ca-viewsource { display:none!important; }
 
#ca-viewsource { display:none!important; }
 +
#ca-nstab-mediawiki { display:none!important; }
 +
*/
 +
/*#ca-edit { 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 { 
+
/* rounded corners for browsers that support them */
  -moz-border-radius-topleft: 1em;
+
/*
  -moz-border-radius-topright: 1em;
+
.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;*/
 
}
 
}
#content {  
+
*/
  -moz-border-radius-topleft: 1em;  
+
 
  -moz-border-radius-bottomleft: 1em;
+
/*
 +
#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;
 
}
 
}
div.pBody {
+
 
  -moz-border-radius-topright: 1em;
+
#content, .toc
  -moz-border-radius-bottomright: 1em;
+
{
 +
    -moz-border-radius: 0.8em;
 +
    -khtml-border-radius: 0.8em;
 +
    -webkit-border-radius: 0.8em;
 +
    border-radius: 0.8em;
 
}
 
}
+
*/
/* same following the css3 draft specs, any browsers supporting this? */
+
 
#p-cactions ul li, #p-cactions ul li a {
+
/* Move the logo */
  border-radius-topleft: 1em;
+
/*
  border-radius-topright: 1em;
+
#p-logo {  
 +
    padding-top:0.8em;  
 +
    padding-left:2.2em;
 +
    position:fixed;
 
}
 
}
#content {  
+
*/
  border-radius-topleft: 1em;
+
 
  border-radius-bottomleft: 1em;
+
/* Move the search */
 +
/*
 +
#p-search {  
 +
    float: right;
 +
    position:fixed;
 
}
 
}
div.pBody {
+
*/
  border-radius-topright: 1em;
+
  border-radius-bottomright: 1em;
+
}
+
 
+
/* Remove the logo
+
#p-logo { display: none }
+
#column-one { padding-top: 0; }*/
+
  
 
/* set up the background image */
 
/* set up the background image */
 +
/*
 
body{ background: #e1e1e1 url("http://chrome.ws.dei.polimi.it/images/0/04/Lizards.gif") 0px 0px repeat; }
 
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) */
+
/* right padding */
+
/*
#p-navigation h5, #p-interaction h5, #p-search h5, #p-tb h5, #p-navclone h5, #p-lang h5 {
+
#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;
 
     display: inline;
 
     height: 1em;
 
     height: 1em;
     font-size: 85%;
+
     font-size: 100%;
 
     font-weight: normal;
 
     font-weight: normal;
 
     white-space: nowrap;
 
     white-space: nowrap;
Line 58: Line 114:
 
     border-width:1px;
 
     border-width:1px;
 
     border-style: solid solid none solid;
 
     border-style: solid solid none solid;
     padding: 0 1em 1px 1em;
+
     padding: 2px 1em 1px 1em;
     text-transform: lowercase;
+
     /*text-transform: lowercase;*/
 
     background: white;
 
     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
 
     -moz-border-radius-topright:1em
 
}
 
}

Latest revision as of 01:04, 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
}