Sergidev commited on
Commit
a941cc2
·
verified ·
1 Parent(s): 72b0330

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +54 -18
style.css CHANGED
@@ -1,28 +1,64 @@
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
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
+ }