Skip to content

Commit 152bd65

Browse files
committed
CSS reformatting and fixes
- Inspired by RayTracing/gpu-tracing#9, I'm adopting the CSS code style of having one selector per line with trailing commas for definitions that apply to multiple selectors. - Corrected "Hilight.js" to "Highlight.js". There _is_ a hilight.js, but it looks like the syntax highlighting package used by Markdeep is highlight.js (https://highlightjs.org/). - Fixed background-color syntax bug.
1 parent be51987 commit 152bd65

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

style/book.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ div.indented {
1919
** Table of Contents
2020
** -----------------------------------------------------------------------------------------------*/
2121

22-
.md .longTOC, .md .mediumTOC, .md .shortTOC {
22+
.md .longTOC,
23+
.md .mediumTOC,
24+
.md .shortTOC {
2325
font-family: sans-serif;
2426
}
2527

@@ -37,7 +39,9 @@ div.indented {
3739
border-bottom: solid 4px #777;
3840
}
3941

40-
.md .longTOC, .md .mediumTOC, .md .shortTOC {
42+
.md .longTOC,
43+
.md .mediumTOC,
44+
.md .shortTOC {
4145
font-family: sans-serif;
4246
}
4347

@@ -99,9 +103,12 @@ div.indented {
99103
background: #e4e4e0;
100104
}
101105

102-
/* Hilight.js Syntax Coloring */
106+
/* Highlight.js Syntax Coloring */
103107

104-
.hljs-built_in, .hljs-params, .hljs-type, .hljs-literal {
108+
.hljs-built_in,
109+
.hljs-params,
110+
.hljs-type,
111+
.hljs-literal {
105112
color: #222;
106113
}
107114

@@ -137,7 +144,7 @@ div.indented {
137144

138145
.md code > .delete {
139146
text-decoration: line-through;
140-
background-color: #;
147+
background-color: #fdd;
141148
color: #a0a0a0;
142149
background: #e0cfcc;
143150
}

style/website.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ div.content {
2323
margin: 0 auto;
2424
}
2525

26-
h1, h2, h3, .banner {
26+
h1,
27+
h2,
28+
h3,
29+
.banner {
2730
font-family: Copperplate Gothic, Georgia, serif;
2831
}
2932

0 commit comments

Comments
 (0)