-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
77 lines (65 loc) · 1.09 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
body{
background-color: #ecf0f1;
font-family: 'Balthazar', serif;
}
#container{
display: grid;
grid-gap: 20px;
padding-left: 25px;
padding-right: 25px;
grid-template-columns: 3fr 1fr;
grid-template-areas:
"h .""i b""p p"
}
#header{
grid-area: h;
color: #3498db;
}
#input{
grid-area: i;
padding: 10px;
font-size: 1.5vw;
}
#posts{
grid-area: p;
}
#post{
grid-area: b;
padding: 10px;
background-color: #3498db;
border: 1px solid #2980b9;
box-shadow: 1px 1px 5px #2c3e50;
cursor: pointer;
display: flex;
justify-content: center;
font-size: 2.5vw;
}
.post{
box-shadow: 1px 1px 3px;
margin: 10px;
border-radius: 5px;
padding: 10px;
}
#post:active{
background-color: #2980b9
}
.post-text{
font-weight: bold;
}
.comments{
margin-left: 10px;
margin: 10px;
}
.delete{
cursor: pointer;
color: #ecf0f1;
background-color: #e74c3c;
display: inline-block;
padding: 5px;
border-radius: 3px;
font-size: 0.8em;
}
.btn{
cursor: pointer;
color: #e74c3c;
}