Difference between revisions of "MediaWiki:Monobook.css"

From Chrome
Jump to: navigation, search
 
(47 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-history { display:none!important; }
 
#ca-history { display:none!important; }
Line 11: Line 13:
 
#ca-viewsource { display:none!important; }
 
#ca-viewsource { display:none!important; }
 
#ca-nstab-mediawiki { display:none!important; }
 
#ca-nstab-mediawiki { display:none!important; }
 
+
*/
 
/*#ca-edit { display:none!important; }*/
 
/*#ca-edit { display:none!important; }*/
#ca-edit { margin: 1em 1em 0em 20em; }*/
 
  
  
 
/* rounded corners for browsers that support them */
 
/* rounded corners for browsers that support them */
 +
/*
 
.pBody
 
.pBody
 
{
 
{
     -moz-border-radius: 0.8em;
+
     -moz-border-radius-topright: 0.8em;
     -khtml-border-radius: 0.8em;
+
    -moz-border-radius-bottomright: 0.8em;
     -webkit-border-radius: 0.8em;
+
    /*-moz-border-radius-topleft: 0.8em;*/
     border-radius: 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
 
#p-cactions ul li, #p-cactions ul li a
 
{   
 
{   
Line 38: Line 47:
 
}
 
}
  
 
 
#content, .toc
 
#content, .toc
 
{
 
{
Line 46: Line 54:
 
     border-radius: 0.8em;
 
     border-radius: 0.8em;
 
}
 
}
 
+
*/
  
 
/* Move the logo */
 
/* Move the logo */
#p-logo { padding-top:1.2em; }
+
/*
 +
#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 */
 
/* 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; }
 +
*/
  
 
/* right padding */
 
/* right padding */
 +
/*
 
#content {
 
#content {
background: white;
+
    background: white;
color: black;
+
    color: black;
border: 1px solid #aaa;
+
    border: 1px solid #aaa;
line-height: 1.5em;
+
    line-height: 1.5em;
        margin: 3em 1em 0em 20em;
+
    margin: 3em 1em 0em 16.5em;
padding: 0 1em 1em 1em;
+
    padding: 0 1em 1em 1em;
position: relative;
+
    position: absolute;
z-index: 2;
+
    z-index: 2;
        text-align: justify;
+
    text-align: justify;
 
}
 
}
  
Line 72: Line 97:
 
}
 
}
  
.portlet {width:14em;}
+
.portlet {
 +
    position: fixed;
 +
    width: 15em;
 +
}
 +
*/
  
 
/*Prettify the headers of the quickbar (left-hand column of boxes) */
 
/*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 {
 
#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 84: 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-topright:1em;
 +
    -moz-border-radius-topleft:1em;
 
}
 
}
 +
 
#p-homepage, #p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang {
 
#p-homepage, #p-navigation, #p-interaction, #p-search, #p-tb, #p-navclone, #p-lang {
    padding-top: 2px;
+
*/    padding-top: 5px;
 +
    -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
}