forked from mirrors/hugo-tufte
Personal changes, dark theme, less whitespace
This commit is contained in:
parent
23b85481b6
commit
3be1680484
8 changed files with 80 additions and 40 deletions
assets/scss
|
@ -19,8 +19,8 @@
|
|||
}
|
||||
|
||||
::selection {
|
||||
color: #fffff8;
|
||||
background-color: #404040;
|
||||
color: #151515;
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
a.heading-anchor {
|
||||
|
@ -29,7 +29,7 @@ a.heading-anchor {
|
|||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 5.5rem;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
h2:hover > a.heading-anchor,
|
||||
|
@ -46,18 +46,18 @@ hr {
|
|||
width: 75%;
|
||||
max-width: 45rem;
|
||||
border-style: solid none none none;
|
||||
border-color: #111;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
kbd {
|
||||
border: 1px #111 solid;
|
||||
border: 1px #ddd solid;
|
||||
border-radius: 5px;
|
||||
padding-right: 2px;
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
mark {
|
||||
background: #f0d9bb;
|
||||
background: #ddd;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
@ -91,7 +91,7 @@ table:not(.lntable) {
|
|||
}
|
||||
|
||||
table:not(.lntable) tr th {
|
||||
border-bottom: 1px solid #111;
|
||||
border-bottom: 1px solid #ddd;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
|
@ -168,8 +168,27 @@ mjx-container[jax="CHTML"][display="true"],
|
|||
.sidenote code,
|
||||
.marginnote code {
|
||||
font-size: 0.9rem;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-top: -0.5em;
|
||||
margin-bottom: -0.5em;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color:#282a36;
|
||||
border-radius: 5px;
|
||||
display: inline-block;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
pre code {
|
||||
position: absolute;
|
||||
background-color: #282a36;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
/* Styling & fixes for cols. */
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue