From 0eca73b1d31130647ef3dbe805d7fde97d0bebe0 Mon Sep 17 00:00:00 2001 From: ngoomie Date: Wed, 19 Jul 2023 01:22:58 -0600 Subject: [PATCH] July 19 2023 --- .gitignore | 2 + miscellany/websites/piclog/2023-07.scss | 10 +- miscellany/websites/piclog/README | 8 +- .../_generic/fourSquareGridGallery.scss | 159 ++++++++++++++++++ miscellany/websites/status cafe/README | 8 +- 5 files changed, 184 insertions(+), 3 deletions(-) create mode 100644 miscellany/websites/piclog/_generic/fourSquareGridGallery.scss diff --git a/.gitignore b/.gitignore index 87de34b..de9ced0 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,8 @@ miscellany/websites/status cafe/img/ # ---> piclog miscellany/websites/piclog/*.css miscellany/websites/piclog/*.css.* +miscellany/websites/piclog/_generic/*.css +miscellany/websites/piclog/_generic/*.css.* miscellany/websites/piclog/img/ # ---> Thunar diff --git a/miscellany/websites/piclog/2023-07.scss b/miscellany/websites/piclog/2023-07.scss index 0486863..7841535 100644 --- a/miscellany/websites/piclog/2023-07.scss +++ b/miscellany/websites/piclog/2023-07.scss @@ -33,6 +33,10 @@ main { gap: math.div($padding, 2); } +@media screen and (max-width: 480px) { + main { grid-template-columns: 1fr 1fr } +} + // --- about section p.about, p:nth-of-type(2) { @@ -66,12 +70,16 @@ div.nuAboutTbl { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: $padding; - div.nuAboutTbl { + div.nuAboutTblItem { width: 100%; text-align: center; } } +@media screen and (max-width: 480px) { + div.nuAboutTbl { grid-template-columns: 1fr 1fr } +} + // --- gallery article { padding: math.div($padding, 2); diff --git a/miscellany/websites/piclog/README b/miscellany/websites/piclog/README index 7fa162f..5af8995 100644 --- a/miscellany/websites/piclog/README +++ b/miscellany/websites/piclog/README @@ -1 +1,7 @@ -Files in this folder are CC0 licensed \ No newline at end of file +Files in this folder are CC0 licensed + +Files in folder `_generic` are intended to be templates for +other people to modify, whereas the year-month named files +in this folder are just my own themes published for +posterity purposes (but feel free to edit those if you +want, too) \ No newline at end of file diff --git a/miscellany/websites/piclog/_generic/fourSquareGridGallery.scss b/miscellany/websites/piclog/_generic/fourSquareGridGallery.scss new file mode 100644 index 0000000..a334973 --- /dev/null +++ b/miscellany/websites/piclog/_generic/fourSquareGridGallery.scss @@ -0,0 +1,159 @@ +/* + +four-column square-grid gallery template + for piclog, by ngoomie + +compile to standard CSS and put in your 'about' + section within