From 8e9cc12e4806eb830515a585ac481c6f37a92f2f Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Mon, 20 Mar 2023 23:30:35 +0100 Subject: changed styling some more --- static/style.css | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index a20a529..9824d4c 100644 --- a/static/style.css +++ b/static/style.css @@ -31,8 +31,8 @@ main, #headerwrapper { } #headerwrapper { + padding-top: 2%; text-align: center; - padding-top: 0.1%; padding-bottom: 2%; } @@ -49,26 +49,25 @@ nav li { nav a { text-decoration: none; display: block; - padding: 5px 6px 5px 6px; + padding: 0px 6px 5px 6px; color: white; } #lists { - float: left; - margin-right: 5%; - max-width: 45%; + margin-left: 2%; + flex: 1; } #img-wrapper { - float: right; - padding-top: 2%; - margin-left: 8%; - max-width: 30%; + text-align: right; + margin-right: 2%; + margin-left: 2%; + flex: 1; } img { max-height: 400px; - max-width: 100%; + max-width: 400px; } #recipe-list { -- cgit v1.2.3