blob: 07d931f938405196ec29a7aa293f04ae1ffbe63b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
.post {
display: flex;
width: 98%;
margin: .5em auto;
box-sizing: border-box;
padding: .5em;
background-color: var(--card-bg);
position: relative;
}
.post:first-child {
margin-top: 0;
}
hr {
border: 1px solid black;
width: 90%;
}
/* Author */
.author {
display: flex;
margin-bottom: .2em;
}
.author:hover {
cursor: pointer;
}
.author > img {
width: 2.2em;
height: 2.2em;
margin-right: .2em;
}
.author-info > .handle {
font-size: .9em;
color: gray;
}
/* Content */
.content {
flex: 1;
}
.message {
margin: .3em 0;
word-break: break-all;
}
.bottom-post {
font-size: .5em;
color: gray;
display: flex;
align-items: center;
}
.separator {
margin: 0 .5em;
}
.comment-count {
font-size: 1em;
}
.comment-count > img {
height: .8em;
}
.message:hover, .timestamp:hover {
cursor: pointer;
}
/* Rating */
.rating {
display: flex;
flex-direction: column;
align-items: center;
min-height: 4.4em;
margin: auto -.1em auto 0;
}
.score {
flex: 1;
display: flex;
align-items: center;
}
.vote {
display: flex;
align-items: center;
flex: 1;
background: var(--card-bg);
font-size: 1em;
border: 1px solid var(--card-bg);
box-sizing: border-box;
border-radius: .2em;
}
.vote:hover {
border: 1px solid var(--focus-color);
color: var(--focus-color);
cursor: pointer;
}
/* Attachments */
.attachments {
display: flex;
width: 98%;
margin: -.3em auto .5em auto;
flex-wrap: wrap;
}
.attachments:empty {
display: none;
}
.attachments > * {
flex: 1;
}
|