Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
 
(120 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Links =
 
= Links =
https://wiki.selfhtml.org/wiki/HTML/Tutorials/Alternativen_zu_Tabellen
+
* {{Link|target=MediaWiki:Bootstrap.rythm}}
 +
* {{Link|target=MediaWiki:BITPlanStyle.rythm}}
 +
* {{Link|target=MediaWiki:BITPlan.rythm}}
 +
* {{Link|target=MediaWiki:Menu.rythm}}
 +
 
 
= Source =
 
= Source =
 
<source lang='html4strict'>
 
<source lang='html4strict'>
@// Rythm template for the manager for the
+
@// Rythm template for the WikiCMS approach
@// Entity Attribute which is a DocElement
+
@include(wiki.MediaWiki.BITPlan.rythm)
@args() {
+
@BITPlanHeader(languageCode,title)
  String content;
+
<script src="http://q.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
}
 
<!DOCTYPE html>
 
<html lang="en">
 
<head>
 
  <meta charset="utf-8"/>
 
  <style>
 
/**
 
* 1. Avoid the IE 10-11 `min-height` bug.
 
* 2. Set `flex-shrink` to `0` to prevent some browsers from
 
*    letting these items shrink to smaller than their content's default
 
*    minimum size. See http://bit.ly/1Mn35US for details.
 
* 3. Use `%` instead of `vh` since `vh` is buggy in older mobile Safari.
 
*/
 
body
 
{
 
  padding:0;
 
  margin:0;
 
  font-family:Verdana;
 
}
 
 
.HolyGrail {
 
  display: flex;
 
  height: 100%; /* 1, 3 */
 
  flex-direction: column;
 
}
 
 
.HolyGrail-header,
 
.HolyGrail-footer {
 
  flex: none; /* 2 */
 
  color: #FF8000;
 
  height: 10%;
 
  min-height: 30px;
 
  margin-left: 10%;
 
  margin-right: 10%;
 
  background-color: #FCFCFC;
 
}
 
 
.HolyGrail-body {
 
  display: flex;
 
  flex: 1 0 auto; /* 2 */
 
  flex-direction: column;
 
  padding: var(--space);
 
  background-color: #FEFEFE;
 
}
 
 
.HolyGrail-content {
 
  margin-top: var(--space);
 
  margin-bottom: var(--space);
 
  margin-left: 10%;
 
  margin-right: 10%;
 
}
 
 
.HolyGrail-nav {
 
  order: -1;
 
}
 
 
.HolyGrail-nav,
 
.HolyGrail-ads {
 
  padding: 1em;
 
  border-radius: 3px;
 
  background: rgba(147, 128, 108, 0.1);
 
}
 
 
@("@")media (--break-lg) {
 
  .HolyGrail-body {
 
    flex-direction: row;
 
  }
 
  .HolyGrail-content {
 
    flex: 1;
 
    padding: 0 var(--space-lg);
 
    margin: 0;
 
  }
 
  .HolyGrail-nav, .HolyGrail-ads {
 
    flex: 0 0 12em;
 
  }
 
}
 
 
h1 {
 
    color: #FF8000;
 
}
 
 
h2 {
 
    color: #FF8000;
 
}
 
 
h3 {
 
    color: #FF8000;
 
}
 
  </style>
 
 
</head>
 
</head>
 
<body>
 
<body>
   <div class="HolyGrail-body">
+
@BITPlanMenu(de)
    <header class="HolyGrail-header"></span><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 class="container">
    <div style='width:90%; column-count:5; height:100%; font-size:150%; text-align:center; margin-top:3%'>
+
  @(content)
    <div class="spalte"><a href='http://training.bitplan.com/index.php/Willkommen'>Willkommen</a></div>
+
   </div><!-- /.container -->
    <div class="spalte"><a href='http://training.bitplan.com/index.php/Training'>Trainings</a></div>
+
@footer(de)
    <div class="spalte"><a href='http://training.bitplan.com/index.php/Partner'>Partner</a></div>
 
    <div class="spalte"><a href='http://training.bitplan.com/index.php/Aktuelles'>Aktuelles</a></div>
 
    <div class="spalte"><a href='http://training.bitplan.com/index.php/Projekte'>Projekte</a></div>
 
    </div></header>
 
    <main class="HolyGrail-content">@(content)</main>
 
   </div>
 
  <footer class="HolyGrail-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>
 
 
</source>
 
</source>
 +
[[Category:RythmTemplate]]

Latest revision as of 12:32, 6 July 2021

Links

Source

@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.BITPlan.rythm)
@BITPlanHeader(languageCode,title)
<script src="http://q.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
</head>
<body>
@BITPlanMenu(de)
  <div class="container">
  @(content)
  </div><!-- /.container -->
@footer(de)