TIMBOVILL commited on
Commit
d8b7097
·
verified ·
1 Parent(s): 73695ec

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +43 -14
style.css CHANGED
@@ -1,35 +1,64 @@
1
  body {
2
  background: black;
 
 
 
 
 
 
3
  }
4
 
5
  .clock {
6
- position: absolute;
7
- top: 50%;
8
- left: 50%;
9
- transform: translateX(-50%) translateY(-50%);
10
  color: #73b66f;
11
  font-size: 240px;
12
  font-family: Stencil;
13
  letter-spacing: 7px;
 
14
  }
15
 
16
  .menu {
17
  display: none;
18
- position: absolute;
19
- top: 60%;
20
- left: 50%;
21
- transform: translateX(-50%);
22
- background: #333;
23
- padding: 10px;
24
- border-radius: 10px;
 
 
 
 
 
25
  }
26
 
27
- .color-option {
28
- color: white;
 
 
 
 
 
 
 
29
  padding: 10px;
30
  cursor: pointer;
31
  }
32
 
33
- .color-option:hover {
34
  background: #444;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  }
 
1
  body {
2
  background: black;
3
+ margin: 0;
4
+ padding: 0;
5
+ height: 100vh;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
  }
10
 
11
  .clock {
 
 
 
 
12
  color: #73b66f;
13
  font-size: 240px;
14
  font-family: Stencil;
15
  letter-spacing: 7px;
16
+ cursor: pointer;
17
  }
18
 
19
  .menu {
20
  display: none;
21
+ position: fixed;
22
+ top: 0;
23
+ left: 0;
24
+ width: 100%;
25
+ height: 100%;
26
+ background: rgba(0, 0, 0, 0.9);
27
+ color: white;
28
+ display: flex;
29
+ flex-direction: column;
30
+ justify-content: center;
31
+ align-items: center;
32
+ text-align: center;
33
  }
34
 
35
+ .menu h3 {
36
+ margin-bottom: 10px;
37
+ }
38
+
39
+ .color-options, .font-options {
40
+ margin-bottom: 20px;
41
+ }
42
+
43
+ .color-option, .font-option {
44
  padding: 10px;
45
  cursor: pointer;
46
  }
47
 
48
+ .color-option:hover, .font-option:hover {
49
  background: #444;
50
+ }
51
+
52
+ button {
53
+ padding: 10px 20px;
54
+ font-size: 18px;
55
+ cursor: pointer;
56
+ background: #333;
57
+ border: none;
58
+ color: white;
59
+ margin-top: 20px;
60
+ }
61
+
62
+ button:hover {
63
+ background: #555;
64
  }