|
6 | 6 | max-width: 1680px; |
7 | 7 | margin-left: auto; |
8 | 8 | margin-right: auto; |
| 9 | + background-color: var(--banner-background-color); |
| 10 | + background-image: var(--banner-background-path-mobile); |
| 11 | + background-size: cover; |
| 12 | + background-repeat: no-repeat; |
| 13 | + background-position: center top; |
| 14 | + transition: background-color 150ms $ease; |
| 15 | + |
| 16 | + @include retina() { |
| 17 | + background-image: var(--banner-background-path-mobile-retina); |
| 18 | + } |
9 | 19 |
|
10 | 20 | .home-banner-copy-wrapper { |
11 | 21 | background-color: var(--copy-background-color); |
|
78 | 88 | .home-banner-image { |
79 | 89 | width: 100%; |
80 | 90 | padding-bottom: 100%; |
81 | | - background-color: var(--background-image-color); |
82 | | - background-image: var(--background-image-path-mobile); |
| 91 | + background-color: var(--banner-image-color); |
| 92 | + background-image: var(--banner-image-path-mobile); |
83 | 93 | background-size: cover; |
84 | 94 | background-repeat: no-repeat; |
85 | 95 | background-position: center center; |
86 | 96 | transition: background-color 150ms $ease; |
87 | 97 |
|
88 | 98 | @include retina() { |
89 | | - background-image: var(--background-image-path-mobile-retina); |
| 99 | + background-image: var(--banner-image-path-mobile-retina); |
90 | 100 | } |
91 | 101 | } |
92 | 102 |
|
|
112 | 122 | display: flex; |
113 | 123 | flex-direction: row; |
114 | 124 | align-items: stretch; |
| 125 | + background-image: var(--banner-background-path); |
| 126 | + background-position: center center; |
| 127 | + |
| 128 | + @include retina() { |
| 129 | + background-image: var(--banner-background-path-retina); |
| 130 | + } |
115 | 131 |
|
116 | 132 | .home-banner-image { |
117 | | - background-image: var(--background-image-path); |
| 133 | + background-image: var(--banner-image-path); |
118 | 134 |
|
119 | 135 | @include retina() { |
120 | | - background-image: var(--background-image-path-retina); |
| 136 | + background-image: var(--banner-image-path-retina); |
121 | 137 | } |
122 | 138 | } |
123 | 139 |
|
|
0 commit comments