css in assets

This commit is contained in:
Sebastian Frank 2019-02-13 12:21:20 +01:00
parent 9f9f6241b2
commit 39769a89c0
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3
6 changed files with 49 additions and 19 deletions

View File

@ -0,0 +1,39 @@
body {
margin: 0;
padding: 0;
color: #333;
background-color: lightgrey;
}
a {
color: black;
}
#content {
padding: 20px;
background-color: #fff;
clear: both;
}
#dataImg {
float: right;
margin-left: 20px;
margin-bottom: 20px;
}
#logoDiv {
background-color: #444;
padding: 20px;
}
#logoDiv img {
max-width: 60%;
}
#mainNavDiv {
padding: 20px;
}
footer {
padding: 20px;
}

View File

@ -1,9 +1,9 @@
<html>
{{> meta.html }}
<body style="margin: 0; padding: 2;">
<body>
{{> header.html }}
<div style="padding: 20px; background-color: white;">
<div id="content">
{{{ Body }}}
</div>

View File

@ -1,16 +1,15 @@
<html>
{{> meta.html }}
<body style="margin: 0; padding: 2;">
<body>
{{> header.html }}
<div style="padding: 20px; background-color: white;">
<div id="content">
{{#if Data.bild }}
<img src="{{ Data.bild }}" style="float: right; margin-left: 20px; margin-bottom: 20px">
<img src="{{ Data.bild }}" id="dataImg">
{{/if}}
{{{ Body }}}
<div style="clear: both;"></div>
</div>

View File

@ -1,4 +1,4 @@
<footer style="padding: 20px;">
<footer>
<div><b>service Level 1</b></div>
<ul>
{{#each NavMap.de.SubMap.service.SubSlice }}

View File

@ -1,7 +1,7 @@
<header>
<div style="background-color:#444; padding: 20px;"><img src="../assets/img/logo.png" style="max-width: 60%;"></div>
<div style="padding: 20px;">
<div><b>main Level 1</b></div>
<div id="logoDiv"><img src="../assets/img/logo.png"></div>
<div id="mainNavDiv">
<div><b>main Level 1</b></div>
<ul>
{{#each NavMap.de.SubMap.main.SubSlice }}
<li><a href="{{ GoTo }}">{{ Navname }}</a>

View File

@ -2,13 +2,5 @@
<title>{{ Meta.Title }}</title>
<meta name="description" content="{{ Meta.Description }}" />
<meta name="keywords" content="{{ Meta.Keywords }}" />
<style>
a {
color: black;
}
body {
color: #333;
background-color: lightgrey;
}
</style>
<link rel="stylesheet" type="text/css" href="../assets/css/main.css">
</meta>