Difference between revisions of "MediaWiki:Kalypso.css"
From Kalypso
| Line 45: | Line 45: | ||
*/ | */ | ||
#content { | #content { | ||
| + | position:relative; | ||
-moz-box-shadow: 0px -5px 15px #BBB; | -moz-box-shadow: 0px -5px 15px #BBB; | ||
-webkit-box-shadow: 0px -5px 15px #BBB; | -webkit-box-shadow: 0px -5px 15px #BBB; | ||
box-shadow: 0px -5px 15px #BBB; | box-shadow: 0px -5px 15px #BBB; | ||
| − | margin: auto !important; | + | margin: auto 10em !important; |
| − | width: | + | width: 70% !important; |
| − | padding: 80px !important; | + | padding: 80px 0 !important; |
padding-top: 20px !important; | padding-top: 20px !important; | ||
border: 0 !important; | border: 0 !important; | ||
| − | |||
| − | |||
| − | |||
background: #FFF !important; /* removes the border of the menu */ | background: #FFF !important; /* removes the border of the menu */ | ||
} | } | ||
Revision as of 09:53, 16 March 2015
/* VectorSkin an KalypsoSkin angepasst */
a, p a, h1 a, h2 a, h3 a, h4 a, h5 a, div a li a {text-decoration:none !important;}
body {
background: #FFFFFF !important;
font-family: Arial narrow, Palatino !important;
font-size:1.2em;
width:100%;
margin:0 auto;
border:2px solid red;
}
p, div, h1, h2, h3, h4, h5, ul, li, .mw-headline {
font-family: Arial narrow, Arial, Helvetica !important;}
#firstHeading {
width: 800px !important;
text-align: center !important;
font-size: 4em !important;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
font-weight: bold !important;
/*text-shadow: 4px 4px 0 #DDD;*/
}
#firstHeading i:first-child {
font-style: normal !important;
}
#firstHeading, h1, h2, h3, h4 {
font-family: Arial narrow, Palatino !important;
}
#bodyContent {
width: 800px !important;
text-align: justify;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
font-family: Arial narrow, Palatino !important;
font-size: 12pt !important;
}
/*
* border around the article
*/
#content {
position:relative;
-moz-box-shadow: 0px -5px 15px #BBB;
-webkit-box-shadow: 0px -5px 15px #BBB;
box-shadow: 0px -5px 15px #BBB;
margin: auto 10em !important;
width: 70% !important;
padding: 80px 0 !important;
padding-top: 20px !important;
border: 0 !important;
background: #FFF !important; /* removes the border of the menu */
}
/* margins */
.infobox, .tright, .vertical-navbox {
margin: 0 0 0.5em 2em !important;
}
.tleft {
margin: 0 2em 0.5em 0 !important;
}
/*
* hide things
*
*/
/*
* searchbar
*/
#p-personal {top:3em;}
#content {
margin-top: 20px !important;
}
#simpleSearch {
margin-top: 0 !important;
}
.imeselector {
display: none !important;
}
#mw-panel {
opacity: 1;
top: 195px !important;
z-index:99;
background:#fff;
}
#mw-panel:hover {
opacity: 1;
}
#right-navigation {
margin: 0 !important;
}
/*
* numbering of the headings
*/
body {
counter-reset: headingOne;
}
#toctitle h2:before {
content: "" !important;
counter-reset: headingOne;
}
#content h2 {
counter-reset: headingTwo;
}
#content h2:before {
counter-increment: headingOne;
content: counter(headingOne) ".";
}
#content h3 {
counter-reset: headingThree;
}
#content h3:before {
counter-increment: headingTwo;
content: counter(headingOne) "." counter(headingTwo) ".";
}
#content h4 {
counter-reset: headingFour;
}
#content h4:before {
counter-increment: headingThree;
content: counter(headingOne) "." counter(headingTwo) "." counter(headingThree) ".";
}
#content h5:before {
counter-increment: headingFour;
content: counter(headingOne) "." counter(headingTwo) "." counter(headingThree) "." counter(headingFour) ".";
}