You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
218 lines
2.4 KiB
218 lines
2.4 KiB
body { |
|
|
|
} |
|
/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */ |
|
|
|
body { |
|
max-width: 100%; |
|
} |
|
|
|
|
|
|
|
.header, |
|
.nav, |
|
.nav a, |
|
.article, |
|
.footer { |
|
border-radius: 0px 0.5em 0.5em; |
|
border: 1px solid; |
|
padding: 10px; |
|
margin: 10px; |
|
clear: both; |
|
} |
|
|
|
a |
|
{ |
|
text-decoration: none; |
|
} |
|
|
|
.header { |
|
background: #F1F3F4; |
|
border-color: #d5d5d5; |
|
} |
|
|
|
.header * { |
|
} |
|
|
|
.header img { |
|
margin-right: 20px; |
|
} |
|
|
|
.header .nav { |
|
} |
|
|
|
.nav, |
|
.nav ul, |
|
.nav li { |
|
margin: 0; |
|
padding: 0; |
|
border: none; |
|
} |
|
|
|
.nav ul { |
|
margin-right: 2em; |
|
text-align:center; |
|
} |
|
|
|
.nav li { |
|
list-style-type: none; |
|
margin: 1.2em 0; |
|
display: inline-block; |
|
float: left; |
|
position: relative; |
|
} |
|
|
|
.nav::after {content:''; clear: left;} |
|
|
|
.nav a { |
|
display: inline-block; |
|
width: 95%; |
|
background: #fffbf0; |
|
border: 1px solid #dfac20; |
|
margin: 0; |
|
text-decoration: none; |
|
text-align: center; |
|
} |
|
|
|
.nav a:hover { |
|
background-color: #dfac20; |
|
} |
|
|
|
|
|
.article { |
|
background: #ffede0; |
|
border-color: #df6c20; |
|
} |
|
|
|
|
|
|
|
|
|
.red { |
|
background: #ffede0; |
|
border-color: #df6c20; |
|
} |
|
.green { |
|
background: #ebf5d7; |
|
border-color: #8db243; |
|
} |
|
|
|
|
|
|
|
|
|
.footer { |
|
background: #e4ebf2; |
|
border-color: #8a9da8; |
|
} |
|
|
|
.footer * { |
|
} |
|
|
|
.footer p { |
|
text-align: right; |
|
} |
|
|
|
/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */ |
|
|
|
|
|
/* Smart Phones und Tablets mit mittlerer Auflösung */ |
|
|
|
@media all and (min-width: 35em) { |
|
header img { |
|
margin-right: 50px; |
|
} |
|
.nav ul { |
|
} |
|
.nav li { |
|
margin: 5px 1em; |
|
} |
|
.article { |
|
} |
|
#news { |
|
} |
|
.footer { |
|
} |
|
} |
|
/* Large screens */ |
|
|
|
@media all and (min-width: 50em) { |
|
article { |
|
} |
|
#news { |
|
align-self: center; |
|
height: 120px; |
|
} |
|
} |
|
|
|
|
|
|
|
|
|
|
|
.article .i { |
|
font-size: 60px; |
|
left: 0; |
|
position: absolute; |
|
top: 50%; |
|
margin-top: -0.5em; |
|
} |
|
|
|
|
|
.nav-element .i { |
|
left: 1em; |
|
position: absolute; |
|
top: 0.8em; |
|
} |
|
|
|
.nav-element a { |
|
/* padding-left: 2em; */ |
|
} |
|
|
|
.nav-element { |
|
position: relative; |
|
} |
|
|
|
*::before, *::after { |
|
box-sizing: border-box; |
|
} |
|
|
|
.holder-section { |
|
padding-left: 6em; |
|
} |
|
|
|
/* * { |
|
box-sizing: border-box; |
|
}*/ |
|
.article-inner { |
|
position: relative; |
|
} |
|
|
|
.logo{ |
|
background-color: white; |
|
height:50px; |
|
} |
|
|
|
.header-left { |
|
width: 70%; |
|
float: left; |
|
} |
|
.header-right { |
|
position: relative; |
|
overflow: hidden; |
|
width: 30%; |
|
} |
|
.header-right ul { |
|
list-style-type: none; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
.header-right li { |
|
margin: .25em 0; |
|
padding: 0 1em; |
|
text-align: center; |
|
border-left: 1px solid #ccc; |
|
background-color: #fff; |
|
float: right; |
|
} |
|
|
|
.clear { |
|
clear: both; |
|
}
|
|
|