Remove inline css

This commit is contained in:
Raoul 2018-09-01 17:17:51 +02:00
parent e84015f839
commit e87354c99b
No known key found for this signature in database
GPG key ID: C7493D73B67C1842
2 changed files with 74 additions and 67 deletions

View file

@ -24,7 +24,7 @@
{{ partial "site-sidebar.en.html" . }} {{ partial "site-sidebar.en.html" . }}
{{ end }} {{ end }}
{{ block "main" . }} {{ end }} {{ block "main" . }} {{ end }}
<div style="clear: both;"></div> <div id="clear"></div>
</div> </div>
{{ block "footer" . }} {{ partial "site-footer.html" . }} {{ end }} {{ block "footer" . }} {{ partial "site-footer.html" . }} {{ end }}

View file

@ -6,136 +6,143 @@
/* ###### General ###### */ /* ###### General ###### */
body { body {
font-family: "Lucida Grande", "Arial", sans-serif; font-family: "Lucida Grande", "Arial", sans-serif;
background-image: url(/images/sitebg.png); background-image: url(/images/sitebg.png);
background-color: #ffffff; background-color: #ffffff;
font-size: 0.9em; font-size: 0.9em;
color: #000000; color: #000000;
margin: 0px auto; margin: 0px auto;
width: 934px; width: 934px;
} }
a { a {
color: #5c8040; color: #5c8040;
font-style: italic; font-style: italic;
} }
a:hover { a:hover {
background-color: #f2ffcd; background-color: #f2ffcd;
} }
/* ###### Header ###### */ /* ###### Header ###### */
#header { #header {
background-image: url(/images/header.png); background-image: url(/images/header.png);
min-height: 143px; min-height: 143px;
height: 143px; height: 143px;
} }
#header h1 { #header h1 {
display: none; display: none;
} }
/* ###### Navigation ###### */ /* ###### Navigation ###### */
#menu { #menu {
background-image: url(/images/menubg.png); background-image: url(/images/menubg.png);
min-height: 80px; min-height: 80px;
height: 80px; height: 80px;
} }
#menu ul { #menu ul {
list-style-type: none; list-style-type: none;
overflow: hidden; overflow: hidden;
margin: 0px; margin: 0px;
margin-right: 20px; margin-right: 20px;
margin-left: 240px; margin-left: 240px;
padding: 0px; padding: 0px;
} }
#menu ul li { #menu ul li {
display: inline; display: inline;
margin: 0px; margin: 0px;
} }
#menu ul li a { #menu ul li a {
background-color: #63ab45; background-color: #63ab45;
float: left; float: left;
display: block; display: block;
padding: 6px; padding: 6px;
text-decoration: none; text-decoration: none;
margin-top: 2px; margin-top: 2px;
margin-left: 1px; margin-left: 1px;
font-style: normal; font-style: normal;
color: #ffffff; color: #ffffff;
} }
#menu ul li a:hover { #menu ul li a:hover {
background-color: #273013; background-color: #273013;
} }
#menu ul li a:focus { #menu ul li a:focus {
background-color: #273013; background-color: #273013;
} }
/* ###### Content ###### */ /* ###### Content ###### */
#content { #content {
background-image: url(/images/contentbg.png); background-image: url(/images/contentbg.png);
margin-left: 34px; margin-left: 34px;
padding-bottom: 30px; padding-bottom: 30px;
} }
/* ###### Leftbar ###### */ /* ###### Leftbar ###### */
.left { .left {
margin-left: 60px; margin-left: 60px;
float: left; float: left;
width: 220px; width: 220px;
font-size: 0.9em; font-size: 0.9em;
} }
.left h3 { .left h3 {
margin: 0px; margin: 0px;
font-size: 1.4em; font-size: 1.4em;
color: #658362; color: #658362;
} }
.left strong { .left strong {
font-weight: bold; font-weight: bold;
} }
/* ###### Rightbar ###### */ /* ###### Rightbar ###### */
.right { .right {
float: right; float: right;
width: 530px; width: 530px;
padding-right: 60px; padding-right: 60px;
} }
.right h2 { .right h2 {
margin-top: 10px; margin-top: 10px;
margin-bottom: 5px; margin-bottom: 5px;
padding: 5px; padding: 5px;
padding-left: 10px; padding-left: 10px;
font-size: 1.2em; font-size: 1.2em;
background-color: #337866; background-color: #337866;
color: #ffffff; color: #ffffff;
} }
.right h2:first-child { .right h2:first-child {
margin-top: 0px; margin-top: 0px;
} }
.right h3 { .right h3 {
margin: 0px; margin: 0px;
font-size: 1.2em; font-size: 1.2em;
color: #658362; color: #658362;
} }
.right p { .right p {
margin-top: 3px; margin-top: 3px;
margin-bottom: 3px; margin-bottom: 3px;
}
/* ###### Reset ###### */
#clear {
clear: both;
} }
/* ###### Footer ###### */ /* ###### Footer ###### */
#footer { #footer {
text-align: center; text-align: center;
font-size: 0.8em; font-size: 0.8em;
margin: 5px; margin: 5px;
} }