From 672e4cadeaee4626510c89a5bf20a339a71aa00d Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Sun, 21 Apr 2024 22:51:01 +0200 Subject: [PATCH] fix: website is now centered, resized Spike image, looks better now imo --- css/styles.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index d7b7dfd..17f0c64 100644 --- a/css/styles.css +++ b/css/styles.css @@ -2,12 +2,18 @@ float: left; border-style:solid; border-color:rgba(18,24,217,0.6); - width: 8.1%; + width: 10.1%; height: auto; max-width: 100%; object-fit: cover; } +/* centers the website */ +html { + max-width: 1200px; + margin: auto; +} + /* unvisited link */ a:link { color: #686bff; @@ -41,7 +47,7 @@ a:active { .menu { font-weight: bold; float: left; - margin-top: 5.2%; + margin-top: 6.2%; margin-left: 0.5%; }