-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
129 lines (103 loc) · 1.68 KB
/
styles.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
129
* {
margin: 0;
padding: 0;
font-family: 'ZCOOL KuaiLe', cursive;
}
body {
background-color: #FFFFFF;
min-height: 100%;
}
html,body {
overflow: auto;
}
header {
margin: 20px;
font-size: 1.5em;
}
h1 {
text-align: center;
color: #fcba04;
}
#content {
width: 100%;
}
#controls {
text-align: center;
margin: 10px auto 20px auto;
width: 90vw;
max-width: 800px;
height: 50px;
display: flex;
justify-content: center;
}
#controls button {
margin: 0 2px;
color: #a50104;
font-size: 1.5em;
border-radius: 5px;
}
#clear {
flex-grow: 1;
}
#sub {
flex-grow: 1;
}
#test {
flex-grow: 2;
}
main {
display: flex;
flex-direction: column;
align-items: center;
margin: auto;
padding: 0 5px;
}
#puzzle {
width: 90vw;
height: 90vw;
max-width: 800px;
max-height: 800px;
margin: auto;
}
table {
margin: auto;
background-color: #07B2FF;
border-collapse: collapse;
border-radius: 2px;
width: 100%;
height: 100%;
table-layout: fixed;
}
td {
border: 1px solid black;
width: 10%;
height: 10%;
text-align: center;
font-size: 4vw;
-moz-user-select: none;
user-select: none;
font-family: 'Lato', sans-serif;
}
td:nth-child(3), td:nth-child(6) {
border-right: 3px solid black;
}
tr:nth-child(3), tr:nth-child(6) {
border-bottom: 3px solid black;
}
.immutable {
color: #F2F2F2;
}
@media (min-width: 1300px) {
td {
font-size: 40px;
}
}
@media (min-width: 750px) and (max-width: 1400px) {
#puzzle {
width: 70vmin;
height: 70vmin;
}
#controls {
width: 70vmin;
}
}