From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55178) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3OeD-00006Y-Tz for guix-patches@gnu.org; Sun, 16 Feb 2020 13:28:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3OeA-00063V-Ov for guix-patches@gnu.org; Sun, 16 Feb 2020 13:28:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3OeA-000639-Kf for guix-patches@gnu.org; Sun, 16 Feb 2020 13:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3OeA-0003oU-IC for guix-patches@gnu.org; Sun, 16 Feb 2020 13:28:02 -0500 Subject: [bug#39635] [PATCH] website: Modify use of H1 headings Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:55049) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Odb-000865-MN for guix-patches@gnu.org; Sun, 16 Feb 2020 13:27:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3OdY-0005EN-GN for guix-patches@gnu.org; Sun, 16 Feb 2020 13:27:27 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j3OdY-0005Cj-6N for guix-patches@gnu.org; Sun, 16 Feb 2020 13:27:24 -0500 Message-ID: <20200216182649.25068-1-sirgazil@zoho.com> Date: Sun, 16 Feb 2020 13:26:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: sirgazil , sirgazil via Guix-patches From: sirgazil via Guix-patches via To: 39635@debbugs.gnu.org Cc: sirgazil The website was originally designed to use only one H1 element per page, which is/was seen as a best practice for accessibility and SEO. However, the value of the H1 element in all the pages of the website was always the alternative text of the Guix logo ("Guix"). The main content of a page started with a level 2 heading (H2). This change maintains the best practice of using only one H1 element per page, but gives a less important level to the Guix logo (it becomes H2) and uses H1 as the heading for the main content of pages. This means, for example, that the H1 of the download page is "Download", the H1 of the help page is "Help", the H1 of a blog post is its title, and so on. The changes were tested in the following browsers (without assistive technologies): * IceCat 68.4.1esr * Epiphany 3.32.5 (WebKitGTK+ 2.26.3) * Lynx 2.8.9rel.1 Website pages validate correctly using the https://validator.w3.org/, and their heading-level and structural outlines are similar to those of the https://webaim.org/ pages. * website/apps/base/templates/components.scm (navbar): Make logo H2. For the following templates, change main content heading from H2 to H1, and update subheadings accordingly. * website/apps/base/templates/about.scm (about-t) * website/apps/base/templates/contact.scm (contact-t) * website/apps/base/templates/contribute.scm (contribute-t) * website/apps/base/templates/donate.scm (donate-t) * website/apps/base/templates/graphics.scm (graphics-t) * website/apps/base/templates/help.scm (help-t) * website/apps/base/templates/home.scm (home-t) * website/apps/base/templates/irc.scm (irc-t) * website/apps/base/templates/security.scm (security-t) * website/apps/blog/templates/components.scm (post-preview) * website/apps/blog/templates/post-list.scm (post-list-t) * website/apps/blog/templates/post.scm (post-t) * website/apps/blog/templates/tag.scm (tag-t) * website/apps/download/templates/components.scm (download) * website/apps/download/templates/download.scm (download-t) * website/apps/media/templates/screenshot.scm (screenshot-t) * website/apps/media/templates/video.scm (video-t) * website/apps/packages/templates/detailed-index.scm (detailed-index-t) * website/apps/packages/templates/detailed-package-list.scm (detailed-package-list-t) * website/apps/packages/templates/index.scm (index-t) * website/apps/packages/templates/package-list.scm (package-list-t) * website/apps/packages/templates/package.scm (package-t) For the following templates, add missing H1 heading to the main content: * website/apps/media/templates/screenshots-overview.scm (screenshots-overview-t) * website/apps/media/templates/video-list.scm (video-list-t) Style changes: * website/static/base/css/download.css (.download-box h2): New style. * website/static/base/css/item-preview.css (.item-preview h2): (.summary-box h2) New style. * website/static/base/css/navbar.css (.navbar > h1): Change to ".navbar > h2" (the logo is now an H2 heading). * website/static/base/css/page.css (h1): New style. --- website/apps/base/templates/about.scm | 6 +++--- website/apps/base/templates/components.scm | 4 ++-- website/apps/base/templates/contact.scm | 2 +- website/apps/base/templates/contribute.scm | 20 +++++++++---------- website/apps/base/templates/donate.scm | 6 +++--- website/apps/base/templates/graphics.scm | 2 +- website/apps/base/templates/help.scm | 14 ++++++------- website/apps/base/templates/home.scm | 2 +- website/apps/base/templates/irc.scm | 2 +- website/apps/base/templates/security.scm | 8 ++++---- website/apps/blog/templates/components.scm | 2 +- website/apps/blog/templates/post-list.scm | 2 +- website/apps/blog/templates/post.scm | 2 +- website/apps/blog/templates/tag.scm | 2 +- .../apps/download/templates/components.scm | 2 +- website/apps/download/templates/download.scm | 2 +- website/apps/media/templates/screenshot.scm | 2 +- .../media/templates/screenshots-overview.scm | 1 + website/apps/media/templates/video-list.scm | 1 + website/apps/media/templates/video.scm | 2 +- .../packages/templates/detailed-index.scm | 2 +- .../templates/detailed-package-list.scm | 2 +- website/apps/packages/templates/index.scm | 2 +- .../apps/packages/templates/package-list.scm | 2 +- website/apps/packages/templates/package.scm | 4 ++-- website/static/base/css/download.css | 4 ++++ website/static/base/css/item-preview.css | 5 +++++ website/static/base/css/navbar.css | 2 +- website/static/base/css/page.css | 7 ++++--- 29 files changed, 63 insertions(+), 51 deletions(-) diff --git a/website/apps/base/templates/about.scm b/website/apps/base/temp= lates/about.scm index c9489ef..8cd341c 100644 --- a/website/apps/base/templates/about.scm +++ b/website/apps/base/templates/about.scm @@ -29,7 +29,7 @@ `(main (section (@ (class "page centered-block limit-width")) - (h2 "About the Project") + (h1 (@ (class "centered-text")) "About the Project") =20 (p "The " (em "GNU Guix") " package and system manager is a " @@ -86,7 +86,7 @@ ".") =20 =20 - (h3 (@ (id "mantainer")) "Maintainers") + (h2 (@ (id "mantainer")) "Maintainers") =20 (p "Guix is currently maintained by Ludovic Court=C3=A8s, Marius Bakke= , Maxim @@ -96,7 +96,7 @@ Cournoyer, Tobias Geerinckx-Rice, and Ricardo Wurmus. Pl= ease use the " "using the " (code "guix-maintainers@gnu.org") " private alias.") =20 =20 - (h3 (@ (id "license")) "Licensing") + (h2 (@ (id "license")) "Licensing") =20 (p "Guix is free software; you can redistribute it and/or modify diff --git a/website/apps/base/templates/components.scm b/website/apps/base= /templates/components.scm index a10fb00..12b9a74 100644 --- a/website/apps/base/templates/components.scm +++ b/website/apps/base/templates/components.scm @@ -280,10 +280,10 @@ (@ (class "navbar")) =20 ;; Branding. - (h1 + (h2 (a (@ (class "branding") (href ,(guix-url))) - (span (@ (class "a11y-offset")) "Guix"))) + (span (@ (class "a11y-offset")) "GNU Guix"))) =20 ;; Menu. (nav (@ (class "menu")) diff --git a/website/apps/base/templates/contact.scm b/website/apps/base/te= mplates/contact.scm index 2085e22..a831a1b 100644 --- a/website/apps/base/templates/contact.scm +++ b/website/apps/base/templates/contact.scm @@ -31,7 +31,7 @@ `(main (section (@ (class "page centered-block limit-width")) - (h2 "Contact") + (h1 (@ (class "centered-text")) "Contact") =20 ,@(map =09 contact->shtml diff --git a/website/apps/base/templates/contribute.scm b/website/apps/base= /templates/contribute.scm index 1451f0b..df8c1ab 100644 --- a/website/apps/base/templates/contribute.scm +++ b/website/apps/base/templates/contribute.scm @@ -31,7 +31,7 @@ `(main (section (@ (class "page centered-block limit-width")) - (h2 "Contribute") + (h1 (@ (class "centered-text")) "Contribute") =20 (p "GNU=C2=A0Guix is a large project developed @@ -60,7 +60,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "pms")) "Project Management") +=09(h2 (@ (id "pms")) "Project Management") =09(p =09 "We use " =09 (a (@ (href "https://savannah.gnu.org/")) "Savannah") @@ -80,7 +80,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "art")) "Art") +=09(h2 (@ (id "art")) "Art") =09(p =09 "We are always looking for artists to help us design and improve user interfaces, and create multimedia material for @@ -99,7 +99,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "documentation")) "Documentation") +=09(h2 (@ (id "documentation")) "Documentation") =09(p =09 "You can read the " =09 (a (@ (href ,(guix-url "help/"))) "project documentation") @@ -119,7 +119,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "packages")) "Packages") +=09(h2 (@ (id "packages")) "Packages") =09(p =09 "Hundreds of software, documentation, and assets need to be packaged to make it easier for users to install their @@ -147,7 +147,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "programming")) "Programming") +=09(h2 (@ (id "programming")) "Programming") =09(p =09 "Source code is in the " =09 (a (@ (href "//git.savannah.gnu.org/cgit/guix.git/")) @@ -178,7 +178,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "sysadmin")) "System Administration") +=09(h2 (@ (id "sysadmin")) "System Administration") =09(p =09 "Our system infrastructure makes it possible for all the contributors to communicate and collaborate in the project, @@ -198,7 +198,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "testing")) "Test and Bug Reports") +=09(h2 (@ (id "testing")) "Test and Bug Reports") =09(p =09 "Install the software and send feedback to the community about your experience. Help the project by reporting bugs.") @@ -219,7 +219,7 @@ =20 (div =09(@ (class "summary-box")) -=09(h3 (@ (id "translation")) "Translation") +=09(h2 (@ (id "translation")) "Translation") =09(p =09 "You can help translate the " =09 (a (@ (href "https://translationproject.org/domain/guix.html")) @@ -244,7 +244,7 @@ =09 #:url "https://translationproject.org/")))) =20 =20 - (h3 (@ (id "resources")) "Other resources for contributors") + (h2 (@ (id "resources")) "Other resources for contributors") (p "Documents, supporting material of previous talks, and auxiliary information useful to hackers and maintainers is diff --git a/website/apps/base/templates/donate.scm b/website/apps/base/tem= plates/donate.scm index 3135be8..c8699b6 100644 --- a/website/apps/base/templates/donate.scm +++ b/website/apps/base/templates/donate.scm @@ -30,7 +30,7 @@ `(main (section (@ (class "page centered-block limit-width")) - (h2 "Donate") + (h1 (@ (class "centered-text")) "Donate") =20 (p "The " @@ -57,7 +57,7 @@ =09 #:label "=E2=99=A5 DONATE!" =09 #:url "https://my.fsf.org/civicrm/contribute/transact?reset=3D1&id=3D5= 0")) =20 - (h3 + (h2 (@ (id "hardware-and-hosting")) "Hardware and Hosting") =20 @@ -80,7 +80,7 @@ discuss any opportunities. ") =20 =20 - (h3 + (h2 (@ (id "hardware-donors")) "Thanks to the donors!") =20 diff --git a/website/apps/base/templates/graphics.scm b/website/apps/base/t= emplates/graphics.scm index 6089988..9d7c878 100644 --- a/website/apps/base/templates/graphics.scm +++ b/website/apps/base/templates/graphics.scm @@ -28,7 +28,7 @@ `(main (section (@ (class "page centered-block limit-width")) - (h2 "Graphics") + (h1 (@ (class "centered-text")) "Graphics") =20 (p "For questions regarding the graphics listed in this page, diff --git a/website/apps/base/templates/help.scm b/website/apps/base/templ= ates/help.scm index 631be31..335e138 100644 --- a/website/apps/base/templates/help.scm +++ b/website/apps/base/templates/help.scm @@ -31,7 +31,7 @@ `(main (section (@ (class "page")) - (h2 "Help") + (h1 (@ (class "centered-text")) "Help") =20 (div (@ (class "centered-text")) @@ -42,7 +42,7 @@ =09(img =09 (@ (src ,(guix-url "static/base/img/manual-icon.png")) =09 (alt ""))) -=09(h3 "GNU Guix Manual") +=09(h2 "GNU Guix Manual") =09(p =09 "Documentation for GNU Guix is available online. You may also find more information about Guix by running= " @@ -67,7 +67,7 @@ (@ (class "summary-box")) (img (@ (src ,(guix-url "static/base/img/videos-icon.png")) (alt ""))) - (h3 "Videos") + (h2 "Videos") (p "The collection of videos includes instructional material to help you get started with every day use of GNU Guix as @@ -83,7 +83,7 @@ (@ (class "summary-box")) (img (@ (src ,(guix-url "static/base/img/cookbook-icon.png")) (alt ""))) - (h3 "Cookbook") + (h2 "Cookbook") (p "Tutorials, how-to guides and examples contributed by the Guix community which show you how to use the system and its @@ -99,7 +99,7 @@ =09(@ (class "summary-box")) =09(img (@ (src ,(guix-url "static/base/img/library-icon.png")) =09=09(alt ""))) -=09(h3 "GNU Manuals") +=09(h2 "GNU Manuals") =09(p =09 "Guix is a distribution of the " =09 (a (@ (href ,(gnu-url))) "GNU operating system") @@ -115,7 +115,7 @@ =09(@ (class "summary-box")) =09(img (@ (src ,(guix-url "static/base/img/chat-icon.png")) =09=09(alt ""))) -=09(h3 "IRC Chat") +=09(h2 "IRC Chat") =09(p =09 "For real-time support from the community, you can connect to the " (code "#guix") " channel on irc.freenode.net. There @@ -134,7 +134,7 @@ =09(@ (class "summary-box")) =09(img (@ (src ,(guix-url "static/base/img/email-icon.png")) =09=09(alt ""))) -=09(h3 "Mailing lists") +=09(h2 "Mailing lists") =09(p =09 "Email support from the community is also available through several mailing list. The messages sent to the lists are diff --git a/website/apps/base/templates/home.scm b/website/apps/base/templ= ates/home.scm index 8b81b82..e99f938 100644 --- a/website/apps/base/templates/home.scm +++ b/website/apps/base/templates/home.scm @@ -36,7 +36,7 @@ ;; Featured content. (section (@ (class "featured-content")) - (h2 (@ (class "a11y-offset")) "Summary") + (h1 (@ (class "a11y-offset")) "Overview") (ul (li =09(b "Liberating.") diff --git a/website/apps/base/templates/irc.scm b/website/apps/base/templa= tes/irc.scm index a58b9e0..ee73eac 100644 --- a/website/apps/base/templates/irc.scm +++ b/website/apps/base/templates/irc.scm @@ -29,7 +29,7 @@ `(main (section (@ (class "page")) - (h2 "IRC") + (h1 (@ (class "centered-text")) "IRC") =20 (p (@ (class "centered-block limit-width")) diff --git a/website/apps/base/templates/security.scm b/website/apps/base/t= emplates/security.scm index f092074..e86ce3a 100644 --- a/website/apps/base/templates/security.scm +++ b/website/apps/base/templates/security.scm @@ -31,9 +31,9 @@ `(main (section (@ (class "page centered-block limit-width")) - (h2 "Security") + (h1 (@ (class "centered-text")) "Security") =20 - (h3 "How to report security issues") + (h2 "How to report security issues") (p "To report sensitive security issues in Guix itself or the packages it provides, you can write to the private mailing list " @@ -58,7 +58,7 @@ (ul (@ (class "mono")) (li "BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC")))) =20 - (h3 "Release signatures") + (h2 "Release signatures") (p "Releases of Guix are signed using the OpenPGP " "key with the fingerprint " @@ -68,7 +68,7 @@ (a (@ (href ,(manual-url "Binary-Installation.html"))) "verify") " their downloads before extracting or running them.") =20 - (h3 "Security updates") + (h2 "Security updates") (p "When security vulnerabilities are found in Guix or the " "packages provided by Guix, we will provide " diff --git a/website/apps/blog/templates/components.scm b/website/apps/blog= /templates/components.scm index 14b12ac..db9c22b 100644 --- a/website/apps/blog/templates/components.scm +++ b/website/apps/blog/templates/components.scm @@ -26,7 +26,7 @@ `(a (@ (class "item-preview") (href ,(guix-url (url-path-join (post-url-path post) "")))) - (h3 ,(post-ref post 'title)) + (h2 ,(post-ref post 'title)) (p (@ (class "item-date")) ,(date->string (post-date post) "~B ~e, ~Y")) diff --git a/website/apps/blog/templates/post-list.scm b/website/apps/blog/= templates/post-list.scm index 86b9365..d7ffbfa 100644 --- a/website/apps/blog/templates/post-list.scm +++ b/website/apps/blog/templates/post-list.scm @@ -43,7 +43,7 @@ `(main (section =09(@ (class "page centered-text")) -=09(h2 "Blog" +=09(h1 "Blog" =09 ,(page-indicator (string->number page-number) =09=09=09 (string->number total-pages))) =20 diff --git a/website/apps/blog/templates/post.scm b/website/apps/blog/templ= ates/post.scm index 39d0332..18d1342 100644 --- a/website/apps/blog/templates/post.scm +++ b/website/apps/blog/templates/post.scm @@ -38,7 +38,7 @@ `(main (article =09(@ (class "page centered-block limit-width")) -=09(h2 ,(post-ref post 'title)) +=09(h1 (@ (class "centered-text")) ,(post-ref post 'title)) =09(p =09 (@ (class "post-metadata centered-text")) =09 ,(post-ref post 'author) " =E2=80=94 " diff --git a/website/apps/blog/templates/tag.scm b/website/apps/blog/templa= tes/tag.scm index a000c8d..6585c73 100644 --- a/website/apps/blog/templates/tag.scm +++ b/website/apps/blog/templates/tag.scm @@ -48,7 +48,7 @@ `(main (section =09(@ (class "page centered-text")) -=09(h2 "Blog =E2=80=94 " ,tag +=09(h1 (@ (class "centered-text")) "Blog =E2=80=94 " ,tag =09 ,(page-indicator (string->number page-number) =09=09=09 (string->number total-pages))) =20 diff --git a/website/apps/download/templates/components.scm b/website/apps/= download/templates/components.scm index 1c26da3..065020d 100644 --- a/website/apps/download/templates/components.scm +++ b/website/apps/download/templates/components.scm @@ -19,7 +19,7 @@ `(div (@ (class "download-box")) (img (@ (src ,(download-image dnd)) (alt ""))) - (h3 ,(download-title dnd)) + (h2 ,(download-title dnd)) ,(download-description dnd) (p "Download options:") ,@(map (lambda (variant) diff --git a/website/apps/download/templates/download.scm b/website/apps/do= wnload/templates/download.scm index de2e458..b44a8ec 100644 --- a/website/apps/download/templates/download.scm +++ b/website/apps/download/templates/download.scm @@ -46,7 +46,7 @@ `(main (section (@ (class "page")) - (h2 "Download") + (h1 (@ (class "centered-text")) "Download") =20 (p (@ (class "centered-block limit-width")) diff --git a/website/apps/media/templates/screenshot.scm b/website/apps/med= ia/templates/screenshot.scm index b738340..b020dc8 100644 --- a/website/apps/media/templates/screenshot.scm +++ b/website/apps/media/templates/screenshot.scm @@ -30,7 +30,7 @@ `(main (section =09(@ (class "light-text centered-text noise-bg")) -=09(h2 +=09(h1 =09 (@ (class "a11y-offset")) =09 ,(screenshot-title shot)) =20 diff --git a/website/apps/media/templates/screenshots-overview.scm b/websit= e/apps/media/templates/screenshots-overview.scm index 2b19d05..115640c 100644 --- a/website/apps/media/templates/screenshots-overview.scm +++ b/website/apps/media/templates/screenshots-overview.scm @@ -27,4 +27,5 @@ `(main (section (@ (class "light-text centered-text noise-bg")) + (h1 (@ (class "a11y-offset")) "Screenshots") ,(screenshots-box screenshots (length screenshots) #:shadow #t))))) diff --git a/website/apps/media/templates/video-list.scm b/website/apps/med= ia/templates/video-list.scm index e05aa62..512c98c 100644 --- a/website/apps/media/templates/video-list.scm +++ b/website/apps/media/templates/video-list.scm @@ -33,6 +33,7 @@ #:content `(main (@ (class "page centered-block limit-width")) + (h1 (@ (class "centered-text")) "Videos") ,(map-in-order (lambda (playlist) `(,(map-in-order diff --git a/website/apps/media/templates/video.scm b/website/apps/media/te= mplates/video.scm index dff5a8a..c842a3f 100644 --- a/website/apps/media/templates/video.scm +++ b/website/apps/media/templates/video.scm @@ -34,7 +34,7 @@ PREVIOUS and NEXT videos are added." #:content `(main (@ (class "page centered-block limit-width")) - (h2 ,(video-title video)) + (h1 (@ (class "centered-text")) ,(video-title video)) ,(video-content video) ,(if (or previous next) `(div diff --git a/website/apps/packages/templates/detailed-index.scm b/website/a= pps/packages/templates/detailed-index.scm index 189e8b5..bb86280 100644 --- a/website/apps/packages/templates/detailed-index.scm +++ b/website/apps/packages/templates/detailed-index.scm @@ -38,7 +38,7 @@ packages to advertise." `(main (section =09(@ (class "page centered-text")) -=09(h2 "Packages") +=09(h1 "Packages") =20 =09(p =09 (@ (class "limit-width centered-block")) diff --git a/website/apps/packages/templates/detailed-package-list.scm b/we= bsite/apps/packages/templates/detailed-package-list.scm index 73ebecf..028679d 100644 --- a/website/apps/packages/templates/detailed-package-list.scm +++ b/website/apps/packages/templates/detailed-package-list.scm @@ -50,7 +50,7 @@ `(main (section =09(@ (class "page centered-text")) -=09(h2 "Packages =E2=80=94 " ,letter +=09(h1 "Packages =E2=80=94 " ,letter =09 ,(page-indicator (string->number page-number) =09=09=09 (string->number total-pages))) =20 diff --git a/website/apps/packages/templates/index.scm b/website/apps/packa= ges/templates/index.scm index cbf0862..b466386 100644 --- a/website/apps/packages/templates/index.scm +++ b/website/apps/packages/templates/index.scm @@ -37,7 +37,7 @@ `(main (section =09(@ (class "page centered-text")) -=09(h2 "Packages") +=09(h1 "Packages") =20 =09(p =09 (@ (class "limit-width centered-block")) diff --git a/website/apps/packages/templates/package-list.scm b/website/app= s/packages/templates/package-list.scm index 694ecdd..7f9bd4c 100644 --- a/website/apps/packages/templates/package-list.scm +++ b/website/apps/packages/templates/package-list.scm @@ -47,7 +47,7 @@ `(main (section =09(@ (class "page centered-text")) -=09(h2 "Packages =E2=80=94 " ,letter +=09(h1 "Packages =E2=80=94 " ,letter =09 ,(page-indicator (string->number page-number) =09=09=09 (string->number total-pages))) =20 diff --git a/website/apps/packages/templates/package.scm b/website/apps/pac= kages/templates/package.scm index b618d79..353a6a6 100644 --- a/website/apps/packages/templates/package.scm +++ b/website/apps/packages/templates/package.scm @@ -43,7 +43,7 @@ `(main (article =09(@ (class "page centered-block limit-width")) -=09(h2 ,package-id " " +=09(h1 (@ (class "centered-text")) ,package-id " " =09 (span =09 (@ (class "synopsis")) =09 ,(package-synopsis-shtml package))) @@ -72,7 +72,7 @@ =09;; Lint issues. =09,(if (null? lint-issues) =09 "" -=09 `((h3 "Lint issues") +=09 `((h2 "Lint issues") =09 (p =09=09,(issue-count->shtml (length lint-issues)) ". " =09=09"See " (a (@ (href "#")) "package definition") diff --git a/website/static/base/css/download.css b/website/static/base/css= /download.css index 8bcce9c..d1e92e4 100644 --- a/website/static/base/css/download.css +++ b/website/static/base/css/download.css @@ -10,6 +10,10 @@ text-align: center; } =20 +.download-box h2 { + font-size: 1.5em; +} + .download-btn, .download-btn:link, .download-btn:visited { diff --git a/website/static/base/css/item-preview.css b/website/static/base= /css/item-preview.css index 16e698f..20d3837 100644 --- a/website/static/base/css/item-preview.css +++ b/website/static/base/css/item-preview.css @@ -15,6 +15,7 @@ background-color: #F4BB15; } =20 +.item-preview h2, .item-preview h3 { font-size: 1em; font-weight: bold; @@ -63,4 +64,8 @@ =09margin: 0px auto; =09max-width: 100%; } + + .summary-box h2 { + font-size: 1.5em; + } } diff --git a/website/static/base/css/navbar.css b/website/static/base/css/n= avbar.css index d975aa8..0e7865c 100644 --- a/website/static/base/css/navbar.css +++ b/website/static/base/css/navbar.css @@ -10,7 +10,7 @@ overflow: hidden; } =20 -.navbar > h1 { +.navbar > h2 { display: inline-block; margin: 0px; } diff --git a/website/static/base/css/page.css b/website/static/base/css/pag= e.css index eff3e26..6e39254 100644 --- a/website/static/base/css/page.css +++ b/website/static/base/css/page.css @@ -9,15 +9,16 @@ h5 { line-height: 1.2em; } =20 +h1 { + font-size: 3em; +} + h2 { font-size: 2.5em; - text-align: center; - line-height: 1.2em; } =20 h3 { font-size: 1.5em; - line-height: 1.2em; } =20 .page { --=20 2.25.0