-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (101 loc) · 2 KB
/
style.css
File metadata and controls
126 lines (101 loc) · 2 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.handValue {
padding: 0.5rem 1rem;
border: 2px solid oklch(var(--s));
border-radius: 10px;
font-size: 1.3rem;
}
#unifiedScoreTable {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
#unifiedScoreTable th,
#unifiedScoreTable td {
border: 1px solid #ddd;
padding: 8px;
text-align: center;
}
#unifiedScoreTable th {
background-color: #f5f5f5;
font-weight: bold;
}
#unifiedScoreTable tr:nth-child(even) {
background-color: #f9f9f9;
}
#unifiedScoreTable tr:hover {
background-color: #f0f0f0;
}
#unifiedScoreTable th:first-child,
#unifiedScoreTable td:first-child {
font-weight: bold;
text-align: center;
}
.body {
text-align: center;
font-family: 'Zilla Slab', serif;
/* Apply Zilla Slab to the entire body */
}
.container {
max-width: 800px;
/* Limit container width for better readability */
margin: 4rem auto;
/* Center the container horizontally */
}
#playerContainers {
align-items: center;
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
}
.playerBox {
margin: 5px 5px 5px 5px;
}
.card-content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
.controls {
margin: 3rem auto auto;
}
.playerName {
padding: 0.5rem;
margin: 1rem auto auto;
}
.inputs {
display: flex;
align-items: baseline;
justify-content: space-between;
margin: auto;
padding: 1rem;
justify-items: flex-end;
column-gap: 1rem;
}
/*noinspection ALL*/
#finalScores {
display: none;
background-color: oklch(var(--sc));
padding: 1rem;
margin: auto;
max-width: 50%;
max-height: 50%;
}
dialog {
padding: 2rem;
border: none;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 500px;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
dialog::backdrop {
background-color: rgba(0, 0, 0, 0.5);
}
img {
max-width: 10%;
height: auto;
}