Skip to content

Commit 602419b

Browse files
committed
Removing unused css
1 parent ac7966d commit 602419b

File tree

6 files changed

+31
-459
lines changed

6 files changed

+31
-459
lines changed

_sass/_code-samples.scss

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ code {
66
border-top: 1px dashed $gray-light;
77
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
88
font-size: 95%;
9+
padding: 1px 3px;
910
}
1011

1112
div[class*="language-"] {
@@ -15,32 +16,10 @@ div[class*="language-"] {
1516
background: $code-bg-color;
1617
border: none;
1718
font-size: 100%;
19+
padding: 0;
1820
}
1921
}
2022

21-
code[class*="language-"],
22-
pre[class*="language-"] {
23-
text-align: left;
24-
white-space: pre;
25-
word-spacing: normal;
26-
word-break: normal;
27-
word-wrap: normal;
28-
line-height: 1.5;
29-
-moz-tab-size: 4;
30-
-o-tab-size: 4;
31-
tab-size: 4;
32-
-webkit-hyphens: none;
33-
-moz-hyphens: none;
34-
-ms-hyphens: none;
35-
hyphens: none;
36-
margin-bottom: 1em;
37-
}
38-
39-
:not(pre) > code[class*="language-"] {
40-
padding: 1px 3px;
41-
white-space: normal;
42-
}
43-
4423
.highlight {
4524
background: $code-bg-color;
4625
color: $code-text-color;
@@ -51,8 +30,8 @@ pre[class*="language-"] {
5130
}
5231

5332
pre.highlight {
54-
padding: 7px 7px 7px 10px;
5533
border: none;
34+
padding: 7px 7px 7px 10px;
5635
}
5736

5837
.language-console {

_sass/_content.scss

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,13 @@ span.updated:first-letter {
145145
}
146146
}
147147

148-
.comments-area,
149148
.read-next,
150149
.tagcloud {
151150
margin-bottom: 3.33333em;
152151
margin-top: 3.33333em;
153152
}
154153

155154
.post-feed-title,
156-
.comments-title,
157155
.read-next-title,
158156
.tagcloud-title {
159157
color: $body-subheading-color;
@@ -167,7 +165,6 @@ span.updated:first-letter {
167165
}
168166

169167
.post-feed-title:after,
170-
.comments-title:after,
171168
.read-next-title:after,
172169
.tagcloud-title:after,
173170
.page-header:after {
@@ -234,7 +231,7 @@ ul.archive-posts-list {
234231
padding-left: 0;
235232

236233
li {
237-
margin-bottom: 0.5555555555555556em
234+
margin-bottom: 0.5556em
238235
}
239236
}
240237

@@ -257,56 +254,6 @@ ul.archive-posts-list {
257254
text-transform: uppercase;
258255
}
259256

260-
/* Error pages */
261-
262-
.error-template {
263-
background-color: $gray-darkest;
264-
color: $gray-light;
265-
}
266-
267-
.error-cover {
268-
background-position: center center;
269-
background-repeat: no-repeat;
270-
background-size: cover;
271-
bottom: 0;
272-
left: 0;
273-
opacity: 0.15;
274-
position: absolute;
275-
right: 0;
276-
top: 0;
277-
}
278-
279-
.error-template .site {
280-
display: -ms-flexbox;
281-
display: -webkit-flex;
282-
display: flex;
283-
-ms-flex-direction: column;
284-
flex-direction: column;
285-
-ms-flex-pack: center;
286-
justify-content: center;
287-
height: 100vh;
288-
}
289-
290-
.error-template .site-content {
291-
margin: 0;
292-
text-align: center;
293-
}
294-
295-
.error-code {
296-
color: #fff;
297-
font-size: 4rem;
298-
margin: 0;
299-
}
300-
301-
.error-link {
302-
font-family: $font-primary;
303-
font-style: italic;
304-
}
305-
306-
.error-link:hover {
307-
color: $gray-light;
308-
}
309-
310257
/* Hero section */
311258
.hero {
312259
margin-bottom: 2.5em;

_sass/_forms.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ textarea:focus {
2828
outline: 0;
2929
}
3030

31+
.form-textarea {
32+
min-height: 180px;
33+
}
34+
3135
input[type="submit"],
3236
input[type="button"],
3337
a.button {

0 commit comments

Comments
 (0)