From 22b1be6e43a176bfd8f1470600636ad39a3a6e6f Mon Sep 17 00:00:00 2001 From: DavidDGTNT Date: Thu, 10 Feb 2022 18:52:34 +0000 Subject: [PATCH] Improve rudimentary full page header --- src/assets/css/main.css | 20 ++++++++++++++++---- src/index.html | 3 ++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index ff5423b..9a1e6a6 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -58,7 +58,7 @@ header img { height: auto; } -header a { +header a, .fp-header a { list-style-type: none; margin: 0px; padding: 10px; @@ -73,7 +73,7 @@ header a { border-radius: 25px; } -header a:hover { +header a:hover, .fp-header a:hover { background-color: #d2691e; } @@ -86,9 +86,11 @@ header a:hover { } .fp-header { - width: 100%; - height: 50rem; + width: 100% - 30px; + height: 10rem; /* set to auto after you add the image */ background-color: #ffffff; + padding: 30px; + font-family: "M_PLUS_1", sans-serif; } main { @@ -104,6 +106,16 @@ main p { font-family: "Roboto", sans-serif; } +main a { + text-decoration: none; + color: #dddddd; + transition: color 500ms; +} + +main a:hover { + color: #ffffff; +} + ::-webkit-scrollbar { border-radius: 25px; } diff --git a/src/index.html b/src/index.html index fa55339..229ca1e 100644 --- a/src/index.html +++ b/src/index.html @@ -15,7 +15,8 @@ Lyza the Sheepdog: The Flood
- +

Travel back in time

+ Buy our newest book!