+4
src/mixins/comment.pug
+4
src/mixins/comment.pug
···
12
12
if prev_id
13
13
a(href=`#${prev_id}` title="scroll to previous comment").nav-link prev
14
14
| ·
15
+
if data.gilded > 0
16
+
span.gilded
17
+
| #{data.gilded} ☆
18
+
| ·
15
19
span(class=`${data.is_submitter ? 'op' : ''}`)
16
20
| u/#{data.author} #{hats.length==0?'':`(${hats.join('|')})`}
17
21
| ·
+4
src/mixins/post.pug
+4
src/mixins/post.pug
+8
-3
src/public/styles.css
+8
-3
src/public/styles.css
···
5
5
--text-color: black;
6
6
--text-color-muted: #999;
7
7
--blockquote-color: green;
8
-
--sticky-color: lightgreen;
8
+
--sticky-color: #dcfeda;
9
+
--gilded: darkorange;
9
10
--link-color: #29BC9B;
10
11
--link-visited-color: #999;
11
12
--accent: var(--link-color);
···
23
24
--text-color: white;
24
25
--text-color-muted: #999;
25
26
--blockquote-color: lightgreen;
26
-
--sticky-color: #034611;
27
+
--sticky-color: #014413;
28
+
--gilded: gold;
27
29
--link-color: #79ffe1;
28
30
--link-visited-color: #999;
29
31
--accent: var(--link-color);
···
654
656
color: var(--accent);
655
657
}
656
658
659
+
.gilded {
660
+
color: var(--gilded);
661
+
}
662
+
657
663
button {
658
664
border: 0px solid;
659
665
border-radius: 2px;
···
803
809
border-radius: 2px;
804
810
border: 4px solid var(--sticky-color);
805
811
}
806
-