Skip to content

Commit

Permalink
Reorder grid line names, turn off the snow
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmonsour committed Jan 20, 2024
1 parent 318f8bb commit b3beb2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/_includes/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ img[width][height] {
.content {
--gap: clamp(0.25rem, 3vw, 1rem);
--full: minmax(var(--gap), 1fr);
--content: min(65ch, 100% - var(--gap) * 2);
--popout: minmax(0, 2rem);
--feature: minmax(0, 5rem);
--popout: minmax(0, 2rem);
--content: min(65ch, 100% - var(--gap) * 2);

display: grid;
place-content: start center;
Expand Down Expand Up @@ -206,10 +206,11 @@ img[width][height] {
}
.post-card {
display: grid;
grid-column: feature;
grid-column: full;
grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
place-items: center;
margin-block-start: 1em;
place-items: center;
/* gap: 1em; */
}
.post-card .post-title {
font-size: var(--post-title-card-size);
Expand Down
4 changes: 2 additions & 2 deletions src/_layouts/default.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
{% include 'header.njk' %}

<main id="main-content" class="content">
{% if snow == "true" %}
{# {% if snow == "true" %}
<is-land on:media="(prefers-reduced-motion: no-preference)">
<snow-fall style="--snow-fall-color: lightgray"></snow-fall>
</is-land>
{% endif %}
{% endif %} #}
{{ content | safe }}
</main>

Expand Down

0 comments on commit b3beb2b

Please sign in to comment.