diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-29 11:58:37 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-29 11:58:59 +0200 |
| commit | d028aeced2049b753f126ec70fad7d73449b7516 (patch) | |
| tree | 616e14f54dfe61811d049fe97a9fdd81c38feb16 /assets | |
| parent | 46cefbb27e2b0954c3a8c695354ede751847c4e7 (diff) | |
| download | danixxyz-theme-d028aeced2049b753f126ec70fad7d73449b7516.tar.gz danixxyz-theme-d028aeced2049b753f126ec70fad7d73449b7516.zip | |
fix: remove orphaned top border from article nav
Top nav variant (above title) had a border-t that divided nothing.
Move border-t/pt-6 from CSS class into template, applied only on
bottom variant. Rebuild CSS.
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/main.css | 1 | ||||
| -rw-r--r-- | assets/css/main.min.css | 41 |
2 files changed, 16 insertions, 26 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index 8921966..2645b4a 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -949,7 +949,6 @@ html.theme-light picture img[src="/images/default_thumbnail_dark.png"] { /* ---- Article prev/next navigation ---- */ .article-nav { - @apply border-t border-border pt-6; } .article-nav-prompt { diff --git a/assets/css/main.min.css b/assets/css/main.min.css index 3ff63eb..2decaba 100644 --- a/assets/css/main.min.css +++ b/assets/css/main.min.css @@ -1661,11 +1661,6 @@ article.border.border-border\/30.rounded-lg.card.group.bg-bg { gap: 1.5rem; } -.repo-card:only-child { - max-width: 50%; - margin-inline: auto; -} - /* ===================== Timeline Layout ===================== */ @@ -2038,18 +2033,6 @@ article.border.border-border\/30.rounded-lg.timeline-thumb.group.bg-bg { /* ---- Article prev/next navigation ---- */ .article-nav { - border-color: var(--border); -} - - - .frosted-bar.article-nav { - border-color: var(--border); -} - -.article-nav { - border-top-width: 1px; - border-color: var(--border); - padding-top: 1.5rem; } .article-nav-prompt { @@ -2433,6 +2416,10 @@ article.border.border-border\/30.rounded-lg.timeline-thumb.group.bg-bg { height: 100vh; } +.max-h-40 { + max-height: 10rem; +} + .max-h-96 { max-height: 24rem; } @@ -2708,6 +2695,10 @@ article.border.border-border\/30.rounded-lg.timeline-thumb.group.bg-bg { border-top-width: 1px; } +.border-none { + border-style: none; +} + .border-\[--type-quote\] { border-color: var(--type-quote); } @@ -2831,10 +2822,6 @@ article.border.border-border\/30.rounded-lg.timeline-thumb.group.bg-bg { padding-bottom: 2rem; } -.pb-8 { - padding-bottom: 2rem; -} - .pl-3 { padding-left: 0.75rem; } @@ -2843,10 +2830,18 @@ article.border.border-border\/30.rounded-lg.timeline-thumb.group.bg-bg { padding-left: 1.5rem; } +.pt-0 { + padding-top: 0px; +} + .pt-2 { padding-top: 0.5rem; } +.pt-6 { + padding-top: 1.5rem; +} + .pt-8 { padding-top: 2rem; } @@ -2973,10 +2968,6 @@ article.border.border-border\/30.rounded-lg.timeline-thumb.group.bg-bg { text-decoration-line: underline; } -.line-through { - text-decoration-line: line-through; -} - .antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; |
