Commit 561c57b7 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Remove grid experimentation

parent 49d4d3da
......@@ -352,67 +352,15 @@ hr {
/* - - - - - - - - Header */
header {
display: grid;
grid-auto-rows: auto;
/* on narrow views, collapse padding on left and right */
grid-template-columns: 0 minmax(10em, 40em) 0;
}
@media screen and (min-width: 35em) {
header {
grid-template-columns: auto minmax(10em, 40em) auto;
}
}
.site-title {
grid-column: 2 / span 1;
}
nav {
grid-column: 2 / span 1;
}
main {
display: grid;
grid-auto-rows: auto;
grid-template-columns: auto minmax(10em, 40em) auto;
}
article {
grid-column: 2 / span 1;
}
.entry-content {
display: grid;
grid-auto-rows: auto;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
.entry-content h1, .entry-content h2 {
grid-column: 1 / span 6;
}
.entry-content p, .entry-content ul, .entry-content ol, .entry-content blockquote, .entry-content h3, .entry-content h4, .entry-content h5 {
grid-column: 1 / span 5;
}
.entry-content figure {
grid-column: 1 / span 6;
}
footer {
display: grid;
grid-auto-rows: auto;
grid-template-columns: auto minmax(10em, 40em) auto;
}
footer h2 {
grid-column: 2 / span 1;
}
footer {
footer p {
grid-column: 2 / span 1;
}
}
/* - - - - - - - - CLASSES AND IDs
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
......@@ -484,7 +432,7 @@ figcaption, .site-footer p, .site-footer small, .note {
padding: 0.5em 0;
}
.site-footer p, .site-footer small, .note, figcaption p {
.site-footer p, .note, figcaption p {
margin-right: var(--layout-unit);
margin-left: var(--layout-unit);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment