[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Revert "website: Adjust font size and alignment f
From: |
Ludovic Courtès |
Subject: |
branch master updated: Revert "website: Adjust font size and alignment for headings." |
Date: |
Fri, 07 Feb 2020 16:00:22 -0500 |
This is an automated email from the git hooks/post-receive script.
civodul pushed a commit to branch master
in repository guix-artwork.
The following commit(s) were added to refs/heads/master by this push:
new 4508e23 Revert "website: Adjust font size and alignment for headings."
4508e23 is described below
commit 4508e230799870b7184098cccf511a8dbe67c42c
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Feb 7 21:59:29 2020 +0100
Revert "website: Adjust font size and alignment for headings."
This reverts commit 12879f165dd707f90718317d2694e53cfd29fc57.
This commit was causing W3 validator to report heading-level outline
issues, and the /download page would look wrong.
Reported by sirgazil.
---
website/apps/blog/templates/post.scm | 2 +-
website/static/base/css/page.css | 10 +++-------
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/website/apps/blog/templates/post.scm
b/website/apps/blog/templates/post.scm
index 18d1342..39d0332 100644
--- a/website/apps/blog/templates/post.scm
+++ b/website/apps/blog/templates/post.scm
@@ -38,7 +38,7 @@
`(main
(article
(@ (class "page centered-block limit-width"))
- (h1 (@ (class "centered-text")) ,(post-ref post 'title))
+ (h2 ,(post-ref post 'title))
(p
(@ (class "post-metadata centered-text"))
,(post-ref post 'author) " — "
diff --git a/website/static/base/css/page.css b/website/static/base/css/page.css
index f3eba0b..eff3e26 100644
--- a/website/static/base/css/page.css
+++ b/website/static/base/css/page.css
@@ -9,18 +9,14 @@ h5 {
line-height: 1.2em;
}
-h1 {
- font-size: 3.0em;
- line-height: 1.2em;
-}
-
h2 {
- font-size: 1.5em;
+ font-size: 2.5em;
+ text-align: center;
line-height: 1.2em;
}
h3 {
- font-size: 1.2em;
+ font-size: 1.5em;
line-height: 1.2em;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Revert "website: Adjust font size and alignment for headings.",
Ludovic Courtès <=