git: 78132655a2 - main - Improve code style
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Nov 2022 19:07:36 UTC
The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=78132655a2a622dabd044cd0955034491e34be24 commit 78132655a2a622dabd044cd0955034491e34be24 Author: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> AuthorDate: 2022-11-06 19:07:05 +0000 Commit: Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> CommitDate: 2022-11-06 19:07:27 +0000 Improve code style --- documentation/themes/beastie/assets/styles/global.scss | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/documentation/themes/beastie/assets/styles/global.scss b/documentation/themes/beastie/assets/styles/global.scss index a1d8b40e5b..d4db16b8d8 100644 --- a/documentation/themes/beastie/assets/styles/global.scss +++ b/documentation/themes/beastie/assets/styles/global.scss @@ -643,11 +643,22 @@ table.stretch { .highlight { padding-top: 1.5rem; padding-bottom: 1.5rem; + + code { + font-size: 0.75rem; + padding: inherit; + border-radius: inherit; + background-color: inherit; + color: inherit; + } } code { font-family: "DejaVu Sans Mono", Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; - font-size: 0.75rem; + padding: .5rem; + border-radius: .25rem; + background-color: var(--pre-background-color); + color: var(--pre-font-color); } .filename { @@ -744,4 +755,4 @@ kbd { transition: visibility 0s easy 0s; } -} \ No newline at end of file +}