From 4ce38f93a939a58f0e7b740bfbc4e8d959c5d6b1 Mon Sep 17 00:00:00 2001 From: Xsivax Date: Tue, 14 Dec 2021 11:37:15 +0100 Subject: [PATCH] dec14 --- templates/assets/css/nojs_net.css | 71 +++++++++++++++++++++++++++++++ templates/index.html | 22 +++++++++- templates/info.html | 17 +++----- 3 files changed, 98 insertions(+), 12 deletions(-) diff --git a/templates/assets/css/nojs_net.css b/templates/assets/css/nojs_net.css index a0c8887..f1d37a9 100644 --- a/templates/assets/css/nojs_net.css +++ b/templates/assets/css/nojs_net.css @@ -162,6 +162,77 @@ svg { } + /* Test */ + + .mobile_placeholder { + display: flex; + justify-content: center; + } + + .open { + position: fixed; + height: 50vh; + width: 70vw; + background: #e5e7e6; + top: 25vh; + display: flex; + } + + .close { + height: 10vh; + width: auto; + align-self: flex-start; + color: #e5e7e6; + position: fixed; + top: 15vh; + } + + + + input { + height: 20vw; + width: 20vh; + z-index: 200; + opacity: 0%; + cursor: pointer; + position: fixed; + top: 15vh; + } + + input:checked ~ .open { + display: none; + } + + input:checked ~ .close { + display: none; +} + +input:hover ~ .close { + animation: shine 4s ease-in forwards; + +} + +@keyframes shine { + 0% { + stroke: url('#myGradient'); + + + } + 50% { + stroke: url('#myGradient2'); + + } + 100% { + stroke: url('#myGradient'); + } +} + + + + + + + diff --git a/templates/index.html b/templates/index.html index c77301a..8d532e1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {% block content %} - +
@@ -91,12 +91,30 @@
+ + + + + + + + + + + + + + + + +
+ {# {% block child %} {% endblock %} #} +
- {% endblock %} \ No newline at end of file diff --git a/templates/info.html b/templates/info.html index 0d56896..ca3f2a4 100644 --- a/templates/info.html +++ b/templates/info.html @@ -1,11 +1,8 @@ {% extends "index.html" %} -{% block head } - -{% endblock %} - -{%block info} -
- - Logo -
-{% endblock %} \ No newline at end of file +{% block head %} +{{ super() }} + +{% endbock%} +{% block child %} +

Hello from child template 1 !

+{% endblock%} \ No newline at end of file