diff --git a/assets/css/main.css b/assets/css/main.css index 1a4ce32..76dcaee 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -61,9 +61,9 @@ p, figure, small, em, -strong, ol, ul, +strong, h1, h2, h3, @@ -137,7 +137,7 @@ body > header { } } -div.tags { +aside.tags { font-family: Optician Sans, sans-serif; @@ -318,7 +318,6 @@ body { display: flex; margin: 0; flex-direction: column; - width: 100dvw; min-height: 100dvh; line-height: 1.5; letter-spacing: 0ch; @@ -334,6 +333,10 @@ body { serif; } +hr { + width: 100%; +} + main { display: flex; flex-direction: column; @@ -373,6 +376,14 @@ body > footer { } } +details.table-of-contents { + & ol, + ul { + padding-left: var(--small-gap); + list-style-position: inside; + } +} + div.content { word-break: break-word; @@ -384,6 +395,11 @@ div.content { margin: var(--normal-gap) 0rem; } + & blockquote { + border-left: 2px solid var(--text-color); + padding-left: var(--normal-gap); + } + & p ~ ul, p ~ ol { margin-bottom: none; @@ -391,6 +407,7 @@ div.content { & ul ol { list-style-position: inline; + padding-left: var(--small-gap); } & pre:has(code) { diff --git a/content/posts/test-post/index.md b/content/posts/test-post/index.md index 6df98a3..96a874d 100644 --- a/content/posts/test-post/index.md +++ b/content/posts/test-post/index.md @@ -44,4 +44,7 @@ Lorem `code` ```ts let name: string; console.log("Hello World"); -``` \ No newline at end of file +``` + +> Testing +> Hello diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 3c7f845..9dee3fa 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -7,7 +7,7 @@

{{ .Page.Title }}

About

-

{{ truncate 128 .Content }}

+

{{ truncate 25 .Content }}

diff --git a/layouts/posts/single.html b/layouts/posts/single.html index a10a5ac..485540a 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -28,15 +28,17 @@

{{ .Title }}

{{ end }}
{{ .Content }}
-