From 68137cf8a480f93c7d0c078166990b66fa5a5b9d Mon Sep 17 00:00:00 2001 From: chimchooree Date: Fri, 9 Oct 2020 19:38:45 -0500 Subject: [PATCH] redesigned feature template to put nav under article, bordered by side bar (was under everything) --- src/static/css/feature.css | 24 +++++------------------- src/views/diary-boxes.tpl | 8 ++++++-- src/views/feature.tpl | 12 ++---------- 3 files changed, 13 insertions(+), 31 deletions(-) diff --git a/src/static/css/feature.css b/src/static/css/feature.css index fce9b82..0dde077 100644 --- a/src/static/css/feature.css +++ b/src/static/css/feature.css @@ -27,7 +27,7 @@ ul { list-style-position: inside; } .grid { display: grid; grid-template-columns: auto 533px 267px auto; - grid-template-rows: 25px 90px repeat(4, 1fr) 200px auto; + grid-template-rows: 25px 90px repeat(4, auto) auto; grid-column-gap: 0px; grid-row-gap: 0px; } @@ -145,7 +145,7 @@ ul { list-style-position: inside; } } .diary-entry { - grid-area: 3 / 2 / 7 / 3; + grid-area: 3 / 2 / 6 / 3; background-color: #ff0000; padding: 5px; } @@ -175,32 +175,18 @@ ul { list-style-position: inside; } background-color: #ce6a85; } -.dir-row { - grid-area: 7 / 1 / 8 / 5; +.recommend { + grid-area: 6 / 2 / 7 / 3; background-color: #F5D7E3; display: grid; grid-template-columns: auto; grid-template-rows: 15% 35% auto; grid-column-gap: 0px; grid-row-gap: 0px; -} - -.dir-header { - grid-area: 1 / 1 / 2 / 2; -} -.dir-date { - grid-area: 2 / 1 / 3 / 2; - overflow-x: scroll; - overflow-y: hidden; -} -.dir-articles { - grid-area: 3 / 1 / 4 / 2; - overflow-x: scroll; - overflow-y: hidden; } .footer-row { - grid-area: 8 / 1 / 9 / 5; + grid-area: 7 / 1 / 8 / 5; background-color: #A8577E; } diff --git a/src/views/diary-boxes.tpl b/src/views/diary-boxes.tpl index 27dbb24..86af06e 100644 --- a/src/views/diary-boxes.tpl +++ b/src/views/diary-boxes.tpl @@ -25,7 +25,11 @@

disclosure

- blessfrey.me is not using sponsored posts or affiliate links right now. Any that appear will be properly disclosed.
+ blessfrey.me is not using sponsored posts or affiliate links right now.
- blessfrey.me does not collect personal information + has no cookies. Just a simple dev site.
+ blessfrey.me does not collect personal information + has no cookies.
+
+ If this changes, sponsored content will be properly disclosed, cookies and analytics will comply with the GDPR and CCPA, etc.
+
+ Thank you for following the development of blessfrey.
diff --git a/src/views/feature.tpl b/src/views/feature.tpl index e1bfb03..9b1b71c 100644 --- a/src/views/feature.tpl +++ b/src/views/feature.tpl @@ -8,16 +8,8 @@ % include diary-boxes.tpl -
-
- {{!header}} -
-
- {{!dates}} -
-
- {{!articles}} -
+
+ {{!articles}}