Difference between revisions of "Design.rythm"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
<title>@(title)</title> | <title>@(title)</title> | ||
<style> | <style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | body | |
− | + | { | |
− | + | margin:10px auto; | |
− | + | max-width= 60em; | |
− | } | + | } |
+ | header | ||
+ | { | ||
+ | background: gray; | ||
+ | } | ||
+ | footer | ||
+ | { | ||
+ | background: gray; | ||
+ | } | ||
+ | main | ||
+ | { | ||
+ | background: white; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
</head> | </head> | ||
+ | |||
<body> | <body> | ||
− | + | <header> | |
− | <header | ||
<div style='float:left; margin-left=1%; margin-rigth=1%'><img height='20%' src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'></div> | <div style='float:left; margin-left=1%; margin-rigth=1%'><img height='20%' src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'></div> | ||
<div style='width:70%; column-count:5; height:100%; font-size:150%; text-align:center; margin-top:3%'> | <div style='width:70%; column-count:5; height:100%; font-size:150%; text-align:center; margin-top:3%'> | ||
− | + | <div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a></div> | |
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Training'>Trainings</a></div> | <div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Training'>Trainings</a></div> | ||
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Partner'>Partner</a></div> | <div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Partner'>Partner</a></div> | ||
Line 125: | Line 49: | ||
</div> | </div> | ||
</header> | </header> | ||
− | <main | + | |
− | + | <main>@(content)</main> | |
− | + | ||
− | + | <footer> | |
− | + | <div style="width: 100%; margin-left:5%;"> | |
− | + | <br /><br />Copyright (c) 2017 <a href='http://www.bitplan.com'>BITPlan GmbH</a>.<br /> Alle Rechte vorbehalten.<span style="margin-left: 47%"> | |
− | + | <a href='http://training.bitplan.com/index.php/Kontakt'>Kontakt</a> <a href='http://training.bitplan.com/index.php/Impressum'> Impressum<br /><br /></a> | |
− | + | </div> | |
+ | </footer> | ||
</body> | </body> | ||
</html> | </html> | ||
</source> | </source> |
Revision as of 10:38, 12 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>
<style>
body
{
margin:10px auto;
max-width= 60em;
}
header
{
background: gray;
}
footer
{
background: gray;
}
main
{
background: white;
}
</style>
</head>
<body>
<header>
<div style='float:left; margin-left=1%; margin-rigth=1%'><img height='20%' src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'></div>
<div style='width:70%; column-count:5; height:100%; font-size:150%; text-align:center; margin-top:3%'>
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a></div>
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Training'>Trainings</a></div>
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Partner'>Partner</a></div>
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Aktuelles'>Aktuelles</a></div>
<div class="sf-menu spalte"><a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a></div>
</div>
</header>
<main>@(content)</main>
<footer>
<div style="width: 100%; margin-left:5%;">
<br /><br />Copyright (c) 2017 <a href='http://www.bitplan.com'>BITPlan GmbH</a>.<br /> Alle Rechte vorbehalten.<span style="margin-left: 47%">
<a href='http://training.bitplan.com/index.php/Kontakt'>Kontakt</a> <a href='http://training.bitplan.com/index.php/Impressum'> Impressum<br /><br /></a>
</div>
</footer>
</body>
</html>