git: 78132655a2 - main - Improve code style

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=78132655a2a622dabd044cd0955034491e34be24

commit 78132655a2a622dabd044cd0955034491e34be24
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2022-11-06 19:07:05 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
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
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.