From a31f4904bee6f234e7b49f557babb6fbad0c48ff Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 14 May 2020 22:34:59 +0200 Subject: Change CSS --- src/css/main.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/css/main.css b/src/css/main.css index 47dcf8b..9a8830c 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -22,8 +22,9 @@ html { height: 100% } body { display: flex; - min-height: 100%; + max-width: 1200px; flex-direction: row; + margin: auto; } /* @@ -45,8 +46,12 @@ body { /* Header + Menu */ body > header { color: white; - background-color: #519c60; + background: rgb(125,205,141); + background: linear-gradient(0deg, rgba(125,205,141,1) 0%, rgba(81,156,96,1) 50%, rgba(12,144,110,1) 100%); padding: 1.5rem; + margin: 0.8rem; + border-radius: 0.5rem; + box-shadow: 0px 0px 30px rgba(31,38,103,0.2); } body > header > a > svg { -- cgit v1.2.3