Skip to content

Commit 31494b3

Browse files
author
Niklas Buschmann
committed
simplify classes
1 parent f386f84 commit 31494b3

File tree

1 file changed

+8
-33
lines changed

1 file changed

+8
-33
lines changed

assets/css/classes.sass

+8-33
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
@import index, highlight
55

6+
.archive
7+
font-size: 1.1em
8+
9+
.archive time
10+
display: inline-block
11+
min-width: 10ch
12+
margin: 0 .2em
13+
614
{% unless site.minimal %}
715

816
.categories
@@ -55,18 +63,6 @@
5563

5664
{% endif %}
5765

58-
{% unless site.show_excerpts %}
59-
60-
.archive
61-
font-size: 1.1em
62-
63-
.archive time
64-
display: inline-block
65-
min-width: 10ch
66-
margin: 0 .2em
67-
68-
{% endunless %}
69-
7066
{% if site.show_related %}
7167

7268
.related span
@@ -104,24 +100,3 @@
104100
width: 100%
105101

106102
{% endunless %}
107-
108-
{% if site.line_count %}
109-
110-
.rouge-table
111-
width: initial
112-
113-
.rouge-table tr, .rouge-table td
114-
background: inherit!important
115-
border: none
116-
117-
.rouge-table pre
118-
font-size: inherit
119-
background: inherit
120-
margin: 0
121-
padding: 0
122-
123-
.rouge-gutter
124-
opacity: .5
125-
padding: 0 .5em
126-
127-
{% endif %}

0 commit comments

Comments
 (0)