Skip to content

Commit 2e960e6

Browse files
gavinkingmarko-bekhta
authored andcommitted
make code samples more readable
by: - increasing font size (Inconsolata is very small) - lightening the background color
1 parent 6f15be4 commit 2e960e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/resources/asciidoc/css/hibernate.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
--highlight: #bcae79;
2828
--link: #115264;
2929
--toc-background: #f3f4f6;
30-
--inline-code-background: #f3f4f6;
30+
--inline-code-background: #f0f8ff7f;
3131
--inline-code-text: #00647e;
3232

3333
--admonition-icon-shadow: rgba(0, 0, 0, .5);
@@ -53,7 +53,7 @@
5353
--admonition-tip-bg: #f7fff9;
5454
--admonition-tip: #516c57;
5555

56-
--code-background: #f3f4f6;
56+
--code-background: #f0f8ff7f;
5757
--code-text: #1f2937;
5858
--code-string: #008201;
5959
--code-keyword: #3c529a;
@@ -67,6 +67,7 @@
6767

6868
--regular-font: 'Noto Serif', 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
6969
--code-font: "Inconsolata", "Droid Sans Mono", "DejaVu Sans Mono", monospace;
70+
--code-font-size: 110%;
7071

7172
&.dark-mode {
7273
--bg: #121820;
@@ -151,6 +152,7 @@ body {
151152

152153
code {
153154
font-family: var(--code-font);
155+
font-size: var(--code-font-size);
154156
}
155157

156158
#toc ul {

0 commit comments

Comments
 (0)