From a894d5e2fde64a3e405a3108e77fabc5e4d9c13b Mon Sep 17 00:00:00 2001 From: Dorian Lesbre <dorian.lesbre@gmail.com> Date: Sun, 27 Dec 2020 16:47:18 +0100 Subject: [PATCH] Removed useless nested div in header --- home/static/css/style.css | 4 ++-- home/templates/home.html | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/home/static/css/style.css b/home/static/css/style.css index eb4676d..a0c82d6 100644 --- a/home/static/css/style.css +++ b/home/static/css/style.css @@ -20,7 +20,7 @@ section a:link { color: rgb(62, 62, 255); } -.header { +header { display: flex; background-color: var(--color_bg_1); border-bottom: 5px solid var(--color_bg_2); @@ -30,7 +30,7 @@ section a:link { padding: 0px 0px 20px 20px; } -.header h1, .header h1 a, .header h1 a:visited, .header h1 a:active { +header h1, header h1 a, header h1 a:visited, header h1 a:active { color: #ddd; font-size: 60px; text-decoration: none; diff --git a/home/templates/home.html b/home/templates/home.html index 9a773cb..d93a35a 100644 --- a/home/templates/home.html +++ b/home/templates/home.html @@ -11,9 +11,7 @@ </head> <body> <header> - <div class="header"> <h1><a href="/">The site's title</a></h1> - </div> </header> <nav> <a href="/" class="internal">Inscriptions</a> -- GitLab