Skip to content

Commit 3734748

Browse files
committed
Slightly improve mobile support
1 parent 6cd4bf3 commit 3734748

File tree

3 files changed

+24
-14
lines changed

3 files changed

+24
-14
lines changed

_sass/minima/_base.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,19 @@ abbr {
295295
display: block;
296296
float: left;
297297
width:100%;
298-
line-height:8px;
299298
padding-bottom:16px;
300299
}
301300
.breadcrumb-trail-box {
302-
padding: 16px; margin:8px; color: #ffffff; height: auto; width: auto;
301+
padding: 8px; padding-left: 16px; padding-right: 16px; margin:8px; color: #ffffff; height: auto; width: auto;
303302
background-color: rgba(0,0,0,0.7);
304303
border: 4px; border-radius: 15px;
305304
}
305+
306+
@media (max-width: 980px) {
307+
.breadcrumb-trail {
308+
width:auto;
309+
}
310+
}
306311

307312
.table-filters {
308313
margin:0px; padding:18px;
@@ -495,7 +500,7 @@ abbr {
495500
z-index: 2; color: $text-color;
496501
}
497502
.feature_background {
498-
background-image: url('../assets/dev_measuregeneric_purple01.jpg');
503+
background-image: url('../assets/dev_measuregeneric_purple01.jpg'); background-size: cover;
499504
position:absolute; min-width: 0; min-height: 0; width:100%; height:100%;
500505
opacity: 0;
501506
transition: opacity 0.5s ease;

_sass/minima/_layout.scss

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@
1818
letter-spacing: -1px;
1919
margin-bottom: 0;
2020
float: left;
21-
22-
&,
23-
&:visited {
24-
color: $grey-color-dark;
25-
}
21+
filter: drop-shadow(0px 0px 4px black);
22+
text-shadow: 0px 0px 4px black;
2623
}
2724

2825
.site-nav {

index.html

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
.wip_box {
5050
position: relative; overflow: hidden;
5151
display: flex; justify-content: center; align-items: center;
52-
padding: 8px; color: #ffffff; height: auto;
53-
margin-top: 32px; margin-left: 64px; margin-right: 64px;
52+
padding: 8px; color: #ffffff; height: auto; width: auto;
53+
margin-top: 32px;
5454
background-color: rgba(0,0,0,0.8);
5555
opacity: 1.0; filter: alpha(opacity=100); border: 5px dashed yellow; border-radius: 25px;
5656
text-shadow: 4px 4px 8px black;
@@ -71,6 +71,7 @@
7171
*/
7272
.sea {
7373
position: absolute;
74+
overflow: hidden;
7475
top: 80px;
7576
left: 0px;
7677
width: 100%; height: 600px;
@@ -127,6 +128,7 @@
127128
*/
128129
#landing_navbar ul {
129130
display: flex;
131+
flex-wrap: wrap;
130132
list-style-type: none;
131133
margin: 0;
132134
padding: 0;
@@ -151,6 +153,12 @@
151153
#landing_navbar ul li a:hover {
152154
background-color: #111111;
153155
}
156+
157+
@media (max-width: 600px) {
158+
#landing_navbar ul {
159+
flex-direction: column;
160+
}
161+
}
154162
/*
155163
Socials
156164
*/
@@ -185,17 +193,17 @@
185193

186194
<div id="sea" class="sea">
187195
</div>
188-
189-
<div class="top_container">
190196
<br>
191-
<p style="display:flex; gap:0px; justify-content:center; align-items: center;">
192-
<button id="top_icon_button" style="background:none; border:none; cursor: pointer;">
197+
<p style="display:flex; gap:0px; justify-content:center; align-items: center; flex-wrap: wrap;">
198+
<button id="top_icon_button" style="background:none; border:none; cursor: pointer; max-width: 400px;">
193199
<div id="top_icon_hinge" class="top_icon_hinge">
194200
<img id="top_icon_img" class="top_icon" src="assets/website_home_icon.png" width="300"/>
195201
</div>
196202
</button>
197203
<img src="assets/website_home_text.png" width="600" height="50%"/>
198204
</p>
205+
206+
<div class="top_container">
199207
<br>
200208
<br>
201209
<div class="top_box">

0 commit comments

Comments
 (0)