Skip to content

Commit da9230c

Browse files
committed
Integrated Syntax Highlighter CSS, other minor changes
1 parent 085c9c0 commit da9230c

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

html/css/garden.css

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ nav h1 {
9090
article {
9191
padding-bottom: 20px;
9292
border-bottom: 4px dotted #8696a5;
93+
}
94+
95+
article section {
9396
position: relative;
9497
}
9598

@@ -126,7 +129,7 @@ pre {
126129
padding: 8px 0 12px 20px;
127130
border-left: 4px solid #566D82;
128131
margin-bottom: 20px;
129-
background: #092136;
132+
background: #0F192A;
130133
}
131134

132135
article pre code {
@@ -135,7 +138,7 @@ article pre code {
135138
padding: 0px;
136139
margin-top: 3px;
137140
margin-bottom: 1px;
138-
background: #092136;
141+
background: #0F192A;
139142
}
140143

141144
article code {
@@ -163,22 +166,20 @@ h3 {
163166
}
164167

165168
h2 code, h3 code {
166-
font-size: 0.95em;
167169
font-variant: normal;
168170
}
169171

170172
aside {
171173
border-bottom: 1px solid #9eabb7;
172174
padding-bottom: 10px;
173-
margin-bottom: 25px;
174175
position: absolute;
175176
width: 180px;
176177
right: -190px;
177-
opacity: 0.8;
178+
opacity: 0.7;
178179
}
179180

180181
aside:last-child {
181-
bottom: 20px;
182+
bottom: 0;
182183
}
183184

184185
aside p {
@@ -241,3 +242,17 @@ abbr {
241242
a abbr {
242243
cursor: pointer;
243244
}
245+
246+
/* Syntax Highlighting */
247+
248+
.str { color: #1DC116; }
249+
.kwd { color: #E83737; }
250+
.com { color: #428BDD; }
251+
.typ { color: #FFAA3E; }
252+
.lit { color: #D1EDFF; }
253+
.pun { color: #D1EDFF; }
254+
.tag { color: #008; }
255+
.atn { color: #606; }
256+
.atv { color: #080; }
257+
.dec { color: #606; }
258+
.pln { color: #FFAA3E; }

0 commit comments

Comments
 (0)