-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (77 loc) · 1.59 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Akatab:wght@400;500;600;700&family=Poppins:wght@100;200;300&display=swap");
:root {
--secondry-color: #fff;
--mainFont: "Poppins", sans-serif;
--secondFont: "Akatab", sans-serif;
--gradient: linear-gradient(-45deg, #19d6fc, #19fc5d);
}
#body {
background: var(--gradient);
transition-duration: 0.3s;
height: 100vh;
}
.darkmode-section {
display: flex;
justify-content: right;
height: 50px;
}
#darkmode-img {
width: 40px;
height: 40px;
background-position: center;
background-color: transparent;
transition-duration: 0.3s;
}
#darkmode-img:hover {
rotate: -20deg;
}
.text {
color: var(--secondry-color);
}
#title {
font-family: var(--mainFont);
font-weight: 200;
font-size: 5vw;
text-align: center;
margin-bottom: 10px;
}
#mottoText {
font-family: var(--mainFont);
font-weight: 300;
text-align: center;
}
.time {
margin: 10px;
font-size: 15vw;
display: inline-block;
font-family: var(--secondFont);
font-weight: 400;
font-weight: bold;
}
#timeDisplay {
text-align: center;
}
.btn-section {
display: flex;
justify-content: center;
margin: 20px;
}
.btn {
background-color: transparent;
width: 100px;
height: auto;
padding: 10px 5px;
text-align: center;
border: 3px solid var(--secondry-color);
border-radius: 10px;
font-size: 16px;
margin: 5px 10px;
font-family: var(--mainFont);
font-weight: bold;
font-size: 120%;
transition-duration: 0.3s;
}
.btn:hover {
font-size: 100%;
}