change font-sans for blockquote + add counters.js
This commit is contained in:
parent
abbd549428
commit
32e02d956a
15 changed files with 161 additions and 192 deletions
|
|
@ -37,9 +37,9 @@ ol[type="1"]{
|
|||
left: calc(var(--indent)*-3);
|
||||
&::before{
|
||||
content: attr(start);
|
||||
font-family: var(--font-sans);
|
||||
font-family: var(--font-sans-txt);
|
||||
// font-weight: 200;
|
||||
font-size: 0.6rem;
|
||||
font-size: 9px;
|
||||
color: #999;
|
||||
display: block;
|
||||
padding: 0px 2px;
|
||||
|
|
@ -72,37 +72,43 @@ blockquote{
|
|||
padding-left: var(--indent);
|
||||
margin-top: calc(var(--baseline)*1);
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
|
||||
font-family: var(--font-sans-txt);
|
||||
font-size: 10px;
|
||||
line-height: calc(var(--baseline)*0.9);
|
||||
|
||||
.inline-note::after{
|
||||
font-family: var(--font);
|
||||
line-height: 0;
|
||||
font-size: var(--font-size)!important;
|
||||
}
|
||||
|
||||
p{
|
||||
font-style: italic;
|
||||
em{
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
// p{
|
||||
// font-style: italic;
|
||||
// em{
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
u{
|
||||
font-variant: small-caps;
|
||||
text-decoration: none;
|
||||
}
|
||||
// u{
|
||||
// font-variant: small-caps;
|
||||
// text-decoration: none;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
blockquote + ol + p{ text-indent: 0px; }
|
||||
.these + ol + p,
|
||||
blockquote + ol + p{
|
||||
text-indent: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.these{
|
||||
&::before{
|
||||
content: "---"
|
||||
}
|
||||
&::after{
|
||||
content: "---";
|
||||
}
|
||||
&::before, &::after{
|
||||
display: flex;
|
||||
// width: 3ch;
|
||||
justify-content: center;
|
||||
}
|
||||
// color: red;
|
||||
|
||||
margin-bottom: var(--baseline);
|
||||
padding-left: var(--indent);
|
||||
border-left: 4px solid #efefef;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue