-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (85 loc) · 1.74 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
89
90
91
92
93
94
95
96
97
98
99
100
101
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.fade-out {
animation: fadeOut 1s ease-in-out;
}
body {
font-family: Poppins;
margin: 0;
padding: 0;
min-height: 100vh;
background: linear-gradient(180deg, rgba(180,247,238,1) 0%, rgba(211,176,242,1) 100%);
}
h1 {
margin-top: 20px;
text-align: center;
}
input {
text-align: center;
max-width: 200px;
}
#form {
display: flex;
flex-direction: row;
justify-content: center;
}
h3 {
font-weight: 400;
}
header {
margin-top: 100px;
margin-bottom: 20px;
}
.fade-out {
animation: fadeOut 0.5s ease-out forwards;
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
display: none;
}
}
.fade-in {
animation: fadeIn 0.5s ease-in forwards;
}
@keyframes fadeIn {
0% {
opacity: 0;
display: none;
}
100% {
opacity: 1;
}
}
#relogio {
display: none;
background: white;
border-radius: 10px;
padding: 15px;
width: 500px;
margin: auto;
margin-top: 30px;
box-shadow: 0px 0px 10px rgba(5, 22, 46, 0.180); /* deslocamento lateral - deslocamento vertical - espalhamento - cor*/
text-align: center;
font-size: 40px;
font-weight: 600;
letter-spacing: 1px;
}
@media only screen and (max-width: 600px) {
body {
text-align: center;
}
#relogio {
width: 300px;
}
}