# HG changeset patch # User Paper # Date 1735337208 18000 # Node ID e83a48ef3bf41e2b10842ef88c62419fcc257c6e # Parent caa6f0e136c83afdbc4d9f6745a8aaa88477ea6f cheese: make the style much more mobile-friendly diff -r caa6f0e136c8 -r e83a48ef3bf4 cheese/index.html --- a/cheese/index.html Tue Nov 19 00:55:49 2024 -0500 +++ b/cheese/index.html Fri Dec 27 17:06:48 2024 -0500 @@ -3,7 +3,7 @@ title: cheese ---
-{% for item in site.data.cheese %} - {{ item.name }} +{% for row in site.data.cheese %} + {{ row.name }} {% endfor %}
diff -r caa6f0e136c8 -r e83a48ef3bf4 css/style.css --- a/css/style.css Tue Nov 19 00:55:49 2024 -0500 +++ b/css/style.css Fri Dec 27 17:06:48 2024 -0500 @@ -77,7 +77,7 @@ } /* fuck off */ -h1, h2 { +h1, h2, h3, h4, h5, h6 { margin: 0; } @@ -172,18 +172,22 @@ .cheese-list { display: flex; + column-gap: 0.5em; + row-gap: 0.5em; flex-wrap: wrap; - justify-content: center; - row-gap: 0.5em; - column-gap: 0.5em; + justify-content: center; + align-items: center; + + width: 100%; } .cheese-image { + /* should be a safe value */ + min-height: 100px; + height: 33vh; display: block; - - height: 35vh; - width: auto; + object-fit: contain; } .plugs-list {