mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 22:09:44 +01:00
adjust footnotes & footer style
This commit is contained in:
parent
6a57aac1e4
commit
20e13a5e63
2 changed files with 27 additions and 11 deletions
|
@ -23,6 +23,10 @@ a.heading-anchor {
|
||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
margin-top: 5.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
h2:hover > a.heading-anchor,
|
h2:hover > a.heading-anchor,
|
||||||
h3:hover > a.heading-anchor {
|
h3:hover > a.heading-anchor {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
@ -98,13 +102,26 @@ table.lntable {
|
||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
/* Styling for footnotes. */
|
/* Styling for footnotes. */
|
||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
|
.footnotes hr {
|
||||||
|
margin-top: 4.4em;
|
||||||
|
}
|
||||||
|
|
||||||
.footnotes ol {
|
.footnotes ol {
|
||||||
width: 55%;
|
width: 55%;
|
||||||
}
|
margin-top: 4.4rem;
|
||||||
.footnotes ol li p {
|
|
||||||
width: 100%;
|
li {
|
||||||
margin: 0;
|
p {
|
||||||
padding: 0;
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
a.footnote-backref {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
|
@ -118,10 +135,10 @@ table.lntable {
|
||||||
|
|
||||||
mjx-container[jax="CHTML"][display="true"],
|
mjx-container[jax="CHTML"][display="true"],
|
||||||
.katex-display {
|
.katex-display {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
/* -ms-overflow-style: none;
|
/* -ms-overflow-style: none;
|
||||||
scrollbar-width: none; */
|
scrollbar-width: none; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/* Footer, but with a different name to avoid conflicts with tufte.css */
|
/* Footer, but with a different name to avoid conflicts with tufte.css */
|
||||||
footer.page-footer{
|
footer.page-footer{
|
||||||
padding-top: 1em;
|
margin-top: 1.4rem;
|
||||||
margin-top: 3em;
|
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
max-width: 45rem;
|
max-width: 45rem;
|
||||||
|
|
Loading…
Reference in a new issue