Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
body {
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
font-size: 15px;
|
14 |
-
margin-bottom: 10px;
|
15 |
-
margin-top: 5px;
|
16 |
}
|
17 |
|
18 |
-
.
|
19 |
-
|
20 |
-
|
21 |
-
padding: 16px;
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
}
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Global Styles */
|
2 |
+
|
3 |
+
* {
|
4 |
+
box-sizing: border-box;
|
5 |
+
margin: 0;
|
6 |
+
padding: 0;
|
7 |
+
}
|
8 |
+
|
9 |
body {
|
10 |
+
font-family: Arial, sans-serif;
|
11 |
+
background-color: #212121; /* Dark background */
|
12 |
+
color: #fff; /* White text */
|
13 |
+
text-align: center;
|
14 |
+
padding: 20px;
|
15 |
+
}
|
16 |
+
|
17 |
+
.container {
|
18 |
+
max-width: 400px;
|
19 |
+
margin: 40px auto;
|
20 |
+
padding: 20px;
|
21 |
+
background-color: #333; /* Darker background for container */
|
22 |
+
border-radius: 10px;
|
23 |
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
24 |
}
|
25 |
|
26 |
+
/* Button Styles */
|
27 |
+
|
28 |
+
.start-button {
|
29 |
+
background-color: #3498db; /* Blue button */
|
30 |
+
color: #fff;
|
31 |
+
border: none;
|
32 |
+
padding: 10px 20px;
|
33 |
+
font-size: 18px;
|
34 |
+
cursor: pointer;
|
35 |
+
border-radius: 5px;
|
36 |
+
transition: background-color 0.3s ease;
|
37 |
}
|
38 |
|
39 |
+
.start-button:hover {
|
40 |
+
background-color: #2980b9; /* Darker blue on hover */
|
|
|
|
|
|
|
41 |
}
|
42 |
|
43 |
+
.start-button.active {
|
44 |
+
background-color: #fff; /* White button when active */
|
45 |
+
color: #333;
|
|
|
|
|
|
|
46 |
}
|
47 |
|
48 |
+
/* Counter and Timer Styles */
|
49 |
+
|
50 |
+
.click-counter {
|
51 |
+
font-size: 24px;
|
52 |
+
margin: 20px 0;
|
53 |
}
|
54 |
+
|
55 |
+
.timer {
|
56 |
+
font-size: 36px;
|
57 |
+
font-weight: bold;
|
58 |
+
margin: 20px 0;
|
59 |
+
}
|
60 |
+
|
61 |
+
.cps-display {
|
62 |
+
font-size: 24px;
|
63 |
+
margin: 20px 0;
|
64 |
+
}
|