-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
132 lines (127 loc) · 2.31 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
129
130
131
132
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
html, body {
width: 100vw;
height: 100vh;
position: fixed;
padding: 0;
margin: 0;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: #fff;
font-family: 'Poppins', sans-serif;
}
#view {
margin-top: 30px;
}
#mazeContainer {
top: 15px;
opacity: 0;
display: inline-block;
margin: auto;
border-radius: 10px;
}
#mazeContainer #mazeCanvas {
margin: 0;
display: block;
border: solid 2px black;
height: 400px;
}
input, select {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.30);
height: 45px;
width: 150px;
padding: 10px;
border: none;
border-radius: 5px;
color: white;
display: inline-block;
font-size: 15px;
text-align: center;
text-decoration: none;
appearance: none;
}
input:hover, select:hover {
background-color: rgba(0, 0, 0, 0.70);
}
input:active, select:active {
background-color: black;
}
input:focus, select:focus {
outline: none;
}
.custom-select {
display: inline-block;
}
.custom-select select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-repeat: no-repeat;
background-position: 125px center;
}
#Message-Container {
visibility: hidden;
color: white;
display: block;
width: 100vw;
height: 100vh;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.30);
z-index: 1;
}
#Message-Container #message {
width: 300px;
height: 300px;
position: fixed;
top: 50%;
left: 50%;
margin-left: -150px;
margin-top: -150px;
}
#page {
text-align: center;
height: auto;
width: auto;
margin: auto;
}
#page #menu {
margin: auto;
padding: 10px;
height: 65px;
box-sizing: border-box;
}
#page #menu h1 {
margin: 0;
margin-bottom: 10px;
font-weight: 600;
font-size: 3.2rem;
}
#page #view {
position: absolute;
top: 65px;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: auto;
}
.border {
border: 10px black solid;
border-radius: 10px;
}
#instructions {
margin-top: 425px;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 400px) {
input, select {
width: 120px;
}
}