From 8ffc4a5b959a277e34aeb7aedf2ad818d292dbb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Thu, 9 Jul 2020 00:39:39 +0200 Subject: [PATCH] probably fixed topnav overflows --- styles/home-style.css | 10 +++++++--- styles/pages-style.css | 6 ++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/styles/home-style.css b/styles/home-style.css index 6fe72c4..0b2009c 100644 --- a/styles/home-style.css +++ b/styles/home-style.css @@ -81,7 +81,8 @@ h1 { font-size: 20px; } .bottomnav a { - font-size: 8px; + font-size: 10px; + padding: 4px; } } @@ -92,6 +93,7 @@ h1 { } .bottomnav a { font-size: 11px; + padding: 8px; } } @@ -102,6 +104,7 @@ h1 { } .bottomnav a { font-size: 18px; + padding: 8px; } } @@ -111,7 +114,8 @@ h1 { font-size: 64px; } .bottomnav a { - font-size: 27px; + font-size: 24px; + padding: 8px; } } @media (min-width: 500px) and (max-width: 800px) { @@ -120,7 +124,7 @@ h1 { font-size: 76px; } .bottomnav a { - font-size: 28px; + font-size: 29px; } } @media (min-width: 800px) and (max-width: 1000px) { diff --git a/styles/pages-style.css b/styles/pages-style.css index fb249a0..31be929 100644 --- a/styles/pages-style.css +++ b/styles/pages-style.css @@ -33,13 +33,13 @@ html, body { font-size: 30px; font-family: 'Oswald', sans-serif; font-weight: 300; + overflow: hidden; } .topnav a.rainbow { background: linear-gradient(to right, #33ffc5 20%, #fc33ff, #ff3370, #ff3333, #3dff33, #33ffc5); background-size: 800px, 800px; color: aquamarine; - background-clip: text; text-fill-color: transparent; animation: gradient 2s linear infinite; -webkit-background-clip: text; @@ -238,6 +238,7 @@ li { } .topnav a { font-size: 18px; + padding: 8px; } li { padding: 8px; @@ -265,7 +266,8 @@ li { font-size: 18px; } .topnav a { - font-size: 27px; + font-size: 24px; + padding: 8px; } li { padding: 10px;