From ae93e8bf72114173667cc73c72e3ec4940a1ba91 Mon Sep 17 00:00:00 2001 From: James Dinh Date: Sun, 20 Nov 2022 22:30:34 -0800 Subject: [PATCH] Added footer --- about.html | 25 ++++++++++++++++++++++--- contact.html | 25 ++++++++++++++++++++++--- css/general.css | 34 ++++++++++++++++++++++++++++++++-- gallery.html | 25 ++++++++++++++++++++++--- htdocs/.htaccess | 4 ++++ index.html | 24 +++++++++++++++++++++--- 6 files changed, 123 insertions(+), 14 deletions(-) create mode 100644 htdocs/.htaccess diff --git a/about.html b/about.html index 202c29a..9e345c2 100644 --- a/about.html +++ b/about.html @@ -24,6 +24,7 @@ position: relative; background-color: #f2f1ef; color: #0d1117; + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; } @@ -40,9 +41,9 @@ @@ -60,5 +61,23 @@ + \ No newline at end of file diff --git a/contact.html b/contact.html index 34f3cd6..a6612b5 100644 --- a/contact.html +++ b/contact.html @@ -25,6 +25,7 @@ position: relative; background-color: #f2f1ef; color: #0d1117; + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; } @@ -41,9 +42,9 @@ @@ -78,5 +79,23 @@ + \ No newline at end of file diff --git a/css/general.css b/css/general.css index a0f901f..29312fd 100644 --- a/css/general.css +++ b/css/general.css @@ -219,8 +219,8 @@ header { } .about-img { - width: 300px; - height: 300px; + width: 400px; + height: 400px; background: linear-gradient(rgba(10, 14, 18, 0.2) 50%, rgba(104, 104, 104, 0.37) 60%, rgb(188, 188, 188) 100%); } @@ -347,4 +347,34 @@ main { .topic { font-size: 30px; +} + +/* Footer */ +footer { + width: 100%; + background-color: #e1e1e1; +} + +.footer-container { + display: flex; + justify-content: space-between; + max-width: 800px; + min-width: none; + margin: auto; +} + +.footer-copyright { + font-size: 18px; + padding: 5px 0; +} + +.socials { + padding-top: 6px; + align-items: center; + float: right; + display: flex; +} + +.socials-icon { + padding: 0 5px; } \ No newline at end of file diff --git a/gallery.html b/gallery.html index ec1de1d..f3870cf 100644 --- a/gallery.html +++ b/gallery.html @@ -24,6 +24,7 @@ position: relative; background-color: #f2f1ef; color: #0d1117; + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; } @@ -40,9 +41,9 @@ @@ -107,5 +108,23 @@ + \ No newline at end of file diff --git a/htdocs/.htaccess b/htdocs/.htaccess new file mode 100644 index 0000000..6c70481 --- /dev/null +++ b/htdocs/.htaccess @@ -0,0 +1,4 @@ +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^([^\.]+)$ $1.html [NC, L] \ No newline at end of file diff --git a/index.html b/index.html index 6e8935a..175b58b 100644 --- a/index.html +++ b/index.html @@ -41,9 +41,9 @@ @@ -64,5 +64,23 @@
+ \ No newline at end of file