[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: website: Provide Fira Sans and use it for titles.
From: |
Ludovic Courtès |
Subject: |
02/02: website: Provide Fira Sans and use it for titles. |
Date: |
Wed, 19 Jan 2022 09:41:18 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix-artwork.
commit 2178907fca95b9ade131b992e3b6b2e17aa83398
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Jan 19 15:39:44 2022 +0100
website: Provide Fira Sans and use it for titles.
This font was already used via
<https://www.gnu.org/software/gnulib/manual.css>, but only when
available on the system.
* website/static/base/fonts/FiraSans-Bold.ttf: New file.
* website/static/base/css/manual.css: Load it and use it.
---
website/static/base/css/manual.css | 16 ++++++++++++++++
website/static/base/fonts/FiraSans-Bold.ttf | Bin 0 -> 438028 bytes
2 files changed, 16 insertions(+)
diff --git a/website/static/base/css/manual.css
b/website/static/base/css/manual.css
index 59c8ea1..a93352e 100644
--- a/website/static/base/css/manual.css
+++ b/website/static/base/css/manual.css
@@ -298,3 +298,19 @@ label[for=all-dropdowns-hidden] {
#visible-dropdown:checked ~ label[for=visible-dropdown] {
display: none;
}
+
+/* Fonts. */
+
+@font-face {
+ font-family: 'Fira Sans';
+ src: url('../fonts/FiraSans-Bold.ttf') format('truetype');
+ font-weight: bold;
+ font-style: normal;
+}
+
+/* In title and node titles, use Fira Sans as it is more pleasant and
+ more compact than Helvetica. */
+.settitle, .top, .chapter, .section, .subsection, .subsubsection {
+ font-family: Fira Sans, sans;
+ font-weight: bold;
+}
diff --git a/website/static/base/fonts/FiraSans-Bold.ttf
b/website/static/base/fonts/FiraSans-Bold.ttf
new file mode 100755
index 0000000..95e1660
Binary files /dev/null and b/website/static/base/fonts/FiraSans-Bold.ttf differ