-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
44 lines (37 loc) · 756 Bytes
/
style.css
File metadata and controls
44 lines (37 loc) · 756 Bytes
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
/* Apply box sizing and reset margins and paddings */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Basic styling for the whole page */
body {
font-family: 'Quicksand', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
height: 100vh;
color: black;
}
/* Styling for the displayed time */
#time {
font-size: 8rem;
}
/* Styling for main headings */
h1 {
margin-bottom: 3rem;
}
/* Styling for secondary headings */
h2 {
margin-bottom: 0.5rem;
opacity: 0.6;
}
/* Media query for smaller screens */
@media (max-width: 700px) {
/* Adjust font size for smaller screens */
#time {
font-size: 6rem;
}
}