-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
178 lines (156 loc) · 2.67 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
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
167
168
169
170
171
172
173
174
175
176
177
178
.center-item {
display: flex;
justify-content: center;
}
.array-size {
width: 100%;
height: 38px;
margin: 1.5rem auto;
display: flex;
align-items: center;
justify-content: center;
color: #333 !important;
}
.array-size > label {
margin: 0;
margin-right: 10px;
}
.array-size > input {
margin-right: 20px;
height: 100%;
color: #333 !important;
border: 1px solid #333;
border-radius: 4px;
padding: 0 15px;
box-sizing: border-box;
width: 150px;
}
.array-size > input:hover,
.array-size > input:focus {
border-color: #007bff !important;
}
.array-size > input:focus {
outline: none;
}
.array-size > button {
height: 100%;
}
.array-size .btn-warning.focus,
.btn-warning:focus {
box-shadow: none !important;
}
.card {
height: 10rem;
}
.card-title {
text-align: left;
margin: 1em;
}
/* Changes color around algorithm buttons when clicked */
.click-border {
background-color: #b2d3ebd7;
border-radius: 5%;
box-shadow: 0.5px 0.5px 0.25px rgb(141, 151, 158);
}
/* Graph is the container that holds the bar graph */
#graph {
height: 68%;
}
h2 {
display: flex;
justify-content: center;
font-size: large;
}
main {
height: 85vh;
}
nav .navbar .bg-light border {
background-color: #e3f2fd;
}
.navbar {
color: #333;
box-shadow: 0px 1px 20px 0px rgb(0 0 0 / 20%);
border: 0 !important;
}
a:not([href]):not([tabindex]) {
color: #333;
}
nav .nav-link {
color: blue;
}
.nav-link {
color: blue;
}
/* Responsive navbar for phone screens */
/* When the screen is smaller than 800px */
@media (max-width: 800px) {
.nav-item {
display: flex;
justify-content: center;
margin-bottom: auto;
}
/* Hide infobar on phone screens and center buttons */
.card {
display: none;
}
.infoContainer {
display: none;
}
/* Hide slider on phones, since it will take up too much space and complicate the UI */
.slidecontainer {
display: none;
}
}
@media (max-width: 950px) {
.card {
height: auto;
}
.startbuttons {
display: none;
}
.numdiv,
.numdivshort {
display: none;
}
}
/* When the screen is bigger than 950px */
@media (min-width: 950px) {
.mobilebuttons {
display: none;
}
}
.numdiv {
text-align: center;
color: white;
margin-top: 10px;
font-size: small;
}
.numdiv.demo {
height: 100%;
margin: 0;
display: flex;
align-items: center;
font-size: 50px;
}
.numdivshort {
text-align: center;
color: #333;
margin-top: -20px;
font-size: small;
}
.speed {
width: 10%;
}
.vertbar {
width: 10%;
height: 100%;
background-color: #333;
margin-right: 3px;
}
.time-period {
text-align: center;
}
.time-period > span > span {
padding: 10px;
border-radius: 5px;
}