From cf0c8dcf860444e8e39f549f56379573f55a644f Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 11 Feb 2024 11:29:52 -0500 Subject: Add gallery page --- static/style.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index caf9776..d8361ef 100644 --- a/static/style.css +++ b/static/style.css @@ -50,7 +50,7 @@ main { padding: 1.75rem; padding-top: 5rem; padding-bottom: 3rem; - max-width: 80rem; + max-width: 60rem; margin-left: auto; margin-right: auto; } @@ -237,8 +237,9 @@ blockquote { font-style: italic; } -.sketchbook > img:first-of-type { - display: none; +.gallery { + display: grid; + grid-template-columns: repeat(4, 1fr); } @media screen and (max-width: 45rem) { @@ -252,6 +253,9 @@ blockquote { .even-2-col-grid { grid-template-columns: 1fr; } + .gallery { + grid-template-columns: repeat(2, 1fr); + } .toggler{ /* ALWAYS KEEPING THE TOGGLER OR THE CHECKBOX ON TOP OF EVERYTHING : */ -- cgit v1.2.3