Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
laurakalbag-dot-com
laurakalbag-dot-com
Commits
533c6d6f
Commit
533c6d6f
authored
Dec 04, 2019
by
Laura Kalbag
⚡
Browse files
Start styling with subgrid. (Currently only supported in Firefox.)
parent
d8dd288a
Changes
2
Hide whitespace changes
Inline
Side-by-side
themes/static-kalbag/static/css/basic.css
View file @
533c6d6f
...
...
@@ -397,12 +397,6 @@ hr {
text-decoration
:
none
;
}
.header-wrap
{
/* centre everything */
margin
:
0
auto
;
max-width
:
51.8em
;
}
/* - - - - - - - - NAVIGATION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
...
...
themes/static-kalbag/static/css/style.css
View file @
533c6d6f
/* - - - - - - - - GRID
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body
{
display
:
grid
;
grid-template-columns
:
[
full-start
]
minmax
(
var
(
--layout-unit
),
1
fr
)
[
margin-1-start
]
minmax
(
0
,
1
fr
)
[
margin-1-end
content-start
]
minmax
(
0
,
5
fr
)
[
content-end
side-column-start
]
minmax
(
0
,
0
)
[
side-column-end
margin-2-start
]
minmax
(
0
,
1
fr
)
[
margin-2-end
]
minmax
(
var
(
--layout-unit
),
1
fr
)
[
full-end
];
}
header
{
grid-row
:
1
;
grid-column
:
full-start
/
full-end
;
}
main
{
grid-row
:
2
;
grid-column
:
full-start
/
full-end
;
}
footer
{
grid-row
:
3
;
grid-column
:
full-start
/
full-end
;
}
.footer-wrap
{
display
:
grid
;
grid-template-columns
:
subgrid
;
grid-column
:
content-start
/
content-end
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment