mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
feat(11ty): apply styles to markdown output
This commit is contained in:
@ -185,10 +185,45 @@ p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
& > p:first-of-type,
|
||||
&__definition {
|
||||
font-family: $sans-serif;
|
||||
font-size: 1.5rem;
|
||||
&__content {
|
||||
align-items: stretch;
|
||||
|
||||
@supports (display: grid) {
|
||||
// align-items: flex-start;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 4fr;
|
||||
grid-gap: 1rem;
|
||||
|
||||
& > * {
|
||||
margin: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& > p {
|
||||
grid-column: 1 / -1;
|
||||
font-family: $sans-serif;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
& h4 {
|
||||
grid-column: 1;
|
||||
font-family: $con-sans;
|
||||
font-size: 0.85rem;
|
||||
flex: 0 1 auto;
|
||||
text-transform: uppercase;
|
||||
|
||||
@supports (display: grid) {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
& h4 ~ p,
|
||||
& h4 ~ ul {
|
||||
border-left: 0.1rem solid lightgrey;
|
||||
padding-left: 1rem;
|
||||
grid-column: 2;
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
&__speech {
|
||||
|
Reference in New Issue
Block a user