Difference between revisions of "Design.rythm"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
<style> | <style> | ||
body{ | body{ | ||
− | + | margin: 10px auto; | |
− | + | max-width: 60em; | |
} | } | ||
* { | * { | ||
− | + | padding: 10px;margin:5px; | |
} | } | ||
− | header{ | + | header,footer{ |
background-color: #FCFCFC; | background-color: #FCFCFC; | ||
} | } | ||
Line 29: | Line 29: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | + | main,article{ | |
− | + | } | |
+ | h1,h2,h3 { | ||
+ | color: #FF8000; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
</head> | </head> | ||
Line 73: | Line 49: | ||
</nav> | </nav> | ||
</header> | </header> | ||
− | |||
<main> | <main> | ||
− | + | <article>@(content)</article> | |
</main> | </main> | ||
− | |||
<footer> | <footer> | ||
Copyright (c) 2017<a href='http://www.bitplan.com'>BITPlan GmbH.</a>Alle Rechte vorbehalten. | Copyright (c) 2017<a href='http://www.bitplan.com'>BITPlan GmbH.</a>Alle Rechte vorbehalten. |
Revision as of 14:32, 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;
}
* {
padding: 10px;margin:5px;
}
header,footer{
background-color: #FCFCFC;
}
nav.a {
text-decoration: none;
}
main,article{
}
h1,h2,h3 {
color: #FF8000;
}
</style>
</head>
<body>
<header>
<nav>
<img src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'>
<a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a>
<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>
<lang>@(lang)</lang>
</nav>
</header>
<main>
<article>@(content)</article>
</main>
<footer>
Copyright (c) 2017<a href='http://www.bitplan.com'>BITPlan GmbH.</a>Alle Rechte vorbehalten.
<a href='http://training.bitplan.com/index.php/Kontakt'>Kontakt</a><a href='http://training.bitplan.com/index.php/Impressum'>Impressum</a>
</footer>
</body>
</html>