stop 404 scrolling
This commit is contained in:
parent
53c8feaa97
commit
db571219b1
|
@ -27,12 +27,14 @@
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
background-repeat: no-repeat
|
background-repeat: no-repeat
|
||||||
|
|
||||||
|
|
||||||
.main--error
|
.main--error
|
||||||
min-height: 100%
|
min-height: 100%
|
||||||
|
|
||||||
.error-text,
|
.error-text,
|
||||||
.maintenance-text
|
.maintenance-text
|
||||||
position: absolute
|
position: absolute
|
||||||
|
top: 6%
|
||||||
left: 0
|
left: 0
|
||||||
right: 0
|
right: 0
|
||||||
z-index: 10
|
z-index: 10
|
||||||
|
@ -93,6 +95,13 @@
|
||||||
@include error-position-img(auto 40vh, 42% 91.3%)
|
@include error-position-img(auto 40vh, 42% 91.3%)
|
||||||
|
|
||||||
.error404
|
.error404
|
||||||
|
|
||||||
|
.top
|
||||||
|
position: absolute
|
||||||
|
top: 0
|
||||||
|
width: 100%
|
||||||
|
z-index: 99
|
||||||
|
|
||||||
.error-bg
|
.error-bg
|
||||||
@include error-bg-gradient($error-hill-grey)
|
@include error-bg-gradient($error-hill-grey)
|
||||||
.hill-left
|
.hill-left
|
||||||
|
@ -113,7 +122,7 @@
|
||||||
@include error-position-img(auto 25vh, 71% 83%)
|
@include error-position-img(auto 25vh, 71% 83%)
|
||||||
.error-travis
|
.error-travis
|
||||||
background-image: url(../images/error/pensive-travis.svg)
|
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}
|
@media #{$medium-up}
|
||||||
background-size: auto 50vh
|
background-size: auto 50vh
|
||||||
@media #{$large-up}
|
@media #{$large-up}
|
||||||
|
|
|
@ -12,6 +12,7 @@ $top-height: 55px
|
||||||
text-align: right
|
text-align: right
|
||||||
padding-right: 1rem
|
padding-right: 1rem
|
||||||
background-color: #fff
|
background-color: #fff
|
||||||
|
display: none
|
||||||
|
|
||||||
p
|
p
|
||||||
position: relative
|
position: relative
|
||||||
|
@ -28,6 +29,9 @@ $top-height: 55px
|
||||||
width: 20px
|
width: 20px
|
||||||
height: 12px
|
height: 12px
|
||||||
|
|
||||||
|
@media #{$medium-up}
|
||||||
|
display: block
|
||||||
|
|
||||||
.centered .cta
|
.centered .cta
|
||||||
padding-right: 0
|
padding-right: 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user