-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
163 lines (137 loc) · 2.67 KB
/
styles.css
File metadata and controls
163 lines (137 loc) · 2.67 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
/*
Andrei Karavanov
October 16, 2019
Gilmore, AB
This is the main stylesheet of my project. It has iniversal rulset that
is applicable to every single page of my project.
*/
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.container li {
flex: 1;
}
body {
background-color: #F5F4F0;
font-family: 'Roboto Mono', sans-serif;
margin-left: auto;
margin-right: auto;
width: 80%;
}
header {
text-align: center;
}
a:link {
text-decoration: none;
font-weight: bold;
}
.algorithmName {
color: purple;
}
#visualization {
padding: 50px 0 50px 50px;
flex: 2;
margin: 0 auto;
max-width: 700px;
}
button {
width: 100%
padding: 20px;
align-items: center;
margin: 10px;
}
label {
display: inline-block;
width: 200px;
}
@media only screen and (max-width: 1000px) {
body {
font-size: 1.6em;
}
#visualization, #visualization-options {
padding: 0;
flex: 0 0 100%;
}
.slider {
width: 100%;
height: 16px;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
width: 40px;
height: 40px;
background: purple; /* Green background */
cursor: pointer; /* Cursor on hover */
}
label {
font-size: 1.2em;
padding: 30px 0;
}
button {
font-size: 35px;
padding: 30px 50px;
}
.options {
padding: 30px;
}
}
#visualization-options {
padding: 0;
flex: 1;
margin: auto;
}
#visualization-options ul li {
display: table;
margin: 0 auto;
}
input {
-webkit-appearance: none;
background: black;
height: 10px;
width: 100%;
/* max-width: 400px; */
}
input::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
width: 25px; /* Set a specific slider handle width */
height: 25px; /* Slider handle height */
background: purple; /* Green background */
cursor: pointer; /* Cursor on hover */
}
.side-to-side {
display: flex;
flex-wrap: wrap;
align-items: center;
}
.little-box {
color: white;
border: solid 1px black;
text-align: center;
height: 200px;
position: relative;
width: 20px;
margin: 10px 10px;
align-self: flex-end;
cursor: pointer;
}
.little-box p {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
/* margin: ; */
}
#vis {
display: flex;
flex-wrap: wrap;
position: relative;
border: 2px solid black;
height: 450px;
width: 800px;
margin: auto auto;
}