Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
   <style>
 
   <style>
  
     body
+
     body{
    {
+
  margin: 10px auto;
      margin:10px auto;
+
  max-width: 60em;
      max-width= 60em;
+
}
    }
+
* {
    header
+
  padding: 10px;margin:5px;
    {
+
}
      background: gray;
+
header{
    }
+
  border: 2px solid #3481cd
    footer
+
}
    {
+
nav{
      background: gray;
+
  background: skyblue;
    }
+
}
    main
+
footer{
    {
+
  border: 2px solid seagreen;
      background: white;
+
}
    }
+
 +
main{
 +
  border: 2px solid hotpink;
 +
}
 +
 +
article{
 +
  border: 2px solid purple;
 +
}
 +
section{
 +
  border: 2px solid slateblue;
 +
}
 +
aside{
 +
  border: 2px solid tomato;
 +
}
  
 
   </style>
 
   </style>
Line 41: Line 54:
 
     <header>
 
     <header>
 
       <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'>
 +
        <nav>
 +
        <ul>
 
         <li>
 
         <li>
 
             <a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a>
 
             <a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a>
Line 48: Line 63:
 
             <a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a>
 
             <a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a>
 
         </li>
 
         </li>
 +
        </ul>
 +
        </nav>
 
     </header>
 
     </header>
  

Revision as of 10:49, 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 #3481cd
	}
	nav{
	  background: skyblue;
	}
	footer{
	  border: 2px solid seagreen;
	}
	
	main{
	  border: 2px solid hotpink;
	}
	
	article{
	  border: 2px solid purple;
	}
	section{
	  border: 2px solid slateblue;
	}
	aside{
	  border: 2px solid tomato;
	}

  </style>
</head>

<body>
    <header>
      <img src='http://wiki.bitplan.com/images/wiki/thumb/8/87/BITPlanLogo2012.svg/212px-BITPlanLogo2012.svg.png'>
         <nav>
         <ul>
         <li>
             <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>
         </li>
         </ul>
         </nav>
    </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>