File tree Expand file tree Collapse file tree 1 file changed +37
-2
lines changed
client/stylesheets/structures Expand file tree Collapse file tree 1 file changed +37
-2
lines changed Original file line number Diff line number Diff line change 9
9
//
10
10
// .errorHero
11
11
// .errorHero-img
12
+ // .errorHero-img-boat
13
+ // .errorHero-img-ocean
12
14
//
13
15
// *************************************
14
16
31
33
// ----- Image ----- //
32
34
33
35
.errorHero-img
36
+ $errorHero-img-width : 90vw
34
37
bottom : 0
35
38
height : calc(100vh - #{$site-header-height-l } - #{$site-footer-height })
36
- left : 4 vw / / FIXME: Magic number!
39
+ left : ( 100 - $ errorHero-img-width ) / 2
37
40
max-width : none
38
41
position : absolute
39
- width : 90vw
42
+ width : $errorHero-img-width
43
+
44
+ @media screen and (min-aspect-ratio : 3 / 2 )
45
+ $errorHero-img-width-l : 70vw
46
+ left : (100 - $errorHero-img-width-l ) / 2
47
+ width : $errorHero-img-width-l
48
+
49
+ // Scaffolding
50
+
51
+ // Scaffolding: Boat
52
+
53
+ .errorHero-img-boat
54
+ animation : errorHero- img- boat 1.25s ease-in-out infinite alternate
55
+ transform-origin : center
56
+
57
+ // Scaffolding: Ocean
58
+
59
+ .errorHero-img-ocean
60
+ animation : slideLeft1of6 2.5s linear infinite
61
+
62
+ // ------------------------------------
63
+ // Animations
64
+ // ------------------------------------
65
+
66
+ // ----- Image ----- //
67
+
68
+ // Boat
69
+
70
+ @-webkit-keyframes errorHero-img-boat
71
+ from
72
+ transform : translateY(- $errorHero-bob-offset ) rotate(-2deg )
73
+ to
74
+ transform : translateY($errorHero-bob-offset ) rotate(1deg )
You can’t perform that action at this time.
0 commit comments