From 3211097afc32609f83787e24d25fb5972633a240 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Thu, 9 Nov 2023 21:12:36 +0100 Subject: [PATCH] More styles adjustments --- assets/css/index.css | 8 ++++++++ layouts/index.html | 18 ++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/assets/css/index.css b/assets/css/index.css index 2dccd51..c43fc1b 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -7,8 +7,16 @@ main p { margin-bottom: 3rem; } +section { + margin-bottom: 5rem; +} + @media only screen and (max-width: 1024px) { main h2 { font-size: 1.75rem; } + + section { + margin-bottom: 2rem; + } } diff --git a/layouts/index.html b/layouts/index.html index 951ae57..bb81026 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,10 +3,10 @@ {{ end }} - {{ define "main" }} -

Projects

-
+
+

Projects

+

These are all the projects I worked on personally and professionally.

{{ range (where .Site.Pages "Section" "projects") }} {{ range .Pages }} {{ partial "project-card.html" . }} @@ -14,8 +14,10 @@ {{ end }}
-

Contact

-

Here you can contact me personally for any questions or opportunities.

- - {{ partial "contact-form.html" . }} -{{ end }} \ No newline at end of file +
+

Contact

+

Here you can contact me personally for any questions or opportunities.

+ + {{ partial "contact-form.html" . }} +
+{{ end }}