diff --git a/html/styles/main.css b/html/styles/main.css index 3923257..a904c17 100644 --- a/html/styles/main.css +++ b/html/styles/main.css @@ -64,7 +64,7 @@ nav a:visited { color: white; } -nav a:hover { +nav a:hover, nav .active a { box-shadow: inset 130px 0 0 0 white; color: black; } diff --git a/view/layout.php b/view/layout.php index 8155e51..24c8ae5 100644 --- a/view/layout.php +++ b/view/layout.php @@ -1,4 +1,18 @@ + + + <?= $title ?? ""; ?> @@ -10,13 +24,13 @@