abdullahtarawneh.com/assets/scss/base/page.scss
2020-10-16 15:00:32 -05:00

43 lines
678 B
SCSS

.page-title {
font-size: 1.5em;
@media (min-width: 600px) {font-size: 2em;}
}
.page {
font-size: 1em;
@media (min-width: 600px) {font-size: 1.25em;}
max-width: 960px;
margin: 0 auto;
@media (min-width: 960px) {
display: grid;
grid-template-columns: minmax(45ch,65ch) 1fr;
grid-template-rows: auto auto;
grid-template-areas:
"header ."
"content meta";
}
.section {
padding: 1em 0;
grid-area: content;
}
.page-header {
padding: 2em 0;
grid-area: header;
}
.meta {
grid-area: meta;
}
}
.tags {
display: flex;
flex-flow: row wrap;
gap: 0.25em;
li {
list-style: disc;
border-radius: 4px;
margin-left: 1em;
a {color: inherit;}
}
}