-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
166 lines (137 loc) · 2.66 KB
/
style.css
File metadata and controls
166 lines (137 loc) · 2.66 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
:root {
--grid-cols: 1;
--grid-rows: 1;
--app-container-width: 800px;
}
body {
/* background-color: gray; */
font-family: 'Orbitron', sans-serif;
font-family: 'Saira', sans-serif;
padding-top: 2rem;
}
#instructions-button {
position: absolute;
right: 10px;
top: 10px;
}
#instructions {
text-align: left;
}
#instructions ol{
margin-left: 1rem;
}
#instructions-tabbed {
margin-left: 2rem;
}
.btnDash {
padding: 10px auto;
}
.sizeDash, .speedDash {
display: inline-block;
text-align: left;
margin: 5px 0px;
}
.sizeDash label, .speedDash label {
display: block;
text-align: left;
}
.app-container {
min-width: 320px;
max-width: var(--app-container-width);
/* background-color: rgb(223, 223, 213); */
margin: auto;
text-align: center;
padding: 0px;
}
.dashboard {
margin: auto;
width: 50%;
}
button {
box-shadow: none !important;
}
#sizeBtns > button{
background-color: hsl(32, 100%, 49%);
color: #fff;
}
#sizeBtns button:focus {
background-color: hsl(22, 100%, 30%);
}
#speedBtns button:focus{
background-color: rgb(146, 0, 0);
}
.search-algorithms {
margin: 10px 0px 20px 0px;
}
/*
.search-algorithms button {
width: 100%;
} */
.opt-obstacles{
margin: 0px auto;
text-align: left;
padding: 5px 20px;
}
#walls{
width: 100%;
}
#rangeObstacles {
width: 100%;
}
.search-algorithms button{
margin: 5px;
}
.search-algorithms button:focus {
transform: scale(1.1);
}
.labyrinth {
height: var(--app-container-width);
display: grid;
grid-template-columns: repeat(var(--grid-cols), 1fr);
/* grid-template-rows: repeat(var(--grid-rows), 1fr); */
text-align: center;
}
@media only screen and (max-width: 800px) {
.labyrinth {
height: 100vw;
}
}
.labyrinth div {
/* aspect-ratio: 1; */ /*Does not always work on all phones. Experimental*/
margin: 0px;
padding: 0px;
border: 1px rgba(0, 0, 0, 0.120) solid;
position: relative;
}
.labyrinth div p {
color: rgba(129, 129, 129, 0.70);
font-size: calc(40% + 0.5vw);
/* text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6); */
margin: 0px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@media only screen and (max-width: 450px) {
.dashboard {
width: 55%;
}
.labyrinth div p {
font-size: calc(32% + 0.5vw);
}
.search-algorithms button {
margin: 5px 0px;
width: 100%;
}
#sizeBtns #speedBtns{
width: 100%;
}
#instructions li, p {
font-size: 14px;
}
}
/* Notification */
.toast {
position: fixed;
}