Difference between revisions of "Design.rythm"
Jump to navigation
Jump to search
(→Source) |
|||
Line 44: | Line 44: | ||
} | } | ||
.logo { | .logo { | ||
− | width: | + | width: 6vw; |
float:left; | float:left; | ||
} | } |
Revision as of 13:44, 13 September 2017
Links
https://wiki.selfhtml.org/wiki/HTML/Tutorials/Alternativen_zu_Tabellen
Source
@// Rythm template for the WikiCMS approach
@args() {
String content,
String lang,
String title;
}
<!doctype html>
<html lang="@(lang)">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@(title)</title>
<script src="http://tol.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
<style>
body{
margin: 10px auto;
max-width: 60em;
}
* {
font-family: Arial, Helvetica, sans-serif;
}
header,footer{
background-color: #FCFCFC;
text-align: center;
}
nav a:link,a:visited {
text-decoration: none;
}
a:hover {
color: #FFFFFF;
background-color: #FF8000;
}
main,article{
}
main {
padding: 10px;margin:5px;
}
h1,h2,h3 {
color: #FF8000;
}
.logo {
width: 6vw;
float:left;
}
</style>
</head>
<body>
<header>
<a class='logo' href='http://training.bitplan.com/index.php/Willkommen'><img src='http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg' width='100%'></a>
<nav>
<a href='http://training.bitplan.com/index.php/Training'>Trainings</a>
<a href='http://training.bitplan.com/index.php/Partner'>Partner</a>
<a href='http://training.bitplan.com/index.php/Aktuelles'>Aktuelles</a>
<a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a>
</nav>
</header>
<main>
<article>@(content)</article>
</main>
<footer>
<nav>
<span style='font-size: 0.7vw;'>Copyright (c) 2017 <a href='http://www.bitplan.com'>BITPlan GmbH.</a> Alle Rechte vorbehalten.</span>
<a href='http://training.bitplan.com/index.php/Kontakt'>Kontakt</a> <a href='http://training.bitplan.com/index.php/Impressum'>Impressum</a>
</nav>
</footer>
</body>
</html>