-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
66 lines (59 loc) · 1.47 KB
/
index.css
File metadata and controls
66 lines (59 loc) · 1.47 KB
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
@font-face {
font-family: "Clock";
src: url("./fonts/clock.TTF") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
body {
margin: 0;
text-align: center;
font-size: 20px;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.container {
display: flex;
justify-content: space-between;
background-color: darkblue;
max-width: 400px;
padding: 13px 30px 30px 30px;
color: white;
border: 3px solid red;
border-radius: 10px;
margin: 100px
}
.buttons {
display: inline-flex; /* shrinks to content width */
gap: 0.4rem; /* spacing */
justify-content: center;
background-color: darkblue;
color: darkblue;
padding-top: 15px;
}
.buttons button {
background: transparent;
border: 1px solid beige;
border-radius: 5px;
font-size: 18px;
color: white;
margin-top: 20px;
margin-bottom: 13px;
font-weight: bolder;
}
#score-home, #score-guest {
font-family: "Clock"; /* matches the @font-face above */
font-size: 66px;
line-height: 1;
letter-spacing: 0.02em;
margin: 10px 0 10px 0;
}
.scores-home, .scores-guest {
background-color: black;
padding: 10px 0 10px 0;
border-radius: 25px;
border: 4px solid black;
transition: border-color 120ms ease;
}
.lead { border-color: #22c55e; } /* green */
.trail { border-color: #ef4444; } /* red */
.tie { border-color: #eab308; } /* yellow */