From d89afd383e5dcd8af671fd7c3a1e97d482552dd0 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Thu, 13 Feb 2025 23:50:39 +0300 Subject: [PATCH] refactor --- static/index.css | 10 +++++- templates/_head.html | 3 ++ templates/_sidenav.html | 2 +- templates/index.html | 61 +++++++++++++++++++++++------------- templates/sql-injection.html | 4 +-- 5 files changed, 55 insertions(+), 25 deletions(-) diff --git a/static/index.css b/static/index.css index ce8c25c..5206422 100644 --- a/static/index.css +++ b/static/index.css @@ -38,7 +38,7 @@ display: none; } -.divv { +.capsule-window { background-color: rgb(0 0 0 / 85%); border: dashed rgba(225, 225, 225, 0.75); border-width: 2px 3px; @@ -169,6 +169,11 @@ margin: 0; } +.navgoodlinks > p + p { + margin: 0; + text-align: left; +} + .navbtn + .navgoodlinks { padding-top: 2rem; } @@ -276,6 +281,9 @@ align-items: center; justify-content: center; flex-direction: column; + background-color: rgb(0 0 0 / 85%); + box-sizing: border-box; + margin-top: 2rem; } .headerblock:hover { diff --git a/templates/_head.html b/templates/_head.html index 05b631a..cac95c9 100644 --- a/templates/_head.html +++ b/templates/_head.html @@ -3,9 +3,12 @@ +{%- if request.path != url_for('index') %} +{%- endif %} + CTF для самых маленьких \ No newline at end of file diff --git a/templates/_sidenav.html b/templates/_sidenav.html index 2e9a709..781533d 100644 --- a/templates/_sidenav.html +++ b/templates/_sidenav.html @@ -1,4 +1,4 @@ -