From 4b756455f487128b7a765d022cc4cad55efc1b6c Mon Sep 17 00:00:00 2001 From: Qubasa Date: Fri, 24 May 2024 17:28:58 +0200 Subject: [PATCH] Improve header font size --- website/assets/css/main.css | 14 +++++++++++--- website/index.html | 2 -- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/website/assets/css/main.css b/website/assets/css/main.css index dfaee9f..37a9ff6 100644 --- a/website/assets/css/main.css +++ b/website/assets/css/main.css @@ -7,7 +7,7 @@ span[data-value="Darknet"] { .top-header { background-color: #2C2C2C; - padding: 20px 0; + padding: 1em 0; width: 100%; position: fixed; top: 0; @@ -18,15 +18,23 @@ span[data-value="Darknet"] { .header-nav-links a { color: #FFFFFF; text-decoration: none; - margin: 0 15px; - font-size: 16px; + margin: 0 1em; + font-size: 1.5em; } .header-nav-links a:hover { text-decoration: underline; } +@media screen and (max-width: 736px) { +} + +@media screen and (max-width: 480px) { + .header-nav-links a { + font-size: 1em; + } +} /* Directive by HTML5 UP diff --git a/website/index.html b/website/index.html index 3e573c1..93c09c5 100644 --- a/website/index.html +++ b/website/index.html @@ -15,10 +15,8 @@ -