Spaces:
Running
Running
Julien Chaumond
commited on
Commit
·
e269841
1
Parent(s):
41667ee
Height-wise responsiveness
Browse files- less/style.less +18 -1
less/style.less
CHANGED
@@ -92,7 +92,7 @@ code, pre {
|
|
92 |
.container {
|
93 |
font-size: 20px;
|
94 |
white-space: nowrap;
|
95 |
-
padding: 300px 40px
|
96 |
mark {
|
97 |
position: relative;
|
98 |
span.single-score {
|
@@ -172,6 +172,23 @@ body.debug {
|
|
172 |
}
|
173 |
}
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
/**
|
176 |
* Elements from Displacy
|
177 |
*/
|
|
|
92 |
.container {
|
93 |
font-size: 20px;
|
94 |
white-space: nowrap;
|
95 |
+
padding: 300px 40px 180px 40px; /// Keep a large-ish bottom padding b/c we use it to scroll the whole container. cf. media queries
|
96 |
mark {
|
97 |
position: relative;
|
98 |
span.single-score {
|
|
|
172 |
}
|
173 |
}
|
174 |
|
175 |
+
/**
|
176 |
+
* Media queries
|
177 |
+
*/
|
178 |
+
|
179 |
+
@media (min-height: 700px) and (max-height: 800px) {
|
180 |
+
.container {
|
181 |
+
padding-bottom: 90px;
|
182 |
+
}
|
183 |
+
}
|
184 |
+
|
185 |
+
@media (max-height: 700px) {
|
186 |
+
.container {
|
187 |
+
padding-bottom: 40px;
|
188 |
+
}
|
189 |
+
}
|
190 |
+
|
191 |
+
|
192 |
/**
|
193 |
* Elements from Displacy
|
194 |
*/
|