Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
}
 
}
 
header{
 
header{
  border: 2px solid #3481cd
+
  border: 2px solid gray;
 
}
 
}
 
nav{
 
nav{
Line 31: Line 31:
 
}
 
}
 
footer{
 
footer{
  border: 2px solid seagreen;
+
  border: 2px solid gray;
 
}
 
}
 
 
 
main{
 
main{
  border: 2px solid hotpink;
+
  border: 2px solid gray;
 
}
 
}
 
 
 
article{
 
article{
  border: 2px solid purple;
+
  border: 2px solid gray;
 
}
 
}
 
section{
 
section{
  border: 2px solid slateblue;
+
  border: 2px solid gray;
 
}
 
}
 
aside{
 
aside{
  border: 2px solid tomato;
+
  border: 2px solid gray;
 
}
 
}
  
Line 53: Line 53:
 
<body>
 
<body>
 
     <header>
 
     <header>
      <nav>
 
 
         <ul>
 
         <ul>
 
             <img src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'>
 
             <img src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'>
Line 62: Line 61:
 
             <a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a>
 
             <a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a>
 
         </ul>
 
         </ul>
      </nav>
 
 
     </header>
 
     </header>
  

Revision as of 11:02, 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{
	  border: 2px solid gray;
	}
	nav{
	  background: skyblue;
	}
	footer{
	  border: 2px solid gray;
	}
	
	main{
	  border: 2px solid gray;
	}
	
	article{
	  border: 2px solid gray;
	}
	section{
	  border: 2px solid gray;
	}
	aside{
	  border: 2px solid gray;
	}

  </style>
</head>

<body>
    <header>
        <ul>
             <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>
        </ul>
    </header>

    <main>@(content)</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>