Skip to content

Commit b336420

Browse files
committed
Fine tuning of font size in code blocks of docu
1 parent c87994b commit b336420

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/html/_static/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ div.body h4 {
5555
margin-top: 2em;
5656
}
5757

58+
/* code snippets */
59+
div.body .highlight {
60+
font-size: 85%;
61+
}
62+
5863
/* sidebar */
5964

6065
div.sphinxsidebar {
@@ -92,8 +97,10 @@ pre, tt, code {
9297
font-family: Liberation Mono, DejaVu San Mono, Monospace, fixed;
9398
}
9499

100+
/* comments within code blocks; font-size is relative to above div.body .highlight */
95101
.highlight .c1 {
96102
font-style: normal;
103+
font-size: 100%;
97104
}
98105

99106
/* tables */

docs/source/_static/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ div.body h4 {
5555
margin-top: 2em;
5656
}
5757

58+
/* code snippets */
59+
div.body .highlight {
60+
font-size: 85%;
61+
}
62+
5863
/* sidebar */
5964

6065
div.sphinxsidebar {
@@ -92,8 +97,10 @@ pre, tt, code {
9297
font-family: Liberation Mono, DejaVu San Mono, Monospace, fixed;
9398
}
9499

100+
/* comments within code blocks; font-size is relative to above div.body .highlight */
95101
.highlight .c1 {
96102
font-style: normal;
103+
font-size: 100%;
97104
}
98105

99106
/* tables */

0 commit comments

Comments
 (0)