mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-22 17:42:43 +02:00
adjust meta styles; add tufte-css.md
This commit is contained in:
parent
20e13a5e63
commit
2587e4bb28
6 changed files with 235 additions and 10 deletions
assets/scss/vendor
10
assets/scss/vendor/tufte.scss
vendored
10
assets/scss/vendor/tufte.scss
vendored
|
@ -96,6 +96,13 @@ h3 {
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
p.author, p.date {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 400;
|
||||
margin: 1rem auto 1rem 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
p.subtitle {
|
||||
font-style: italic;
|
||||
margin-top: 1rem;
|
||||
|
@ -135,6 +142,7 @@ p {
|
|||
margin-bottom: 1.4rem;
|
||||
padding-right: 0;
|
||||
vertical-align: baseline;
|
||||
hyphens: auto;
|
||||
}
|
||||
|
||||
/* Chapter Epigraphs */
|
||||
|
@ -332,7 +340,7 @@ code,
|
|||
kbd {
|
||||
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.6;
|
||||
line-height: 1.42;
|
||||
}
|
||||
|
||||
h1 .code,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue