Add preliminary styles for mobile devices
This commit is contained in:
parent
3e520bfd9f
commit
90c2a559f0
5 changed files with 35 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
@import 'include-media/dist/_include-media';
|
||||||
|
|
||||||
|
// Breakpoints
|
||||||
|
$breakpoints: (small: 320px, medium: 768px, large: 1024px);
|
||||||
|
|
||||||
|
// Sizing
|
||||||
$unit: 8px;
|
$unit: 8px;
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,12 @@ h1 {
|
||||||
margin-top: $unit * 3;
|
margin-top: $unit * 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include media('>small', '<=medium') {
|
||||||
|
body {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// #NotFound {
|
// #NotFound {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
// flex-direction: column;
|
// flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -87,3 +87,9 @@ button {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include media('>small', '<=medium') {
|
||||||
|
.Button {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -34,3 +34,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@include media('>small', '<=medium') {
|
||||||
|
.Segment {
|
||||||
|
flex-grow: 1;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13,4 +13,14 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@include media('>small', '<=medium') {
|
||||||
|
.SegmentedControlWrapper {
|
||||||
|
justify-content: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SegmentedControl {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue