Code formatting and align navigation links.

This commit is contained in:
Christian Steinle
2022-09-13 12:05:38 +02:00
parent 7cad640116
commit 16782ba8da

View File

@@ -1,198 +1,200 @@
body { body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
font-size: 12px; font-size: 12px;
width: 1000px; width: 1000px;
margin: auto; margin: auto;
background-color: #ccc; background-color: #ccc;
} }
h1 { h1 {
font-size: 2em; font-size: 2em;
line-height: 1.2em; line-height: 1.2em;
color: #1a2d79; color: #1a2d79;
font-weight: bold; font-weight: bold;
margin: 0 0 10px -5px; margin: 0 0 10px -5px;
padding: 5px 0 20px 0; padding: 5px 0 20px 0;
border-bottom: 1px dashed #999; border-bottom: 1px dashed #999;
} }
h2 { h2 {
font-size: 1.5em; font-size: 1.5em;
line-height: 1.2em; line-height: 1.2em;
color: #525760; color: #525760;
font-weight: bold; font-weight: bold;
margin: 20px 0 10px -1px; margin: 20px 0 10px -1px;
} }
h3 { h3 {
font-size: 1.5em; font-size: 1.5em;
line-height: 1.2em; line-height: 1.2em;
color: #525760; color: #525760;
font-weight: bold; font-weight: bold;
margin: 0 0 0 0; margin: 0 0 0 0;
padding: 20px 0 20px 0; padding: 20px 0 20px 0;
} }
h4 { h4 {
font-size: 2.5em; font-size: 2.5em;
line-height: 1em; line-height: 1em;
color: #1a2d79; color: #1a2d79;
font-weight: bold; font-weight: bold;
margin: 0 0 0 0; margin: 0 0 0 0;
} }
img{ img {
border: 0; border: 0;
} }
#header{ #header {
height: 115px; height: 115px;
} }
#header img{ #header img {
padding-top: 5px; padding-top: 5px;
padding-bottom: 0; padding-bottom: 0;
} }
#greybar { #greybar {
height: 30px; height: 30px;
background-image: url(../img/button_grau.jpg); background-image: url(../img/button_grau.jpg);
margin: 0 0 0 200px; margin: 0 0 0 200px;
} }
#greybar ul{ #greybar ul {
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
} }
#greybar li{ #greybar li {
padding-top: 5px; padding-top: 5px;
height: 25px; height: 25px;
float: right; float: right;
display: inline; display: inline;
} }
#greybar li:hover{ #greybar li:hover {
background-image: url(../img/button_grau_over.jpg); background-image: url(../img/button_grau_over.jpg);
height: 25px; height: 25px;
} }
#greybar li.aktiv{ #greybar li.aktiv {
background-image: url(../img/button_grau_over.jpg); background-image: url(../img/button_grau_over.jpg);
font-weight: bold; font-weight: bold;
} }
#greybar a{ #greybar a {
text-decoration: none; text-decoration: none;
float: left; float: left;
width: 150px; width: 150px;
text-align: center; text-align: center;
color: #FFF; color: #FFF;
font-size: 1em; font-size: 1em;
margin-top: 2px; margin-top: 2px;
margin-bottom: 3px; margin-bottom: 3px;
} }
#links { #links {
width: 200px; width: 200px;
height: 630px; height: 630px;
background-color: #1a2d79; background-color: #1a2d79;
margin-top: -30px; margin-top: -30px;
float: left; float: left;
position: relative; position: relative;
} }
#links ul{ #links ul {
margin: 0; margin: 0;
padding-left: 0; padding-left: 0;
width: 200px; width: 200px;
} }
#links li{ #links li {
list-style-type: none; list-style-type: none;
background-image: url(../img/button_blau.jpg); background-image: url(../img/button_blau.jpg);
height: 23px; height: 23px;
padding-top: 7px; padding-top: 7px;
padding-left: 20px; padding-left: 20px;
text-align: left;
} }
#links li.level2{ #links li.level2 {
padding-left: 40px; padding-left: 40px;
} }
#links li.aktivlevel2{ #links li.aktivlevel2 {
background-image: url(../img/button_blau_over.jpg); background-image: url(../img/button_blau_over.jpg);
padding-left: 40px; padding-left: 40px;
} }
#links li:hover{ #links li:hover {
background-image: url(../img/button_blau_over.jpg); background-image: url(../img/button_blau_over.jpg);
} }
#links li.aktiv{ #links li.aktiv {
background-image: url(../img/button_blau_over.jpg); background-image: url(../img/button_blau_over.jpg);
font-weight: bold; font-weight: bold;
} }
#links a{ #links a {
text-decoration: none; text-decoration: none;
display: block; display: block;
height: 20px; height: 20px;
color: #fff; color: #fff;
font-size: 1em; font-size: 1em;
} }
#inhalt { #inhalt {
margin-left: 0; margin-left: 0;
height: 600px; height: 600px;
padding: 0 20px 0 20px; padding: 0 20px 0 20px;
text-align: justify; text-align: justify;
background-color: #fff; background-color: #fff;
overflow: auto; overflow: auto;
} }
#inhalt ul{ #inhalt ul {
padding-left: 20px; padding-left: 20px;
} }
img.daemm{ img.daemm {
float: right; float: right;
padding-left: 50px; padding-left: 50px;
} }
img.info{ img.info {
float: left; float: left;
padding-right: 50px; padding-right: 50px;
} }
img.rechts { img.rechts {
float: right; float: right;
margin-left: 20px; margin-left: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }
img.referenz{ img.referenz {
padding: 0 0 0 0; padding: 0 0 0 0;
} }
#clear { #clear {
overflow: hidden; overflow: hidden;
clear: left; clear: left;
height: 0; height: 0;
margin: -1px 0 0 0; margin: -1px 0 0 0;
font-size: 1px; font-size: 1px;
} }
#cleaner { #cleaner {
clear: both; clear: both;
margin-top: 0; margin-top: 0;
position: fixed; position: fixed;
} }
#footer { #footer {
color: #fff; color: #fff;
height: 23px; height: 23px;
padding-top: 7px; padding-top: 7px;
background-image: url(../img/button_grau_over.jpg); background-image: url(../img/button_grau_over.jpg);
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }