aboutsummaryrefslogtreecommitdiff
path: root/src/public/styles.css
blob: 1a541de7774bc6d3bdd44447d72eca304de4966c (plain)
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
main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.post, .comments-container, .header {
  padding: 0.3rem;
  flex: 1 1 95%;
  font-size: 1rem;
  width: 95%;
}

@media (min-width: 768px) {
  .post, .comments-container, .header {
    flex: 1 1 65%;
    width: 65%;
  }
}

@media (min-width: 1080px) {
  .post, .comments-container, .header {
    flex: 1 1 50%;
    width: 50%;
  }
}

.comments-container, .self-text {
  text-align: justify;
}

.comment, .more {
  width: 100%;
  border-left: 1px dashed;
  padding: 10px 0px 10px 24px;
  box-sizing: border-box;
}

.more {
  margin-bottom: 0px;
  font-size: 0.7rem;
  color: #777;
}

.first {
  border-left: none;
  padding-left: 0;
  margin: 0;
  margin-top: 12px;
}

.post-container {
  align-self: stretch;
  display: flex;
}

.post-text {
  flex-direction: column;      
  align-items: stretch;        
  justify-content: space-between;
}

.media-preview {
  padding-left: 10px;
  margin-left: auto;
}

.post-media {
  max-width: 100%;
}

.title-container,.info-container {
  flex: 1;                     
  margin-top: 10px;
  margin-bottom: 10px;
}

.info-container {
  color: #777;
  font-size: 0.8rem;
  display: flex;
  align-items: center;        
}

.info-item {
  margin-right: 10px;
}

hr {
  border 1px solid #000;
}