-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (78 loc) · 1.44 KB
/
style.css
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
html,body{
background-color: #f6f6f6;
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#content{
margin: 0 auto;
max-width: 80vw;
}
/* POST */
.post{
display: flex;
margin: 1rem;
background-color: #fff;
border: 1px solid #eee;
border-radius: 1rem;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1);
}
/* REACTION */
.reaction_block{
display: flex;
flex-direction: column;
width: 6rem;
padding-top: 1rem;
border-right: 2px solid #bbb;
}
.reaction_block input{
margin: 0rem auto;
font-weight: 500;
color: #999;
background-color: transparent;
border: none;
cursor: pointer;
}
.reaction_block input:hover{
color: red;
}
.reaction{
margin: 0.5rem auto;
font-weight: 500;
color: #999;
}
/* POST CONTENT */
.post_content{
width: 100rem;
margin: 0 1rem;
}
.tag{
display: inline;
background-color: #eee;
color: #999;
font-weight: bolder;
margin-inline-end: 1em;
padding: 0.2em 1.2em;
border-radius: 1em;
}
.tags{
height: 3rem;
margin-top: 2rem;
}
.comments{
border-top: 2px solid #ddd;
}
.comment{
margin: 1rem 0;
}
.comment b{
margin: 0;
padding: 0;
}
.comment p{
margin: 0;
padding: 0;
border-left: 2px solid #ddd;
margin-top: 0.6rem;
padding-left: 0.6rem;
}