132 lines
2.0 KiB
SCSS
132 lines
2.0 KiB
SCSS
.primary-color {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.draft-label {
|
|
color: var(--hover-color);
|
|
text-decoration: none;
|
|
padding: 2px 4px;
|
|
border-radius: 4px;
|
|
margin-left: 6px;
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
::-moz-selection {
|
|
background: var(--primary-color);
|
|
color: var(--hover-color);
|
|
text-shadow: none;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--primary-color);
|
|
color: var(--hover-color);
|
|
}
|
|
|
|
p {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
hr {
|
|
border: 0;
|
|
border-top: 3px solid var(--border-color);
|
|
margin: 1em 0;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 3px solid var(--primary-color);
|
|
color: #737373;
|
|
margin: 0;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
a {
|
|
border-bottom: 3px solid var(--primary-color);
|
|
color: inherit;
|
|
text-decoration: none;
|
|
|
|
// Make sure the underline is at the top
|
|
position: relative; // needed for z-index
|
|
z-index: 1;
|
|
}
|
|
|
|
a.zola-anchor {
|
|
border-bottom: none;
|
|
}
|
|
|
|
a:hover {
|
|
background-color: var(--primary-color);
|
|
color: var(--hover-color);
|
|
}
|
|
|
|
time {
|
|
color: grey;
|
|
}
|
|
|
|
/* Remove post list padding */
|
|
.list>ul {
|
|
margin: 0;
|
|
padding: 1rem 0 0 0;
|
|
}
|
|
|
|
/* Post list */
|
|
.list-item {
|
|
margin-bottom: 30px;
|
|
list-style-type: none;
|
|
}
|
|
|
|
// change the line-through color
|
|
del {
|
|
text-decoration-color: var(--primary-color);
|
|
text-decoration-thickness: 3px;
|
|
}
|
|
|
|
@media all and (max-width: 640px) {
|
|
.post-header {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
// font-size: 130%;
|
|
|
|
a {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Post list */
|
|
@media all and (min-width: 640px) {
|
|
.post-header {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-row-gap: 1.5rem;
|
|
grid-template-columns: auto 1fr;
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 130%;
|
|
|
|
a {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Remove styling from theme toggle button */
|
|
#dark-mode-toggle {
|
|
border-bottom: none;
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
}
|
|
}
|
|
|
|
.MathJax_Display,
|
|
.MJXc-display,
|
|
.MathJax_SVG_Display {
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
} |