Skip to content

Commit e062f95

Browse files
committed
css
1 parent b6a0a94 commit e062f95

3 files changed

Lines changed: 6 additions & 22 deletions

File tree

_CONTENT/eng/dsa/graph.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
---
33
```
4-
54
bfs
65
multi-source
76

assets/css/code.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
.highlight {
55
font-family: "Atkinson Hyperlegible Mono", "Inconsolata", monospace;
6+
}
7+
8+
pre code {
9+
font-family: "Atkinson Hyperlegible Mono", "Inconsolata", monospace;
610
font-size: medium;
11+
line-height: inherit;
712
}
813

914
.highlight, .highlight .w {

assets/css/style.scss

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ $serif: Georgia, serif;
2929
$mono: "Atkinson Hyperlegible Mono", "Inconsolata", monospace;
3030

3131
html {
32-
font-size: large;
3332
line-height: 1.8;
3433
scroll-behavior: smooth;
3534
}
@@ -41,18 +40,15 @@ p {
4140

4241
pre {
4342
padding: 0.5rem;
44-
font-family: $mono;
4543
}
4644

4745
h1 {
48-
font-family: $mono;
4946
font-weight: bold;
5047
font-size: x-large;
5148
margin-bottom: 0.5rem;
5249
}
5350

5451
h2 {
55-
font-family: $mono;
5652
font-weight: bold;
5753
margin-top: 1.2rem;
5854
}
@@ -75,7 +71,7 @@ a:hover {
7571
}
7672

7773
body {
78-
font-family: $sansSerif;
74+
font-family: $mono;
7975
background-color: $darkBg;
8076
background-image: url('/assets/static/solar/2k_stars_milky_way3.jpg');
8177
background-attachment: fixed;
@@ -149,27 +145,15 @@ blockquote {
149145
}
150146

151147
pre {
152-
font-family: $mono;
153148
background: inherit;
154149
color: inherit;
155150
font-size: large !important;
156151
}
157152

158-
.taglist {
159-
font-size: 0.8rem;
160-
}
161-
162153
.toplink {
163-
font-family: $mono;
164154
margin-right: 0.5rem;
165155
}
166156

167-
168-
details {
169-
margin-bottom: 0.7rem;
170-
margin-top: 0.7rem;
171-
}
172-
173157
html[data-theme='light'] {
174158

175159
body {
@@ -179,10 +163,6 @@ html[data-theme='light'] {
179163
color: $darkText;
180164
}
181165

182-
.planet-container {
183-
display: none;
184-
}
185-
186166
::selection {
187167
background: $highlight;
188168
}

0 commit comments

Comments
 (0)