From c34fbbd2cd4b35c7ef7d48d077c2dfe4e4fe7a5f Mon Sep 17 00:00:00 2001 From: chimchooree Date: Fri, 9 Oct 2020 21:01:31 -0500 Subject: [PATCH] more like this has a title div and centered snippet divs --- src/static/css/feature.css | 9 +++++---- src/views/feature.tpl | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/static/css/feature.css b/src/static/css/feature.css index b52bab4..7110915 100644 --- a/src/static/css/feature.css +++ b/src/static/css/feature.css @@ -183,12 +183,13 @@ ul { list-style-position: inside; } grid-template-rows: auto; grid-column-gap: 0px; grid-row-gap: 0px; - padding-top: 25px; + padding: 5px; } -.snip1 { grid-area: 1 / 2 / 2 / 3; } -.snip2 { grid-area: 1 / 3 / 2 / 4; } -.snip3 { grid-area: 1 / 4 / 2 / 5; } +.more { grid-area: 1 / 1 / 2 / 6; } +.snip1 { grid-area: 2 / 2 / 3 / 3; } +.snip2 { grid-area: 2 / 3 / 3 / 4; } +.snip3 { grid-area: 2 / 4 / 3 / 5; } .footer-row { grid-area: 7 / 1 / 8 / 5; diff --git a/src/views/feature.tpl b/src/views/feature.tpl index dd5d93e..be14ebf 100644 --- a/src/views/feature.tpl +++ b/src/views/feature.tpl @@ -9,6 +9,7 @@ % include diary-boxes.tpl
+

more like this...