From bc4f2c79351408bb1634d14b4b98e1989e957dad Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Tue, 7 Mar 2023 16:36:16 +0100 Subject: [PATCH] css changes --- v4/components/footer.php | 1 + v4/css/contact.css | 2 ++ v4/css/projects.css | 5 +++++ v4/css/style.css | 11 +++-------- v4/index.php | 1 + v4/pages/projects/projects.php | 2 +- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/v4/components/footer.php b/v4/components/footer.php index 5ae7419..9f32947 100644 --- a/v4/components/footer.php +++ b/v4/components/footer.php @@ -1 +1,2 @@

(c) filiprojek.cz 2023

+ diff --git a/v4/css/contact.css b/v4/css/contact.css index f41c5ec..3454057 100644 --- a/v4/css/contact.css +++ b/v4/css/contact.css @@ -22,6 +22,8 @@ padding: var(--base-padding); margin-top: 1.5rem; cursor: pointer; + background-color: white; + color: black; } .form_contact textarea { diff --git a/v4/css/projects.css b/v4/css/projects.css index 6b374ee..a3b20ec 100644 --- a/v4/css/projects.css +++ b/v4/css/projects.css @@ -1,3 +1,8 @@ +.content h1 { + text-align: center; + margin-bottom: 2rem; +} + .projects { display: flex; flex-direction: column; diff --git a/v4/css/style.css b/v4/css/style.css index b58398e..4fa31cf 100644 --- a/v4/css/style.css +++ b/v4/css/style.css @@ -9,9 +9,8 @@ body { flex-direction: column; min-height: 100vh; font-family: 'Source Code Pro', monospace; - background: black; - color: white; - border: 1px solid purple; + background: var(--background); + color: var(--color); } html { @@ -34,7 +33,6 @@ html { .nav { position: relative; display: flex; - border: 1px solid red; padding: 1rem; justify-content: space-between; isolation: isolate; @@ -42,7 +40,6 @@ html { .nav .logo img { height: 3rem; - border: 1px solid orange; } .nav .links { @@ -50,7 +47,6 @@ html { align-items: center; justify-content: center; gap: 1rem; - border: 1px solid orange; z-index: -1; } @@ -62,7 +58,6 @@ html { } .content { - border: 1px solid green; padding: 2rem 1rem; } @@ -72,6 +67,6 @@ footer { justify-content: center; align-items: center; align-self: flex-end; - border: 1px solid cyan; margin-top: auto; + margin-bottom: 2rem; } diff --git a/v4/index.php b/v4/index.php index 4eada2d..981f245 100644 --- a/v4/index.php +++ b/v4/index.php @@ -61,6 +61,7 @@ if($prod) { ?> + -

Projekty

+

Projekty