This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
77 lines (66 loc) · 1.51 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,800;1,300;1,800&display=swap');
* {
box-sizing: border-box;
animation-duration: 0.5s;
transition:0.5s;
}
h1,h2,h3,h4,h5,h6 {
font-family: Cabin, Verdana, Geneva, Tahoma, sans-serif;
}
body {
background: rgb(43, 43, 46);
display: flex;
flex-direction: column;
justify-content: center;
width: 100vw;
height: 100vh;
align-items: center;
overflow: hidden;
}
body div {
background: rgba(24,23,23);
padding: 20px;
border-radius: 5px;
text-align: center;
box-shadow: 0 10px 20px 1px rgba(0,0,0,0.5);
width: 600px;
animation: float-down 1s;
}
body div * {
margin:10px;
}
body div img {
height: 150px;
}
body div h3 {
font-size: 50px;
color: white;
font-family: Open Sans, Arial, Helvetica, sans-serif;
margin:0;
}
body div p {
margin:0;
color: white;
font-size: 30px;
font-weight: 100;
font-family: Open Sans, Arial, Helvetica, sans-serif;
text-shadow: 0 0 20px white;
white-space: pre;
font-style: oblique;
}
body div h1 {
font-size: 60px;
color: white;
white-space: pre;
}
#timer {
animation: opacity 1s alternate infinite ease-in-out 0.5s;
}
@keyframes float-down {
from {transform: translateY(-100px); opacity:0;}
}
@keyframes opacity {
30% {transform: scale(1.0)}
50% {transform: scale(1.05)}
70% {transform: scale(1.0)}
}