This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stopwatch.css
108 lines (91 loc) · 1.61 KB
/
stopwatch.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
body {
font-family: Roboto, Arial, Helvetica, sans-serif;
/* Same colour as in the rock paper scissors project */
background-color: rgb(25, 25, 25);
color: white;
user-select: none;
}
h1.title {
display: inline-block;
}
img.icon {
height: 38.444px;
}
div.title-container,
p.time,
div.button-container {
/* Centre the elements on the screen */
text-align: center;
}
div.button-container {
display: flex;
justify-content: center;
}
button.go-button,
button.add-lap-button,
button.reset-button {
width: 100px;
height: 30px;
border: none;
box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.85);
transition: box-shadow 0.15s;
cursor: pointer;
border-radius: 4px;
}
button.add-lap-button {
margin: 0px 15px;
}
button.reset-button:active,
button.add-lap-button:active,
button.go-button:active {
box-shadow: none;
}
div.confirmation-container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 15px;
height: 30px;
}
button.yes-button,
button.no-button {
margin: 0px 5px;
box-shadow: 0px 0px 5px rgba(255, 255, 255, 0.85);
transition: box-shadow 0.15s;
border-radius: 4px;
border: none;
padding: 5px 8px;
}
button.yes-button:active,
button.no-button:active {
box-shadow: none;
}
div.laps-list-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
ol.laps-list {
padding: 0;
}
li.lap-item {
padding: 0;
}
div.credits-wrapper {
position: absolute;
top: 5px;
left: 5px;
}
div.credits-container {
position: relative;
display: flex;
}
a.credits {
color: white;
font-size: 10px;
display: inline-block;
}
img.credits-icon {
margin-right: 6px;
height: 12px;
}