-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (81 loc) · 1.2 KB
/
style.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
* {
box-sizing: border-box;
}
body {
background: #fefefe;
font-size: 0.9rem;
}
/* forms */
input, button {
padding: 0.2em 0.4em;
border: 1px solid #ccc;
border-radius: 0.2rem;
}
input:focus, button:focus {
border: 1px solid #99f;
}
/* table */
table {
border: 1px solid #cbcbcb;
}
td, th {
white-space: nowrap;
padding: 0.3em 0.7em;
border-right: 1px solid #cbcbcb;
}
th {
background: #ddd;
border-bottom: 1px solid #cbcbcb;
font-size: 0.9em;
}
#container {
width: 100%;
max-width: 80rem;
margin: auto;
}
section {
display: block;
float: left;
width: 50%;
padding: 1em;
}
section table {
width: 100%;
}
section h2 {
margin-top: 0;
white-space: nowrap;
}
h2 form {
display: inline;
}
table {
border-collapse: collapse;
}
th, td {
border: 1px solid #ccc;
padding: 0.2em 0.2em;
}
th.name {
min-width: 7em;
}
th.score {
min-width: 3em;
max-width: 5em;
}
td {
overflow: hidden;
text-overflow: ellipsis;
}
td input {
width: 100%;
}
table {
margin-bottom: 0.5em;
}
#tabPlayers + button, #tabMatches + input {
width: 100%;
}
#tabMatches td:nth-child(2) {
text-align: right;
}