seinheit.ch/public/style/main.css
2013-07-19 16:04:54 +02:00

259 lines
No EOL
3.9 KiB
CSS

@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,200);
html, body {
min-height: 100%;
}
body {
background: white;
font-family: "Trebuchet MS", "Lucida Grande", verdana, sans-serif;
font-size: 0.9em;
margin: 0;
padding: 20px 10%;
line-height: 1.4;
color: #3d3f3f;
}
a {
color: #2877A2;
}
h1 {
margin: -0.1em 0 0 0;
font-weight: 300;
font-size: 3em;
font-family: Raleway, sans-serif;
}
h1 + h2 {
margin: 0 0 2em 0;
font-size: 1em;
}
h3 {
font-weight: normal;
}
h2 {
margin-bottom: 0;
font-weight: 400;
font-family: Raleway, sans-serif;
}
h2 + h3 {
margin-top: 0;
font-weight: bold;
}
img { max-width: 100%; }
ul {
padding-left: 1.5em;
margin-left: 0;
}
#container {
min-width: 750px;
max-width: 1100px;
position:relative;
min-height:100%;
height:auto !important;
height:100%;
margin:0 auto;
background-color: white;
}
#logo {
float: left;
}
#logo img {
width: 400px;
}
#navi {
margin-top: 80px;
float: right;
list-style-type: none;
text-align: center;
}
#navi > li {
display: inline-block;
position: relative;
}
#navi a {
color: black;
padding: 0.5em 0.7em;
text-decoration: none;
background: #90cb93;
color: white;
}
#navi li:hover a {
background: #59af5e;
}
#navi ul {
display: none;
position: absolute;
text-align: left;
list-style-type: none;
margin-left: 0;
padding-left: 0;
top: 1.8em;
z-index: 2;
}
#navi li:hover ul a {
display: block;
background: #59af5e;
background: rgba(89, 175, 94, 0.85);
}
#navi li:hover ul a:hover {
background: #90cb93;
}
#navi > li:hover ul {
display: block;
}
#navi > li:last-child ul {
right: 0;
border: red;
}
#stage {
clear: both;
border-top: 5px solid #90cb93;
padding: 2.5em 0 1.5em 0;
line-height: 1.7;
}
.col1:before, .col1:after,
.col2:before, .col2:after,
.col3:before, .col3:after,
.col4:before, .col4:after,
#stage:before, #stage:after {
content: "";
display: table;
}
.col1:after, .col2:after, .col3:after, .col4:after,
#stage:after {
clear: both;
}
#header_image {
vertical-align: middle;
display: block;
margin-bottom: 2em;
}
#stage small {
color: #616363;
line-height: 1.4;
display: block;
}
p.diagramm {
text-align: center;
margin: 4em 0;
}
#stage p.diagramm img {
float: none;
}
#stage h2 + p {
margin-top: 0.5em;
}
footer {
clear: both;
border-top: 5px solid #90CB93;
color: #616363;
}
footer #social {
float: right;
margin-top: 10px;
}
.col1, .col2, .col3, .col4 { clear: both; margin-bottom: 1.5em; padding-top: 2em; }
.col1.line, .col2.line, .col3.line, .col4.line { border-top: 5px solid #993533; }
.col:not(.box) > *:first-child { margin-top: 0; padding-top: 0; }
.col:not(.box) > h2:first-child { margin-top: -0.25em; }
.col {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
div .col:last-child { margin-right: 0; }
.col2 .col {
width: 48%;
float: left;
margin-right: 4%;
}
.col2.left .col:first-child { width: 31.5%; }
.col2.left .col:last-child { width: 64.5%; }
.col2.right .col:first-child { width: 64.5%; }
.col2.right .col:last-child { width: 31.5%; }
.col3 .col {
width: 32%;
float: left;
margin-right: 2%;
}
.col4 .col {
width: 24%;
float: left;
margin-right: 1.3%;
}
.col4 h2 {
font-size: 1em;
padding: 0.2em 1em;
}
.box {
vertical-align: top;
}
.box .content {
padding: 0.5em 1em;
background: #f5f5f5;
}
.box h2 {
background: #90CB93;
color: white;
font-size: 1.1em;
padding: 0.5em 1em;
margin: 0;
text-align: center;
font-family: "Trebuchet MS", "Lucida Grande", verdana, sans-serif;
}
.box h2 a {
text-decoration: none;
color: white;
display: block;
}
.box img {
vertical-align: middle;
}
.box.cite h2 {
background: #216f85;
}