fix(post): fetch code lazily

This commit is contained in:
Barrett Ruth 2024-11-29 21:27:21 -06:00
parent ee3a3b61a2
commit ed83255604
10 changed files with 209 additions and 172 deletions

View file

@ -42,7 +42,6 @@ footer {
a {
color: inherit;
text-decoration: none;
}
li {
@ -79,7 +78,3 @@ li {
.terminal-container {
font-family: "Courier New", monospace;
}
.inline-code {
display: inline-block;
}

View file

@ -56,6 +56,10 @@ ul {
flex: 1;
}
a {
text-decoration: none;
}
.post {
margin-bottom: 25px;
}

View file

@ -51,7 +51,6 @@ li {
:not(pre) > code {
font-family: "Courier New", Courier, monospace;
background-color: #f4f4f4;
padding: 2px 4px;
margin: 0 5px;
border: 1px solid #e1e1e1;
@ -60,6 +59,10 @@ li {
white-space: nowrap;
}
code {
background: #f4f4f4 !important;
}
.post-title::before {
content: "";
position: absolute;