stop 404 scrolling

This commit is contained in:
Lisa Passing 2015-04-23 17:42:56 +02:00
parent 53c8feaa97
commit db571219b1
2 changed files with 14 additions and 1 deletions

View File

@ -27,12 +27,14 @@
overflow: hidden
background-repeat: no-repeat
.main--error
min-height: 100%
.error-text,
.maintenance-text
position: absolute
top: 6%
left: 0
right: 0
z-index: 10
@ -93,6 +95,13 @@
@include error-position-img(auto 40vh, 42% 91.3%)
.error404
.top
position: absolute
top: 0
width: 100%
z-index: 99
.error-bg
@include error-bg-gradient($error-hill-grey)
.hill-left
@ -113,7 +122,7 @@
@include error-position-img(auto 25vh, 71% 83%)
.error-travis
background-image: url(../images/error/pensive-travis.svg)
@include error-position-img(auto 60vh, 34% 92%)
@include error-position-img(auto 60vh, 34% 100%)
@media #{$medium-up}
background-size: auto 50vh
@media #{$large-up}

View File

@ -12,6 +12,7 @@ $top-height: 55px
text-align: right
padding-right: 1rem
background-color: #fff
display: none
p
position: relative
@ -28,6 +29,9 @@ $top-height: 55px
width: 20px
height: 12px
@media #{$medium-up}
display: block
.centered .cta
padding-right: 0