Commit e5758a78f9

e5758a78f995e5b9ade3400cb713536b6b7c5abe

parent: 330861ec09

Unsigned

cmc <hello@cleberg.net> · 2026-02-08 00:42 UTC

fix section metadata styling

Layout: unified · split

theme/static/styles.css +7 −7
@@ -52,10 +52,10 @@ a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px
52a:hover { background: var(--accent); color: var(--bg); text-decoration: none; } 52a:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
53 53
54/* --- Weblorg / Template Specifics --- */ 54/* --- Weblorg / Template Specifics --- */
55section b { display: block; font-size: 0.7rem; text-transform: uppercase; color: var(--meta); margin-top: 0.5rem; } 55section b { font-size: 0.85rem; text-transform: uppercase; color: var(--meta); margin-top: 0.5rem; }
56 56.post { display: flex; align-items: center; border-bottom: 1px dashed var(--border); padding: 0.5rem 0; }
57.post { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding: 0.5rem 0; } 57.post time { font-size: 0.8rem; color: var(--meta); margin-right: 0.5rem; white-space: nowrap; flex-shrink: 0; }
58.post time { font-size: 0.8rem; color: var(--meta); } 58.post-metadata b { display: block; font-size: 0.7rem; }
59 59
60/* --- Org-Mode Tables (Heavy Grid) --- */ 60/* --- Org-Mode Tables (Heavy Grid) --- */
61table { width: 100%; border-collapse: collapse; margin: 2rem 0; border: 3px solid var(--fg); } 61table { width: 100%; border-collapse: collapse; margin: 2rem 0; border: 3px solid var(--fg); }
@@ -68,7 +68,7 @@ code { background: var(--code-bg); padding: 0.2rem 0.4rem; }
68 68
69/* Blockquote styling */ 69/* Blockquote styling */
70blockquote { 70blockquote {
71 background-color: #f3f3f3; 71 background-color: var(--code-bg);
72 font-style: italic; 72 font-style: italic;
73 margin: 1.5em 0; 73 margin: 1.5em 0;
74 padding: 0; 74 padding: 0;
@@ -77,13 +77,13 @@ blockquote p { margin: 0; }
77blockquote::before { 77blockquote::before {
78 content: "#+begin_quote"; 78 content: "#+begin_quote";
79 display: block; 79 display: block;
80 color: #7f7f7f; 80 color: var(--fg);
81} 81}
82 82
83blockquote::after { 83blockquote::after {
84 content: "#+end_quote"; 84 content: "#+end_quote";
85 display: block; 85 display: block;
86 color: #7f7f7f; 86 color: var(--fg);
87} 87}
88 88
89/* --- Accessibility & Efficiency --- */ 89/* --- Accessibility & Efficiency --- */
theme/templates/post.html +1 −2
@@ -8,8 +8,7 @@
8<meta property="og:description" content="{{ project_description }}" /> 8<meta property="og:description" content="{{ project_description }}" />
9{% endif %} {% endblock %} {% block main %} 9{% endif %} {% endblock %} {% block main %}
10<article> 10<article>
11 <section> 11 <section class="post-metadata">
12 <section>
13 <b>Object</b> <span>{{ post.title }}</span> 12 <b>Object</b> <span>{{ post.title }}</span>
14 <b>Timestamp</b> <span><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d %H:%M:%S") }}</time></span> 13 <b>Timestamp</b> <span><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d %H:%M:%S") }}</time></span>
15 <b>Summary</b> <span>{{ post.description }}</span> 14 <b>Summary</b> <span>{{ post.description }}</span>