From f2f6dce47c2dc35f6d9969da126827effe319dff Mon Sep 17 00:00:00 2001 From: nahed2019 Date: Tue, 20 Oct 2020 00:26:38 +0000 Subject: [PATCH 1/2] chang the layout for the Footer and style it --- static/css/style.css | 10 ++- templates/includes/footer.html | 149 +++++++++++++++++---------------- 2 files changed, 84 insertions(+), 75 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 8382c7d0..01bebd1f 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -78,14 +78,19 @@ footer { background-color: var(--p-grey); } + + footer h4 { - margin: 20px 0; + margin: 25px 0; + padding-left: 10px; font-weight: 500; letter-spacing: 1px; } footer p { text-align: justify; + font-weight: 400; + padding-left: 15px; } footer a:hover { @@ -99,6 +104,7 @@ footer ul { footer ul li a { color: var(--s-grey); + padding-left: 15px; } .github-wrapper { @@ -123,7 +129,7 @@ footer ul li a { .fab { font-size: 200%; margin: 0 20px; - color: var(--s-grey); + color: var(--p-orange); transition: transform .4s; } diff --git a/templates/includes/footer.html b/templates/includes/footer.html index f7413442..50bdcb0e 100644 --- a/templates/includes/footer.html +++ b/templates/includes/footer.html @@ -1,74 +1,77 @@ -
-
-
-

Policies

- -
-
-

- Resources -

- -
-
-

- About Us -

-

- Code Institute is the leading global provider - of online coding education. Credit-rated by Edinburgh Napier University and validated by the Higher - Education Authority in Sweden, the Ministry of Communications in Singapore, and the Higher Education - Authority in Ireland. -

-
-
- -
- +
+
+
+

+ About Us +

+

+ Code Institute is the leading global provider + of online coding education. Credit-rated by Edinburgh Napier University and validated by the Higher + Education Authority in Sweden, the Ministry of Communications in Singapore, and the Higher Education + Authority in Ireland. +

+
+
+

+ Resources +

+ +
+
+

Policies

+ +
+
+ +
+
+ +
\ No newline at end of file From 36a167295ab60d8d5ba73e8981a49a70262cca1c Mon Sep 17 00:00:00 2001 From: nahed2019 Date: Tue, 20 Oct 2020 21:50:12 +0000 Subject: [PATCH 2/2] added calss to footer h4,p. using CSS to create the border --- static/css/style.css | 13 +++++--- templates/includes/footer.html | 58 ++++++++++++++++++---------------- 2 files changed, 39 insertions(+), 32 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 01bebd1f..a232a310 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -80,14 +80,14 @@ footer { -footer h4 { +.sub-footer-heading { margin: 25px 0; - padding-left: 10px; + padding-left: 20px; font-weight: 500; letter-spacing: 1px; } -footer p { +.sub-footer-text { text-align: justify; font-weight: 400; padding-left: 15px; @@ -107,6 +107,10 @@ footer ul li a { padding-left: 15px; } +.sub-footer{ + border-top: 1px solid var(--s-grey); +} + .github-wrapper { display: flex; justify-content: center; @@ -129,12 +133,13 @@ footer ul li a { .fab { font-size: 200%; margin: 0 20px; - color: var(--p-orange); + color: var(--s-grey); transition: transform .4s; } .fab:hover { transform: scale(1.3); + color: var(--p-orange); /* TEXT */ .p-orange { diff --git a/templates/includes/footer.html b/templates/includes/footer.html index 50bdcb0e..3bbcbcb6 100644 --- a/templates/includes/footer.html +++ b/templates/includes/footer.html @@ -1,21 +1,21 @@
-

+

-

+

-
-

+
+ -
    +
-
-

Policies

-
-
- -

\ No newline at end of file