-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
58 lines (51 loc) · 904 Bytes
/
styles.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
/* General styles */
body {
margin: 0;
font-family: Arial, sans-serif;
position: relative;
}
.stopwatch {
margin: 50px auto;
width: 300px;
position: relative;
}
.bg-image {
width: 100%;
height: auto;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.text-on-image {
position: absolute;
top: 50px;
left: 50%;
transform: translateX(-50%);
color: white;
z-index: 1;
}
/* Button styles */
.controls {
text-align: center;
margin-top: 20px;
}
.controls button {
font-family: serif;
padding: 15px 25px;
font-size: 20px;
margin: 5px;
background-color: #d1c2c2;
color: rgb(118, 97, 97);
border: rgb(255, 255, 255) 20px;
cursor: pointer;
border-radius: 50px;
}
.display{
color: #ffffff;
font-family: serif;
font-size: 20px;
}
.controls button:hover {
background-color: #ffffff;
}