mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
48 lines
749 B
SCSS
48 lines
749 B
SCSS
|
|
// Make figures looks nice
|
|
figure {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
figure img {
|
|
max-width: 900px;
|
|
width: 100%;
|
|
margin-bottom: 2em;
|
|
}
|
|
figcaption {
|
|
aria-hidden: true;
|
|
max-width: 700px;
|
|
}
|
|
|
|
// For the table of contents, should probably put this in a container
|
|
|
|
// remove underline from toc links
|
|
nav a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
// modify the spacing of the various levels
|
|
li {
|
|
margin-bottom: 0.2em;
|
|
}
|
|
|
|
main > ul > li {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
main > ul > ul > li {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
// Mess with the formatting of the citations
|
|
div.csl-entry {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
// div.csl-entry a {
|
|
// text-decoration: none;
|
|
// }
|
|
|
|
div.csl-entry div {
|
|
display: inline;
|
|
} |