From d981be2dddcd4979d9bf224c5f7792c79b0ecf11 Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Tue, 17 Oct 2023 11:24:00 -0500 Subject: [PATCH 1/3] Use explicit font sizes This also tweaks various margins. --- CHANGELOG.md | 2 +- .../generator/template/rails/_context.rhtml | 8 +- .../generator/template/rails/_file_nav.rhtml | 8 +- lib/rdoc/generator/template/rails/class.rhtml | 2 +- .../template/rails/resources/css/main.css | 207 ++++++++++-------- 5 files changed, 129 insertions(+), 98 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e1aefd1..653bff51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ Main (3.0.0.alpha) * [#268](https://github.com/rails/sdoc/pull/268) Add initial dark mode support [@p8](https://github.com/p8) * [#279](https://github.com/rails/sdoc/pull/279) Redesign "Appears in" file list [@jonathanhefner](https://github.com/jonathanhefner) * [#280](https://github.com/rails/sdoc/pull/280) Redesign banner and mobile menu bar [@jonathanhefner](https://github.com/jonathanhefner) -* [#283](https://github.com/rails/sdoc/pull/283) Rework typography [@jonathanhefner](https://github.com/jonathanhefner) +* [#283](https://github.com/rails/sdoc/pull/283), [#336](https://github.com/rails/sdoc/pull/336) Rework typography [@jonathanhefner](https://github.com/jonathanhefner) * [#286](https://github.com/rails/sdoc/pull/286) Render breadcrumb links for module's parents [@jonathanhefner](https://github.com/jonathanhefner) * [#287](https://github.com/rails/sdoc/pull/287) Generate uniform `

` headings for all modules [@jonathanhefner](https://github.com/jonathanhefner) * [#291](https://github.com/rails/sdoc/pull/291) Remove keyboard shortcuts that use meta keys [@jonathanhefner](https://github.com/jonathanhefner) diff --git a/lib/rdoc/generator/template/rails/_context.rhtml b/lib/rdoc/generator/template/rails/_context.rhtml index 005069ee..566d91e7 100644 --- a/lib/rdoc/generator/template/rails/_context.rhtml +++ b/lib/rdoc/generator/template/rails/_context.rhtml @@ -8,7 +8,7 @@ <%# File only: requires %> <% unless @context.requires.empty? %> -
Required Files
+

Required Files