|
| 1 | +@use "sass:map"; |
| 2 | + |
1 | 3 | @use "./variables.scss" as *;
|
2 | 4 | @use "./syntax.scss";
|
3 | 5 | @use "./callouts.scss";
|
|
121 | 123 | }
|
122 | 124 |
|
123 | 125 | .page {
|
124 |
| - max-width: calc(#{map-get($breakpoints, desktop)} + 300px); |
| 126 | + max-width: calc(#{map.get($breakpoints, desktop)} + 300px); |
125 | 127 | margin: 0 auto;
|
126 | 128 | & article {
|
127 | 129 | & > h1 {
|
@@ -151,24 +153,25 @@ a {
|
151 | 153 |
|
152 | 154 | & > #quartz-body {
|
153 | 155 | display: grid;
|
154 |
| - grid-template-columns: #{map-get($desktopGrid, templateColumns)}; |
155 |
| - grid-template-rows: #{map-get($desktopGrid, templateRows)}; |
156 |
| - column-gap: #{map-get($desktopGrid, columnGap)}; |
157 |
| - row-gap: #{map-get($desktopGrid, rowGap)}; |
158 |
| - grid-template-areas: #{map-get($desktopGrid, templateAreas)}; |
| 156 | + grid-template-columns: #{map.get($desktopGrid, templateColumns)}; |
| 157 | + grid-template-rows: #{map.get($desktopGrid, templateRows)}; |
| 158 | + column-gap: #{map.get($desktopGrid, columnGap)}; |
| 159 | + row-gap: #{map.get($desktopGrid, rowGap)}; |
| 160 | + grid-template-areas: #{map.get($desktopGrid, templateAreas)}; |
| 161 | + |
159 | 162 | @media all and ($tablet) {
|
160 |
| - grid-template-columns: #{map-get($tabletGrid, templateColumns)}; |
161 |
| - grid-template-rows: #{map-get($tabletGrid, templateRows)}; |
162 |
| - column-gap: #{map-get($tabletGrid, columnGap)}; |
163 |
| - row-gap: #{map-get($tabletGrid, rowGap)}; |
164 |
| - grid-template-areas: #{map-get($tabletGrid, templateAreas)}; |
| 163 | + grid-template-columns: #{map.get($tabletGrid, templateColumns)}; |
| 164 | + grid-template-rows: #{map.get($tabletGrid, templateRows)}; |
| 165 | + column-gap: #{map.get($tabletGrid, columnGap)}; |
| 166 | + row-gap: #{map.get($tabletGrid, rowGap)}; |
| 167 | + grid-template-areas: #{map.get($tabletGrid, templateAreas)}; |
165 | 168 | }
|
166 | 169 | @media all and ($mobile) {
|
167 |
| - grid-template-columns: #{map-get($mobileGrid, templateColumns)}; |
168 |
| - grid-template-rows: #{map-get($mobileGrid, templateRows)}; |
169 |
| - column-gap: #{map-get($mobileGrid, columnGap)}; |
170 |
| - row-gap: #{map-get($mobileGrid, rowGap)}; |
171 |
| - grid-template-areas: #{map-get($mobileGrid, templateAreas)}; |
| 170 | + grid-template-columns: #{map.get($mobileGrid, templateColumns)}; |
| 171 | + grid-template-rows: #{map.get($mobileGrid, templateRows)}; |
| 172 | + column-gap: #{map.get($mobileGrid, columnGap)}; |
| 173 | + row-gap: #{map.get($mobileGrid, rowGap)}; |
| 174 | + grid-template-areas: #{map.get($mobileGrid, templateAreas)}; |
172 | 175 | }
|
173 | 176 |
|
174 | 177 | @media all and not ($desktop) {
|
|
0 commit comments