-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
95 lines (76 loc) · 1.14 KB
/
index.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
89
90
91
92
93
94
95
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,600&display=swap');
* {
box-sizing: border-box;
}
body {
background-color: #e0e0e0;
font-family:'Times New Roman', Times, serif;
padding-bottom: 80px;
}
h1{
text-align: center;
}
.container {
margin: 0 auto;
max-width: 600px;
}
.post {
background-color: #fff;
border-radius: 8px;
padding: 40px;
margin: 20px 0;
}
.title {
margin: 0;
}
.text {
margin: 20px 0;
}
.user {
display: flex;
align-items: center;
}
.user img {
margin:2%;
border-radius: 20%;
height: 100px;
width: 100px;
}
.user span {
font-size: 13px;
margin-left: 10px;
}
.load{
opacity: 0;
display: flex;
position: fixed;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
transition: opacity .3s ease-in;
}
.load.show {
opacity: 1;
}
.dot {
background-color: #777;
border-radius: 50%;
margin: 5px;
height: 10px;
width: 10px;
animation: jump .5s ease-in infinite;
}
.dot:nth-of-type(2) {
animation-delay: 0.1s;
}
.dot:nth-of-type(3) {
animation-delay: 0.2s;
}
@keyframes jump {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}