Update Headline rendering
This commit is contained in:
+8
-13
@@ -24,13 +24,10 @@
|
||||
--link-hover: #d6d24d;
|
||||
--danger: #c40141;
|
||||
--danger-hover: #d03467;
|
||||
/* Translucent scrim for badges/overlays sitting on top of media. */
|
||||
--overlay: rgba(0, 0, 0, 0.55);
|
||||
|
||||
--border: 1px solid var(--secondary);
|
||||
--border-dashed: 1px dashed var(--secondary);
|
||||
/* Subtle vertical rail for tree-nesting depth — quieter than --border so
|
||||
it reads as a guide, not a divider. */
|
||||
--border-guide: 1px solid var(--bg-panel-hover);
|
||||
|
||||
--space-1: 0.25rem;
|
||||
@@ -209,6 +206,7 @@ footer {
|
||||
.btn::after { content: "]"; color: var(--secondary); }
|
||||
.btn:hover { color: var(--primary-hover); }
|
||||
.btn-small { font-size: 0.8rem; font-weight: normal; vertical-align: middle; }
|
||||
.btn-float {float: right;}
|
||||
.btn-tool { padding: 0 0.15rem; }
|
||||
.btn-block {
|
||||
display: flex;
|
||||
@@ -268,7 +266,7 @@ footer {
|
||||
.content h4, .content h5, .content h6,
|
||||
main > h2 {
|
||||
color: var(--text);
|
||||
margin: 1.25rem 0 var(--space-2);
|
||||
margin: var(--space-5) 0 var(--space-2);
|
||||
line-height: 1.3;
|
||||
}
|
||||
.content h1 {
|
||||
@@ -276,7 +274,12 @@ main > h2 {
|
||||
border-bottom: var(--border-dashed);
|
||||
padding-bottom: var(--space-1);
|
||||
}
|
||||
.content h2, main > h2 { font-size: 1.4rem; }
|
||||
.content h1:first-child { margin-top: 0; }
|
||||
.content h2, main > h2 {
|
||||
font-size: 1.4rem;
|
||||
border-bottom: var(--border-dashed);
|
||||
padding-bottom: var(--space-1);
|
||||
}
|
||||
.content h3 { font-size: 1.15rem; }
|
||||
.content p { margin: var(--space-3) 0; }
|
||||
.content ul, .content ol { margin: var(--space-3) 0 var(--space-3) var(--space-5); }
|
||||
@@ -344,14 +347,6 @@ main > h2 {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
a.heading-anchor {
|
||||
color: var(--text-muted);
|
||||
margin-right: 0.4em;
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.heading-anchor:hover { color: var(--primary-hover); }
|
||||
|
||||
/* === Data tables ===
|
||||
Shared style for the file listing, search-suggestion dropdown, and
|
||||
markdown content tables. .data-table-grid adds per-cell borders + a
|
||||
|
||||
Reference in New Issue
Block a user