mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-06 21:14:06 -04:00
251 lines
No EOL
3.5 KiB
SCSS
251 lines
No EOL
3.5 KiB
SCSS
@use "theme.scss";
|
|
@use "header.scss";
|
|
@use "footer.scss";
|
|
@use "blog.scss";
|
|
@use "fonts.scss";
|
|
@use "lightbox.scss";
|
|
@use "gallery.scss";
|
|
|
|
.z-code{
|
|
overflow-x: auto;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg-0);
|
|
color: var(--fg-1);
|
|
|
|
font-size: 16px;
|
|
line-height: 1.6em;
|
|
letter-spacing: .5px;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--text-highlight);
|
|
color: var(--fg-0);
|
|
}
|
|
|
|
.content {
|
|
margin-bottom: 4em;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: min(800px, 100%);
|
|
padding: 0 0.5em;
|
|
}
|
|
|
|
@media screen and (min-width: 978px) {
|
|
.content {
|
|
margin-left: 4rem;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: var(--fg-0);
|
|
font-weight: bold;
|
|
|
|
text-decoration: underline;
|
|
text-decoration-thickness: 0.30ex;
|
|
text-decoration-color: var(--grey-light);
|
|
|
|
&:hover {
|
|
text-decoration-color: var(--primary);
|
|
}
|
|
|
|
&:has(img),
|
|
&:has(video) {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
img,video {
|
|
background-color: var(--grey-dark);
|
|
}
|
|
|
|
.badge-88x31 {
|
|
width: 176px;
|
|
height: 62px;
|
|
image-rendering: auto;
|
|
image-rendering: crisp-edges;
|
|
image-rendering: pixelated;
|
|
image-rendering: -webkit-optimize-contrast;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: var(--fg-0);
|
|
font-weight: bold;
|
|
margin-top: 2em;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
code:not([data-lang]) {
|
|
background: var(--grey-dark);
|
|
border-radius: 3px;
|
|
padding: .15rem .3rem;
|
|
}
|
|
|
|
time {
|
|
padding-bottom: 1em;
|
|
color: var(--fg-2);
|
|
}
|
|
|
|
|
|
figure {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
figure {
|
|
margin: 2rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
figure > * {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
@media screen and (min-width: 700px) {
|
|
figure > * {
|
|
max-width: 80%;
|
|
height: auto;
|
|
border-radius: 6px;
|
|
}
|
|
}
|
|
|
|
figure figcaption {
|
|
max-width: 80%;
|
|
margin-top: 0.5rem;
|
|
font-size: 0.9rem;
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
margin: 2rem 0;
|
|
border-collapse: collapse;
|
|
display: block;
|
|
overflow-x: auto;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 0.2rem 0.5rem;
|
|
border: 1px solid var(--grey-light);
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
th {
|
|
color: var(--fg-0);
|
|
background: var(--grey-dark);
|
|
}
|
|
|
|
|
|
.markdown-alert-note {
|
|
border-left: solid 3px var(--blue);
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
|
|
::before{
|
|
content: "Note";
|
|
display: block;
|
|
font-weight: bold;
|
|
color: var(--blue);
|
|
}
|
|
}
|
|
|
|
.markdown-alert-note {
|
|
border-left: solid 3px var(--blue);
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
|
|
::before{
|
|
content: "Note";
|
|
display: block;
|
|
font-weight: bold;
|
|
color: var(--blue);
|
|
}
|
|
}
|
|
|
|
.markdown-alert-tip {
|
|
border-left: solid 3px var(--green);
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
|
|
::before{
|
|
content: "Tip";
|
|
display: block;
|
|
font-weight: bold;
|
|
color: var(--green);
|
|
}
|
|
}
|
|
|
|
.markdown-alert-important {
|
|
border-left: solid 3px var(--purple);
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
|
|
::before{
|
|
content: "Important";
|
|
display: block;
|
|
font-weight: bold;
|
|
color: var(--purple);
|
|
}
|
|
}
|
|
|
|
.markdown-alert-warning {
|
|
border-left: solid 3px var(--yellow);
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
|
|
::before{
|
|
content: "Warning";
|
|
display: block;
|
|
font-weight: bold;
|
|
color: var(--yellow);
|
|
}
|
|
}
|
|
|
|
.markdown-alert-caution {
|
|
border-left: solid 3px var(--red);
|
|
padding-left: 20px;
|
|
margin-left: 10px;
|
|
|
|
::before{
|
|
content: "Caution";
|
|
display: block;
|
|
font-weight: bold;
|
|
color: var(--red);
|
|
}
|
|
} |