Skip to content

Commit

Permalink
Adjusted more breaking apart-problems
Browse files Browse the repository at this point in the history
  • Loading branch information
Akashic101 committed Apr 29, 2024
1 parent 443a71a commit d97c308
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 2 additions & 6 deletions src/_includes/blogCSS.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tr td:nth-child(2n) {
background-color: #ffffff;
background-image: none;
color: #000000;
margin-top: 0;
margin: 0;
}

details,
Expand All @@ -51,10 +51,6 @@ tr td:nth-child(2n) {
break-inside: avoid;
}

img:first-of-type {
display: none;
}

h1 {
font-size: 28px;
}
Expand Down Expand Up @@ -91,7 +87,7 @@ tr td:nth-child(2n) {
box-shadow: inset 0 0 0 1000px #181818;
}

.websiteViews {
.breakBefore {
page-break-before: always;
}

Expand Down
6 changes: 4 additions & 2 deletions src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ socialMediaPreviewImageAlt: A cat with glasses sitting in front of a laptop
<hr>
<p>See all posts in <a href="/archive">the archive</a></p>
<hr>

<div class="breakBefore">
<h2>Random article</h2>

<div class="flex-container">
Expand All @@ -43,7 +43,8 @@ socialMediaPreviewImageAlt: A cat with glasses sitting in front of a laptop
</div>
</div>
<hr>

</div>
</div>
<h2>Net Nuggets</h2>
{% for post in collections['net nuggets'] %}
<div class="flex-container">
Expand All @@ -55,4 +56,5 @@ socialMediaPreviewImageAlt: A cat with glasses sitting in front of a laptop
</div>
</div>
{% endfor %}
</div>
<link href="https://github.com/akashic101" rel="me">
4 changes: 2 additions & 2 deletions src/stats.njk
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ stats: true

<speedlify-score speedlify-url="https://www.11ty.dev/speedlify" hash="4d33473e" requests score weight rank rank-change></speedlify-score>

<div class="websiteViews">
<div class="breakBefore">
<h1>Website views</h1>
<i>Data is sourced from Cloudflare using GraphQl</i>

<table>
<thead>
<tr>
Expand Down

0 comments on commit d97c308

Please sign in to comment.