Style updates

This commit is contained in:
Patrick Neff 2019-01-08 02:33:07 +01:00
parent d9b9c7615e
commit d64002efbf
8 changed files with 20 additions and 14 deletions

View File

@ -20,7 +20,7 @@
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 {
top: 155px;
}

View File

@ -16,11 +16,11 @@ body {
background-position: center;
background-attachment: fixed;
background-size: cover;
background-image: url(#{$background-image-phone});
background-image: url(#{$background-image-phone-sd});
color: $font-color;
}
@media only screen and (orientation: portrait) {
@media only screen and (min-width: 800px) and (orientation: portrait) {
body {
background-image: url(#{$background-image-phone});
}
@ -28,7 +28,7 @@ body {
@media only screen and (min-width: 600px) and (orientation: landscape) {
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 {
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 {
width: calc(#{$max-width} + calc(2 * #{$gutter-width}));
}

View File

@ -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 {
img {
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 {
img {
max-height: 100px;
@ -77,7 +77,7 @@
max-width: 40px;
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;
}
@ -174,7 +174,7 @@
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;
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] {
display: none;

View File

@ -30,7 +30,7 @@
overflow: none;
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-bottom: -$gutter-width;
margin-left: 67%;

View File

@ -16,6 +16,9 @@ $border-radius: 5px;
$fa-font-path: "/fonts";
$background-image: "/img/background.jpg";
$background-image-phone: "/img/background-phone.jpg";
$background-image-small: "/img/background-small.jpg";
$background-image-sd: "/img/background-sd.jpg";
$background-image-hd: "/img/background.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

View File

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 160 KiB