mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-13 22:12:44 +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
|
@ -2,18 +2,18 @@
|
|||
.content-meta {
|
||||
display: block;
|
||||
/*color: rgba(155, 155, 155, 1);*/
|
||||
color: rgba(100, 105, 110, 1);
|
||||
// color: rgba(100, 105, 110, 1);
|
||||
font-size: 1.1rem;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.content-meta .author {
|
||||
/*color: rgb(90, 20, 55)*/
|
||||
color: rgba(65, 70, 75, 1);
|
||||
// color: rgba(65, 70, 75, 1);
|
||||
}
|
||||
|
||||
.post-avatar {
|
||||
border-radius: 50px;
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
}
|
||||
}
|
||||
|
|
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