mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-11 21:32:44 +02:00
refine figure
This commit is contained in:
parent
bb73762987
commit
3cda34976f
5 changed files with 52 additions and 41 deletions
assets/scss
|
@ -29,6 +29,8 @@ $ht-code-border-radius: .4em;
|
|||
|
||||
&::before{
|
||||
content: "> ";
|
||||
// font-family: "Noto Emoji";
|
||||
font-family: inherit;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #111;
|
||||
|
@ -65,7 +67,7 @@ $ht-code-border-radius: .4em;
|
|||
|
||||
|
||||
@media screen and (max-width: 760px) {
|
||||
.highlight .chroma {
|
||||
.highlight {
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
|
|
5
assets/scss/vendor/tufte.scss
vendored
5
assets/scss/vendor/tufte.scss
vendored
|
@ -310,13 +310,12 @@ div.table-wrapper {
|
|||
}
|
||||
|
||||
@media screen and (max-width: 760px) {
|
||||
h2,
|
||||
h3,
|
||||
p,
|
||||
footer {
|
||||
width: 90%;
|
||||
}
|
||||
pre.code {
|
||||
width: 87.5%;
|
||||
}
|
||||
ul {
|
||||
width: 85%;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue