-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (93 loc) · 2.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
91
92
93
94
95
96
97
98
99
100
101
102
103
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
}
body {
background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}
::-webkit-scrollbar {
width: 0px;
}
.page {
width: 100%;
height: 100vh;
}
footer {
width: 100%;
height: fit-content;
text-align: center;
}
.footer-text {
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 20px;
font-weight: 500;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
.clock {
width: 53%;
position: absolute;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 46px;
font-weight: 500;
margin: 5% 5%;
}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
.clock {
width: 50%;
position: absolute;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 50px;
font-weight: 500;
margin: 5% 5%;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
.clock {
width: 46%;
position: absolute;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 55px;
font-weight: 500;
margin: 5% 5%;
}
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
.clock {
width: 35%;
position: absolute;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 58px;
font-weight: 500;
margin: 5% 5%;
}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
.clock {
width: 30%;
position: absolute;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 60px;
font-weight: 500;
margin: 5% 5%;
}
}