aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-05-14 22:34:59 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-05-14 22:34:59 +0200
commita31f4904bee6f234e7b49f557babb6fbad0c48ff (patch)
treed60dfd736c42b236009b23902bb5ee9ed742e063
parent3eade56417506758ff1d26d247e4fbc27d4a9763 (diff)
downloadsite-a31f4904bee6f234e7b49f557babb6fbad0c48ff.tar.gz
site-a31f4904bee6f234e7b49f557babb6fbad0c48ff.zip
Change CSS
-rw-r--r--src/css/main.css9
1 files 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 {