« get me outta code hell

css: homepage grid layout update (still hard-coded sorry) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-18 18:30:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-08-18 18:30:13 -0300
commit77d9f4b311dcc70e765f2bc5f3cdec508ca2bbc6 (patch)
tree55c3c15e8422feb783b650f9e50792dc073a192e
parent52afee4c57940696e41332349861782b24b9d7c5 (diff)
css: homepage grid layout update (still hard-coded sorry)
-rw-r--r--src/static/site4.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/site4.css b/src/static/site4.css
index a1a9ef44..f79c0c2d 100644
--- a/src/static/site4.css
+++ b/src/static/site4.css
@@ -1617,12 +1617,12 @@ html[data-language-code="preview-en"][data-url-key="localized.home"] #content
     z-index: 2;
   }
 
-  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:not(:nth-child(n+7)) {
+  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:not(:nth-child(n+10)) {
     flex-basis: 23%;
     margin: 15px;
   }
 
-  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:nth-child(n+7) {
+  html[data-url-key="localized.home"] .layout-columns.has-one-sidebar .grid-listing > .grid-item:nth-child(n+10) {
     flex-basis: 18%;
     margin: 10px;
   }