Commit 456bbc5
committed
index: give the hero the whole first screen
Out of flow it cleared the header by hand and `.main-content` reserved
its space, so the logo sat under the header and off-centre, the text
could run into the next section on short viewports, and the section
stopped short of filling the screen on phones.
Back in flow the layout clears the header and reserves the hero's space
on its own; sizing it to the screen below the header does the rest. The
fixed inline insets go too, so the hero follows the content column.1 parent 4c8e12e commit 456bbc5
1 file changed
Lines changed: 3 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | 129 | | |
140 | 130 | | |
141 | 131 | | |
| |||
162 | 152 | | |
163 | 153 | | |
164 | 154 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 155 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
177 | 159 | | |
178 | 160 | | |
179 | 161 | | |
180 | 162 | | |
181 | 163 | | |
182 | 164 | | |
183 | 165 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 166 | | |
0 commit comments