From ea379034d397bd28788671164e92f0efa445fbef Mon Sep 17 00:00:00 2001 From: Viyurz <128215328+Viyurz@users.noreply.github.com> Date: Sun, 26 Nov 2023 09:55:57 +0100 Subject: [PATCH] Homepage: Add sauce --- nginx-www/index/index.css | 22 ++++++++++++++-------- nginx-www/index/index.html | 3 +++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/nginx-www/index/index.css b/nginx-www/index/index.css index e3d5afa..9204ac3 100644 --- a/nginx-www/index/index.css +++ b/nginx-www/index/index.css @@ -9,7 +9,7 @@ body { margin: 0; } -main { +div { display: flex; flex-direction: column; justify-content: center; @@ -20,7 +20,7 @@ main { margin: auto; } -a { +div a { border: 3px solid white; border-radius: 2px; padding: 12px; @@ -39,7 +39,7 @@ p { margin: auto; } -a:hover { +div a:hover { transform: scale(1.1); background-color: rgba(255, 255, 255, 0.25); } @@ -48,16 +48,22 @@ img { height: 86%; } -h5 { +main > a { + font-size: 0.9em; + color: white; + text-decoration: none; position: absolute; - bottom: 10px; - right: 10px; - color: rgba(255, 255, 255, 0.5); + bottom: 8px; + right: 8px; margin: 0; } +main > a:hover { + text-decoration: underline; +} + @media only screen and (min-width: 1050px) { - main { + div { flex-direction: row; } } \ No newline at end of file diff --git a/nginx-www/index/index.html b/nginx-www/index/index.html index ae85c34..6be0989 100644 --- a/nginx-www/index/index.html +++ b/nginx-www/index/index.html @@ -10,6 +10,7 @@