-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
126 lines (111 loc) · 2.19 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* Code is written by CHIRAG RAJ */
body::-webkit-scrollbar {
overflow: hidden;
display: none;
}
body {
margin: 0px;
}
#container {
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
flex-direction: column;
background-image: linear-gradient(red,blue);
}
#text {
font-size: 2rem;
font-weight: bold;
letter-spacing: 10px;
margin-top: 50px;
font-family: Arial, Helvetica, sans-serif;
}
#timer_text {
font-size: 2rem;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
#clock_container {
height: 40vh;
width: 36vw;
min-height: 270px;
min-width: 480px;
border: 4px solid black;
border-radius: 80px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
margin-top: 50px;
}
#timer {
height: 30%;
width: 70%;
background-color: white;
border: 3px solid black;
display: flex;
align-items: center;
justify-content: center;
}
#btns {
height: 10%;
width: 60%;
display: flex;
justify-content: space-around;
margin-top: -70px;
}
#start_btn {
border: 1px solid blue;
width: 80px;
border-radius: 15px;
color: blue;
}
#start_btn:hover {
background-color: blue;
color: white;
}
#stop_btn {
border: 1px solid red;
width: 80px;
border-radius: 15px;
color: red;
}
#stop_btn:hover {
background-color: red;
color: white;
}
#reset_btn {
border: 1px solid green;
width: 80px;
border-radius: 15px;
color: green;
}
#reset_btn:hover {
background-color: green;
color: white;
}
.btn_text {
font-size: 1rem;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
/* media query for responsiveness */
@media screen and (max-width: 520px){
#clock_container {
height: 40vh;
width: 90vw;
min-width: 0px;
}
#timer_text {
font-size: 1.5rem;
}
#text {
font-size: 1.8rem;
letter-spacing: 5px;
}
.btn_text {
font-size: 0.8rem;
width: 60px;
}
}