abdullahtarawneh.com/assets/scss/base/page.scss

83 lines
1.5 KiB
SCSS
Raw Normal View History

2020-10-17 02:41:13 +00:00
.page-title {font-size: 2.5em;}
2020-10-16 20:00:32 +00:00
.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;
}
2020-10-17 02:41:13 +00:00
.page-summary {margin: 1em 0;}
.page-cover {width: 100%;}
h1,h2,h3,h4,h5,h6 {line-height: 1.2; margin-bottom: 1rem;}
p {
line-height: 1.4;
margin-bottom: 1em;
}
h1 {font-size: 2.49em}
h2 {font-size: 2.07em}
h3 {font-size: 1.728em}
h4 {font-size: 1.44em}
h5 {font-size: 1.2em}
h6 {font-size: 1em}
blockquote {
font-size: 1.5em;
@media (min-width: 600px) {font-size: 2em}
margin: 1em 0;
font-family: serif;
border-left: 0.25rem solid black;
padding-left: 0.5em;
}
pre {
font-family: monospace;
background: #333;
color: white;
padding: 1em;
line-height: 1.4;
overflow-x: scroll;
margin-bottom: 1em;
}
ul {list-style: disc; margin: 1em 0;}
li {margin-bottom: 1em; line-height: 1.4; margin-left: 1em;}
ol {list-style: number; margin: 1em 0;}
2020-10-16 20:00:32 +00:00
}
.tags {
display: flex;
flex-flow: row wrap;
gap: 0.25em;
li {
list-style: disc;
border-radius: 4px;
margin-left: 1em;
2020-10-17 02:41:13 +00:00
margin-bottom: 0;
2020-10-16 20:00:32 +00:00
a {color: inherit;}
}
2020-10-17 02:41:13 +00:00
}
#TableOfContents {
list-style: none;
margin: 2em 0;
li {margin-bottom: 0; margin-left: 1em;}
a {color: inherit;}
2020-10-16 20:00:32 +00:00
}