File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ Change Log -- Ray Tracing in One Weekend
5
5
# v3.0.2 (in progress)
6
6
7
7
### Common
8
- - Change: Every book source now includes from a single common acknowledgments document.
8
+ - Fix: code styling for source code both inline and in fenced blocks (#430 )
9
+ - Change: Every book source now includes from a single common acknowledgments document
9
10
10
11
### _ In One Weekend_
11
12
- Fix: Correct typo: "consine" to "cosine"
Original file line number Diff line number Diff line change @@ -78,27 +78,25 @@ div.indented {
78
78
** Code
79
79
** -----------------------------------------------------------------------------------------------*/
80
80
81
- .md code {
82
- font-family : Consolas, Menlo, monospace;
83
- color : # 000 ;
84
- }
85
-
86
- .md p code {
87
- padding : 0 .4ex ;
88
- background : # e4e4e0 ;
89
- }
90
-
91
81
.md pre .listing .tilde {
92
82
border : solid 3px # d4d4d4 ;
93
- background : # e4e4e0 ;
94
83
padding : 1.5ex ;
95
84
width : 96% ;
96
85
overflow : visible;
86
+ background : # e4e4e0 ;
97
87
}
98
88
99
- .md pre .listing .tilde code {
89
+ .md code {
90
+ /* All code, both in fenced blocks and inline. */
91
+ font-family : Consolas, Menlo, monospace;
100
92
font-size : 86% ;
93
+ background : # e0e0dc ;
94
+ }
95
+
96
+ .md pre .listing .tilde code {
97
+ /* Only code in fenced blocks. */
101
98
letter-spacing : -0.20 ;
99
+ background : # e4e4e0 ;
102
100
}
103
101
104
102
/* Hilight.js Syntax Coloring */
You can’t perform that action at this time.
0 commit comments