Shorthand write grid-column when starting from 1
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
grid-column: 1 / span var(--columns);
|
grid-column: span var(--columns);
|
||||||
grid-template-columns: 1fr 40%;
|
grid-template-columns: 1fr 40%;
|
||||||
grid-column-gap: 48px;
|
grid-column-gap: 48px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.site-title {
|
.site-title {
|
||||||
grid-column: 1 / span var(--columns);
|
grid-column: span var(--columns);
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__links {
|
&__links {
|
||||||
grid-column: 1 / span var(--columns);
|
grid-column: span var(--columns);
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__ctf {
|
&__ctf {
|
||||||
grid-column: 1 / span var(--columns);
|
grid-column: span var(--columns);
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
grid-column: 1 / span 8;
|
grid-column: span 8;
|
||||||
font-size: rem(28px);
|
font-size: rem(28px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
// Modules
|
// Modules
|
||||||
.grid-modules {
|
.grid-modules {
|
||||||
grid-column: 1 / span var(--columns);
|
grid-column: span var(--columns);
|
||||||
margin: 96px 20px 0;
|
margin: 96px 20px 0;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user