-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (81 loc) · 1.53 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
91
92
93
94
95
96
img.card {
max-height: 300px;
max-width: 100%;
}
table {
border-spacing: 0;
}
th,
td {
cursor: pointer;
text-align: center;
}
#numberOfCards {
max-width: 100px;
}
label,
input,
select {
display: inline-block;
vertical-align: middle;
}
i {
color: #888;
}
.selected i {
color: #000;
}
#thisCardIs h2 span,
#thisCardIs p:first-of-type label span,
#thisCardIs p:first-of-type,
body.two #removeCardFromHand span:nth-of-type(1),
#removeCardFromHand span:nth-of-type(2),
label.replaced,
label.only,
#reset {
display: none;
}
body.zero #thisCardIs h2 span:nth-of-type(1),
body.one #thisCardIs h2 span:nth-of-type(2),
body.two #thisCardIs h2 span:nth-of-type(3),
body.one #thisCardIs p:first-of-type,
body.two #thisCardIs p:first-of-type,
body.one #thisCardIs p:first-of-type label span:nth-of-type(1),
body.two #thisCardIs p:first-of-type label span:nth-of-type(2),
body.two #removeCardFromHand span:nth-of-type(2),
body.one label.only,
body.two label.only,
body.one label.replaced,
body.two label.replaced {
display: initial;
}
div.play {
display: none;
}
label.cardColour {
display: none;
}
span.colour {
width: 18px;
display: inline-block;
text-align: center;
}
.selected {
background-color: #ff0;
}
@media only screen and (min-width: 1016px) {
body {
width: 1000px;
margin-left: calc(50% - 500px);
}
}
@media (prefers-color-scheme: dark) {
html,
body {
background: black;
color: white;
}
img {
color: #fff;
}
}