From 3708144c8881d313a2135633852f48fb31a0a2ae Mon Sep 17 00:00:00 2001 From: Dorian Lesbre <dorian.lesbre@gmail.com> Date: Sun, 27 Dec 2020 17:16:12 +0100 Subject: [PATCH] Added grey lateral columns --- home/static/css/style.css | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/home/static/css/style.css b/home/static/css/style.css index 8048fec..3459055 100644 --- a/home/static/css/style.css +++ b/home/static/css/style.css @@ -4,22 +4,16 @@ } html, body { + background-color: #eeeeee; color: #333; font-size: 18px; font-weight: 300; line-height: 1.5; font-family: Arial, Roboto, Helvetica, sans-serif; -} - -body { + align-items: center; margin: 0; } -section a:link { - text-decoration: underline; - color: rgb(62, 62, 255); -} - header { display: flex; background-color: var(--color_bg_1); @@ -67,18 +61,17 @@ nav a:hover { } main { + background-color: white; + justify-content: center; text-align: justify; -} - -main > * { - max-width: 960px; - margin-left: 15%; - margin-right: 15%; - padding-left: 10px; - padding-right: 10px; + padding: 10px 30px 10px 30px; + max-width: 920px; + margin-left: auto; + margin-right: auto; } main h2 { + padding-top: 30px; font-size: 1.5rem; font-weight: 300; text-align: left; @@ -89,4 +82,9 @@ main h2 { main p { font-size: 1rem; +} + +main a:link { + text-decoration: underline; + color: rgb(62, 62, 255); } \ No newline at end of file -- GitLab