aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/post/post.component.css
blob: 1015564a079d7b8e022596c7cb1a135699a3b017 (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
.left-pane {
  box-sizing: border-box;
}

/* Author */

.author-picture {
  width: 2.2em;
  height: 2.2em;
}

/* Content */

.content {
  padding: 0 var(--card-padding);
}

.message {
  word-break: break-word;
}

.post-details {
  margin-bottom: calc(var(--card-padding) / 1.5);
  padding: 0.2em 0;
}

.post-details > * {
  margin-left: 1.1em;
}

.rating img {
  height: 1.2em;
  width: 1.2em;
}

/* Edit */

#attachments-btns img, .file-button > input {
  height: 1.4em;
  width: 1.4em;
}

.file-button {
  position: relative;
}

.file-button > img {
  position: absolute;
  pointer-events: none;
}

.file-button > input {
  font-size: inherit;
  color: transparent;
}