-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (109 loc) · 1.9 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
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
127
128
:root,
body,
p,
div {
margin: 0;
padding: 0;
font-size: 35px;
}
body {
background-color: #FBCEB1;
}
p {
text-shadow: 2px 2px 10px white;
}
p#win {
border: none;
display: flex;
color: #00FFA7;
margin-top: 30px;
text-align: center;
justify-items: center;
text-shadow: 2px 2px 3px black;
font-family: 'Protest Revolution', sans-serif;
}
p,
label,
button,
.stats {
border: 2px solid black;
}
table {
width: 300px;
height: 360px;
user-select: none;
border-radius: 10px;
table-layout: fixed;
background-color: #301b00;
font-family: 'Protest Revolution', sans-serif;
box-shadow: 0 11px 15px -7px rgb(0 0 0 / 20%), 0 24px 38px 3px rgb(0 0 0 / 14%), 0 9px 46px 8px rgb(0 0 0 / 12%);
}
td {
width: 100px;
height: 120px;
color: #00FFA7;
cursor: pointer;
position: relative;
text-align: center;
align-items: center;
justify-content: center;
border: 1px solid whitesmoke;
text-shadow: 2px 2px 2px black;
-webkit-tap-highlight-color: blanchedalmond;
}
/* Remove Border for Edges */
table tr:nth-child(1) td {
border-top: none;
}
table tr:nth-child(3) td {
border-bottom: none;
}
table tr td:first-child {
border-left: none;
}
table tr td:last-child {
border-right: none;
}
button {
padding: 2px;
height: 40px;
width: min-content;
border-radius: 5px;
background-color: yellow;
}
button:hover {
background: #00FFA7;
box-shadow: 0 6px 20px rgb(0 118 255 / 23%);
}
.screen {
display: flex;
flex-direction: column;
}
.heading {
width: 100vw;
color: whitesmoke;
align-self: center;
background-color: black;
}
.stats {
margin: 10px;
display: flex;
text-align: center;
flex-direction: row;
justify-content: space-between;
}
.board {
align-self: center;
}
.controls {
display: flex;
margin-top: 30px;
flex-direction: row;
justify-content: space-evenly;
}
.hidden {
display: none;
}
.highlight {
border-top: 5px solid yellow;
}