Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Angular / src / app / components / post / post.component.css
blob: 1ae5d8f3f50f9fdbc0d8042b6cd0e9304cb90fee (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
.post {
  display: flex;
  width: 98%;

  margin: .5em auto;
  box-sizing: border-box;
  padding: .5em;
  background-color: var(--card-bg);
}

.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;
}

.timestamp {
  font-size: .5em;
  color: gray;
}

.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;
}