Style updates
This commit is contained in:
parent
d9b9c7615e
commit
d64002efbf
|
|
@ -20,7 +20,7 @@
|
||||||
transition: 0.6s;
|
transition: 0.6s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
#banner {
|
#banner {
|
||||||
top: 155px;
|
top: 155px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,11 @@ body {
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-image: url(#{$background-image-phone});
|
background-image: url(#{$background-image-phone-sd});
|
||||||
color: $font-color;
|
color: $font-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (orientation: portrait) {
|
@media only screen and (min-width: 800px) and (orientation: portrait) {
|
||||||
body {
|
body {
|
||||||
background-image: url(#{$background-image-phone});
|
background-image: url(#{$background-image-phone});
|
||||||
}
|
}
|
||||||
|
|
@ -28,7 +28,7 @@ body {
|
||||||
|
|
||||||
@media only screen and (min-width: 600px) and (orientation: landscape) {
|
@media only screen and (min-width: 600px) and (orientation: landscape) {
|
||||||
body {
|
body {
|
||||||
background-image: url(#{$background-image-small});
|
background-image: url(#{$background-image-sd});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -38,6 +38,9 @@ body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: $media-query) {
|
||||||
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -137,7 +140,7 @@ table {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
.container {
|
.container {
|
||||||
width: calc(#{$max-width} + calc(2 * #{$gutter-width}));
|
width: calc(#{$max-width} + calc(2 * #{$gutter-width}));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
.navbar-logo {
|
.navbar-logo {
|
||||||
img {
|
img {
|
||||||
transition: $transition-time * 1.5;
|
transition: $transition-time * 1.5;
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
.navbar-logo {
|
.navbar-logo {
|
||||||
img {
|
img {
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
max-width: 40px;
|
max-width: 40px;
|
||||||
padding: 0 $gutter-width;
|
padding: 0 $gutter-width;
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -174,7 +174,7 @@
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
& {
|
& {
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
|
|
@ -196,7 +196,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
input[type=checkbox] {
|
input[type=checkbox] {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
overflow: none;
|
overflow: none;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
|
||||||
@media only screen and (min-width: calc(#{$max-width} + calc(6 * #{$gutter-width}))) {
|
@media only screen and (min-width: $media-query) {
|
||||||
margin-top: calc(100vh - 285px);
|
margin-top: calc(100vh - 285px);
|
||||||
margin-bottom: -$gutter-width;
|
margin-bottom: -$gutter-width;
|
||||||
margin-left: 67%;
|
margin-left: 67%;
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,9 @@ $border-radius: 5px;
|
||||||
|
|
||||||
$fa-font-path: "/fonts";
|
$fa-font-path: "/fonts";
|
||||||
|
|
||||||
$background-image: "/img/background.jpg";
|
$background-image-sd: "/img/background-sd.jpg";
|
||||||
$background-image-phone: "/img/background-phone.jpg";
|
$background-image-hd: "/img/background.jpg";
|
||||||
$background-image-small: "/img/background-small.jpg";
|
$background-image-phone-sd: "/img/background-phone-sd.jpg";
|
||||||
|
$background-image-phone-hd: "/img/background-phone.jpg";
|
||||||
|
|
||||||
|
$media-query: calc(#{$max-width} + calc(6 * #{$gutter-width}));
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 93 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
Loading…
Reference in New Issue