demo.3
* moved templates to demo structure * new sass version * restructure of some styles for demo
This commit is contained in:
parent
4708896f79
commit
a810ec2770
15 changed files with 187 additions and 54 deletions
|
|
@ -21,11 +21,15 @@
|
|||
"text": "500"
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
"demoadditionallinks": [
|
||||
{
|
||||
"href": "blank.html",
|
||||
"text": "Blank"
|
||||
},
|
||||
{
|
||||
"href": "maintenance.html",
|
||||
"text": "Maintenance"
|
||||
},
|
||||
{
|
||||
"href": "tests.html",
|
||||
"text": "Tests"
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
C(")(")</pre>
|
||||
<h3>Overview about all the styles</h3>
|
||||
<ul class="list__link">
|
||||
<!-- Loops through "links" array -->
|
||||
{% for link in links %}
|
||||
<!-- Loops through "demoadditionallinks" array -->
|
||||
{% for link in demoadditionallinks %}
|
||||
<li><a href="{{link.href}}">{{link.text}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
13
source/pages/maintenance.njk
Normal file
13
source/pages/maintenance.njk
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!-- blank.njk -->
|
||||
{% set pageId = "blank" %}
|
||||
{% set pageClass = "height_full" %}
|
||||
|
||||
{% extends "maintenance.njk" %}
|
||||
|
||||
{% block title %}Wartung{% endblock %}
|
||||
|
||||
{% block body_content %}
|
||||
<div id="root" class="overflow">
|
||||
<h1 class="txt_hero txt_center txt_gradient">HIPPIE</h1>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
@ -26,6 +26,9 @@
|
|||
<form action="">
|
||||
<input id="txtName" type="text" /><span id="error">Caps Lock is ON.</span>
|
||||
</form>
|
||||
|
||||
{% import "macros/nav-macro.njk" as forms %}
|
||||
{{ forms.active('zubereitung') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@
|
|||
@import "modules/demo/demo_module";
|
||||
// @import "modules/YOUR-MODULE/YOUR-FILES";
|
||||
// New
|
||||
@import "new";
|
||||
@import "demo_new";
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@
|
|||
@import "modules/demo/demo_module";
|
||||
// @import "modules/YOUR-MODULE/YOUR-FILES";
|
||||
// New
|
||||
@import "new";
|
||||
@import "demo_new";
|
||||
|
|
@ -185,6 +185,10 @@ del {
|
|||
font-size: 3em !important;
|
||||
}
|
||||
|
||||
.txt_hero {
|
||||
font-size: $hero_size_1;
|
||||
}
|
||||
|
||||
.txt_center {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
|
@ -202,3 +206,10 @@ del {
|
|||
.txt_black {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.txt_gradient {
|
||||
background: linear-gradient(165deg, $alpha_color 30%, $bravo_color 45%, $charlie_color 50%, $delta_color, $echo_color 80%, $foxtrot_color);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ $head_size_4: 1.35em !default;
|
|||
$text_size_1: 1em;
|
||||
$text_size_2: 20;
|
||||
|
||||
$hero_size_1: $head_size_1 * 3;
|
||||
|
||||
$text_line_basic: 1.3 !default;
|
||||
$text_line_mono: 1.1 !default;
|
||||
$head_line_basic: $text_line_basic !default;
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
{% block head %}
|
||||
<title>{% block title %}{% endblock %} - HIPPIE</title>
|
||||
|
||||
<meta name="author" content="Interaktionsweise">
|
||||
<meta name="description" content="hippie">
|
||||
<meta name="generator" content="Notepad++, Atom">
|
||||
<meta name="robots" content="noindex">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" />
|
||||
|
||||
<link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="all" href="./css/demo.css"/>
|
||||
<!-- <link rel="stylesheet" type="text/css" media="print" href="./css/print.css"/> -->
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body id="{{ pageId }}" class="{{ pageClass }}">
|
||||
{% block body_content %}{% endblock %}
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.2.1.min.js"
|
||||
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
|
||||
crossorigin="anonymous"></script>
|
||||
{# <script src="bower_components/jquery/dist/jquery.js"></script> #}
|
||||
<script src="./js/all.min.js" type="text/javascript"></script>
|
||||
{% block script %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
{% block head %}
|
||||
<title>{% block title %}{% endblock %} - HIPPIE</title>
|
||||
|
||||
<meta name="author" content="Interaktionsweise">
|
||||
<meta name="description" content="hippie">
|
||||
<meta name="generator" content="Notepad++, Atom">
|
||||
<meta name="robots" content="noindex">
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" />
|
||||
|
||||
<link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="all" href="css/demo.css"/>
|
||||
<!-- <link rel="stylesheet" type="text/css" media="print" href="./css/print.css"/> -->
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body id="{{ pageId }}" class="{{ pageClass }}">
|
||||
{% block body_content %}{% endblock %}
|
||||
<script
|
||||
src="https://code.jquery.com/jquery-3.2.1.min.js"
|
||||
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
|
||||
crossorigin="anonymous"></script>
|
||||
{# <script src="bower_components/jquery/dist/jquery.js"></script> #}
|
||||
<script src="./js/all.min.js" type="text/javascript"></script>
|
||||
{% block script %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
|
||||
|
||||
<!-- <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,400italic,500,500italic,700' rel='stylesheet' type='text/css'> -->
|
||||
<link rel="stylesheet" type="text/css" media="all" href="../css/demo.css"/>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="css/demo.css"/>
|
||||
<!-- <link rel="stylesheet" type="text/css" media="print" href="./css/print.css"/> -->
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
|
|
|||
|
|
@ -17,13 +17,11 @@
|
|||
<link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="all" href="../../css/maintenance.css"/>
|
||||
<link rel="stylesheet" type="text/css" media="all" href="css/demo_basic.css"/>
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body id="{{ pageId }}" class="{{ pageClass }}">
|
||||
<div id="root">
|
||||
{% block body_content %}{% endblock %}
|
||||
</div>
|
||||
{% block body_content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue