From 4fcc72078bf0b0904dec891d6cd6f75087367084 Mon Sep 17 00:00:00 2001 From: benjamin wil Date: Wed, 14 Jul 2021 20:48:13 -0700 Subject: [PATCH] Use `.header-title` for all `#head` headings This commit: 1. Updates all main templates to use the new `.header-title` class, making these titles less disruptively large on mobile devices. 2. Centers these titles for mobile breakpoints only, re-setting them back to left-aligned text for `md-` breakpoints and up. Note that in `lib/gollum/templates/wiki_contentf.mustache`, the `.header-title` is not a `#head .header-title`, so it doesn't inherit all of the new styles added in this commit. --- lib/gollum/templates/commit.mustache | 4 +++- lib/gollum/templates/compare.mustache | 14 ++++++++++---- lib/gollum/templates/create.mustache | 11 +++++++---- lib/gollum/templates/edit.mustache | 11 +++++++---- lib/gollum/templates/history.mustache | 11 +++++++++-- lib/gollum/templates/latest_changes.mustache | 11 +++++++---- lib/gollum/templates/overview.mustache | 11 +++++++---- lib/gollum/templates/search.mustache | 8 +++++++- lib/gollum/templates/wiki_content.mustache | 4 +++- 9 files changed, 60 insertions(+), 25 deletions(-) diff --git a/lib/gollum/templates/commit.mustache b/lib/gollum/templates/commit.mustache index 8e4d2379..fe5c9266 100644 --- a/lib/gollum/templates/commit.mustache +++ b/lib/gollum/templates/commit.mustache @@ -1,6 +1,8 @@
diff --git a/lib/gollum/templates/compare.mustache b/lib/gollum/templates/compare.mustache index bd5950e3..b26e84e7 100644 --- a/lib/gollum/templates/compare.mustache +++ b/lib/gollum/templates/compare.mustache @@ -1,8 +1,14 @@
- + {{#message}}

{{message}}

diff --git a/lib/gollum/templates/create.mustache b/lib/gollum/templates/create.mustache index 53793b29..ff2bcc07 100644 --- a/lib/gollum/templates/create.mustache +++ b/lib/gollum/templates/create.mustache @@ -1,8 +1,11 @@
- +