Files: dfa8dcc1b8dc80fea753df44f2c9faa9c5eb88ef / app / html / comments.mcss
1264 bytesRaw
1 | Comments { |
2 | margin: 0 1.5rem |
3 | |
4 | div.Comment {} |
5 | |
6 | div.Compose { |
7 | margin-bottom: 1.5rem |
8 | } |
9 | } |
10 | |
11 | Comment { |
12 | display: flex |
13 | |
14 | div.left { |
15 | margin-right: 1rem |
16 | |
17 | div.Avatar {} |
18 | } |
19 | |
20 | div.right { |
21 | flex-grow: 1 |
22 | |
23 | border-bottom: 1px solid gainsboro |
24 | padding-bottom: 1rem |
25 | margin-bottom: 1rem |
26 | |
27 | section.context { |
28 | display: flex |
29 | align-items: baseline |
30 | |
31 | div.name { |
32 | font-size: 1.2rem |
33 | margin-right: 1rem |
34 | } |
35 | div.Timeago {} |
36 | } |
37 | |
38 | section.content { |
39 | font-size: .9rem |
40 | line-height: 1.4 |
41 | div.Markdown {} |
42 | } |
43 | |
44 | section.actions { |
45 | font-size: 1.2rem |
46 | margin-right: .5rem |
47 | |
48 | display: flex |
49 | justify-content: flex-end |
50 | align-items: baseline |
51 | |
52 | div.reply { |
53 | cursor: pointer |
54 | |
55 | margin-right: 1.5rem |
56 | i.fa {} |
57 | } |
58 | |
59 | div.Likes { |
60 | min-width: 2.5rem |
61 | |
62 | display: flex |
63 | align-items: center |
64 | |
65 | i.fa { margin-right: .3rem } |
66 | div.count {} |
67 | } |
68 | } |
69 | |
70 | div.Compose { |
71 | margin: 1rem 0 |
72 | } |
73 | } |
74 | } |
75 | |
76 | Comment -nested { |
77 | padding: 1rem 1rem 0 1rem |
78 | $backgroundPrimaryText |
79 | $roundTop |
80 | $roundBottom |
81 | |
82 | margin-bottom: 1rem |
83 | |
84 | div.left { margin: 0 } |
85 | div.right { |
86 | padding: 0 |
87 | border: 0 |
88 | margin: 0 |
89 | |
90 | } |
91 | } |
92 | |
93 |
Built with git-ssb-web