Add impressum, optimize layout

This commit is contained in:
L3D 2022-01-09 20:12:56 +01:00
parent 4631450ab0
commit 05a6fbc283
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 6 additions and 6 deletions

View file

@ -3,11 +3,12 @@ header {
background: $background_accent_1; background: $background_accent_1;
padding: 20px 30px; padding: 20px 30px;
box-shadow: 5px 5px 5px 10px $background_accent_1; box-shadow: 5px 5px 5px 10px $background_accent_1;
h1 { h1, h1 a, h1 a:hover, h1 a:link {
color: $font_accent_1; color: $font_accent_1;
margin: 0; margin: 0;
font-weight: normal; font-weight: normal;
font-size: 42px; font-size: 42px;
text-decoration: none;
} }
nav ul { nav ul {
list-style: none; list-style: none;

View file

@ -1,4 +1,4 @@
title: Winkekatze TV title: Winkekatze Video Operation Center
--- ---
_model: start _model: start
--- ---

View file

@ -34,7 +34,7 @@
</head> </head>
<body> <body>
<header> <header>
<h1>winkekatze.tv</h1> <h1><a href="/">winkekatze.tv</a></h1>
<nav> <nav>
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li <li
@ -42,12 +42,11 @@
<a href="{{ '/'|url }}">Welcome</a> <a href="{{ '/'|url }}">Welcome</a>
</li> </li>
{%- for href, title in [ {%- for href, title in [
['/projects', 'Projects'], ['https://c3woc.de/impressum/', 'Impressum']
['/about', 'About']
] %} ] %}
<li <li
{%- if this.is_child_of(href) %} class="active"{%- endif -%}> {%- if this.is_child_of(href) %} class="active"{%- endif -%}>
<a href="{{ href|url }}">{{ title }}</a> <a href="{{ href }}">{{ title }}</a>
</li> </li>
{%- endfor %} {%- endfor %}
</ul> </ul>