From a492d0565512417f20fed2127e9c9fe872610733 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 18 Jul 2024 09:09:47 +0200 Subject: [PATCH] Fix rendering of clone's/init's synopses Since git/git@76880f0510c (doc: git-clone: apply new documentation formatting guidelines, 2024-03-29) and its parent commit, the synopses of the manual pages of the `git clone` and the `git init` command are rendered in a different way. This matters because the changes were clearly only tested with AsciiDoc, but not with AsciiDoctor. Using the latter, the formatting is all off, unless the default stylesheet is overridden. On Git's home page, AsciiDoctor is used to render the manual pages, and the default stylesheet is overridden. However, the synopses still look unpleasant to my eye, e.g. because of the inconsistent background color of the `` blocks. This commit changes the style of the `` blocks in the synopses so that they flow better again, visually. Signed-off-by: Johannes Schindelin --- app/assets/stylesheets/man-pages.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/assets/stylesheets/man-pages.scss b/app/assets/stylesheets/man-pages.scss index 5ab9276c7e..cee42ffc50 100644 --- a/app/assets/stylesheets/man-pages.scss +++ b/app/assets/stylesheets/man-pages.scss @@ -54,6 +54,14 @@ font-weight: bold; font-style: normal; } + + code { + background-color: #e8e7dd; + margin-bottom: 0; + border: none; + padding-left: 0; + padding-right: 0; + } } }