From 785c9f1c071f7c1671f07ee38bef103fbe39ea47 Mon Sep 17 00:00:00 2001 From: Adam Jaamour Date: Sun, 19 May 2024 12:12:35 +0200 Subject: [PATCH] Add privacy policy --- _includes/contact.html | 2 +- _includes/footer.html | 72 ++++++++++++++++++++++++++++++++++++++++-- _includes/head.html | 1 + assets/css/modal.css | 41 ++++++++++++++++++++++++ 4 files changed, 113 insertions(+), 3 deletions(-) create mode 100644 assets/css/modal.css diff --git a/_includes/contact.html b/_includes/contact.html index 71ea14f..9d889b7 100644 --- a/_includes/contact.html +++ b/_includes/contact.html @@ -5,7 +5,7 @@

Contact Me

-
+
diff --git a/_includes/footer.html b/_includes/footer.html index c372055..1b8b294 100755 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,6 +1,6 @@ @@ -10,4 +10,72 @@ -{% include google-analytics.html %} \ No newline at end of file +{% include google-analytics.html %} + + + + + + \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index a746d8b..72da71b 100755 --- a/_includes/head.html +++ b/_includes/head.html @@ -17,6 +17,7 @@ + diff --git a/assets/css/modal.css b/assets/css/modal.css new file mode 100644 index 0000000..cc48e10 --- /dev/null +++ b/assets/css/modal.css @@ -0,0 +1,41 @@ +.modal { + display: none; + position: fixed; + z-index: 1; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: rgba(0, 0, 0, 0.5); +} + +.modal-content { + background-color: #fefefe; + margin: 15% auto; + padding: 20px; + border: 1px solid #888; + width: 80%; + max-width: 50%; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); + animation: modalopen 0.4s; +} + +@keyframes modalopen { + from { opacity: 0; transform: translateY(-50px); } + to { opacity: 1; transform: translateY(0); } +} + +.close { + color: #aaa; + float: right; + font-size: 28px; + font-weight: bold; +} + +.close:hover, +.close:focus { + color: black; + text-decoration: none; + cursor: pointer; +} \ No newline at end of file