From 6555c22111cb60cfd06ddd7b56c88671aa1ad57b Mon Sep 17 00:00:00 2001 From: JoBCB Date: Mon, 3 May 2021 10:51:46 +0100 Subject: [PATCH] adjustments on home template incl heart icon and other minor layout details --- static/css/Icons/heart-regular.svg | 1 + static/css/Icons/heart-solid.svg | 1 + static/css/style.css | 32 ++++++++++++++++++++++++++++++ templates/home.html | 2 +- templates/layout.html | 9 +++++++++ 5 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 static/css/Icons/heart-regular.svg create mode 100644 static/css/Icons/heart-solid.svg diff --git a/static/css/Icons/heart-regular.svg b/static/css/Icons/heart-regular.svg new file mode 100644 index 0000000..d6dabd0 --- /dev/null +++ b/static/css/Icons/heart-regular.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/css/Icons/heart-solid.svg b/static/css/Icons/heart-solid.svg new file mode 100644 index 0000000..b6b04b6 --- /dev/null +++ b/static/css/Icons/heart-solid.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/css/style.css b/static/css/style.css index f888638..3f7976f 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -386,6 +386,30 @@ div#navigation a:active { text-decoration: none; } +a#link-search{ + text-decoration: none; + } + + +a#nav-heart { + display: flex; + align-self: baseline; +} + +a#nav-heart > img { + height: 24px; + width: 24px; + } + +a#nav-heart > img { + filter: invert(23%) sepia(99%) saturate(2460%) hue-rotate(225deg) brightness(82%) contrast(108%); + } + +a#nav-heart > img:hover { + filter: none; + } + + /*#home-top-div:after { content:""; position: absolute; @@ -1126,6 +1150,7 @@ div#home-recent-grid, div#browsethearchive-grid, div#selfpublishedindex-grid, di div.home-show-wrapper{ width: 100%; margin: 0px auto 60px auto; + padding: 0px 8vw 0px 8vw; display: flex; align-items: center; justify-content: center; @@ -2099,6 +2124,9 @@ div#tutorials-intro h3, div#tutorials-intro p { color: var(--black); } + #nav-support a { + } + div#animatedlogo img { width: 8.5vw; min-width: 32px; @@ -2278,5 +2306,9 @@ div#tutorials-intro h3, div#tutorials-intro p { #home-recent-grid, #browsethearchive-grid, #selfpublishedindex-grid, #zinesindex-grid { grid-template-columns: repeat(6, 1fr); } .artwork-relatedwrapper,.artwork-copieswrapper, .artwork-lists { grid-template-columns: repeat(6, 1fr); } + #footer-contact-form { + width: 100%; + max-width: 420px; + } } diff --git a/templates/home.html b/templates/home.html index a34860f..c07a22d 100644 --- a/templates/home.html +++ b/templates/home.html @@ -23,7 +23,7 @@ -

The Digital Archive of Artists Publishing is an interactive, user-driven, searchable database of Artist's Books and publications

+

The Digital Archive of Artists' Publishing is an interactive, user-driven, searchable database of artists' books and publications.

diff --git a/templates/layout.html b/templates/layout.html index aabd58b..6090e99 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -18,6 +18,8 @@ + +
@@ -64,6 +66,13 @@ + + heart icon and link to donation page +