[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: website: Use Fira Sans for section headings only.
From: |
Ludovic Courtès |
Subject: |
02/03: website: Use Fira Sans for section headings only. |
Date: |
Sat, 2 Mar 2024 10:01:19 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 4dff7000e5c0b6f0b2cf99f2d30e8019dc4f9041
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Feb 27 17:06:22 2024 +0100
website: Use Fira Sans for section headings only.
With commit b7ccc5cb1b4ec936c00dbd98376c5d2677e60a63, Fira Sans was used
for the body of sections, not just section headings. This is what
<https://www.gnu.org/software/gnulib/manual.css> prescribes but it’s not
what was intended.
* website/static/base/css/manual.css: Add rule.
---
website/static/base/css/manual.css | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/website/static/base/css/manual.css
b/website/static/base/css/manual.css
index 8ecd872..8970457 100644
--- a/website/static/base/css/manual.css
+++ b/website/static/base/css/manual.css
@@ -323,6 +323,13 @@ h1.settitle, h1.top, h2.chapter, h3.section,
h4.subsection, h4.subsubsection {
font-weight: bold;
}
+/* Use a serif font for section bodies (this overrides /gnulib/manual.css,
+ which currently applies to entire section classes, as opposed to section
+ classes for headings only). */
+div.settitle, div.top, div.chapter, div.section, div.subsection,
div.subsubsection {
+ font-family: serif;
+}
+
/* Texinfo footnotes are in a "footnote" <div> but each of them is
wrapped in <h5> (go figure). Have them use a regular font instead
of bold. */