hugo-bearcub/assets/auto-theme.css

191 lines
2.3 KiB
CSS
Raw Permalink Normal View History

:root {
--size: 0.96rem;
--spacing: calc(var(--size) * 2);
}
body {
font-family: "Nunito", "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue",
Helvetica, Arial, sans-serif;
font-size: calc(var(--size) * 1.6);
line-height: 1.45;
padding: 0 2.8rem 2.8rem;
}
header,
main,
footer {
max-width: 66ch;
}
header,
footer {
position: relative;
}
.mesh-wrap {
position: relative;
left: 50%;
width: 100vw;
transform: translateX(-50%);
pointer-events: none;
overflow: hidden;
}
.mesh-image {
display: block;
width: auto;
height: auto;
max-width: none;
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.mesh-wrap-top {
height: 100px;
margin-bottom: 0.6rem;
}
.mesh-image-top {
top: 0;
}
2026-03-02 20:19:00 -05:00
.mesh-image svg {
display: block;
}
.mesh-image {
2026-03-02 20:28:37 -05:00
color: #61ABDA;
2026-03-02 20:19:00 -05:00
}
.footer-copy {
padding-top: 0.5rem;
}
h1,
h2,
h3,
h4 {
font-weight: 600;
}
h1 {
font-size: calc(var(--size) * 3.4);
}
h2 {
font-size: calc(var(--size) * 2.8);
}
.title h1 {
font-size: calc(var(--size) * 2.9);
}
nav a,
a.blog-tags {
margin-right: calc(var(--spacing) / 2.8);
}
a {
text-decoration: none;
}
a:hover,
a:focus-visible {
text-decoration: underline;
}
ul.blog-posts li {
margin-bottom: 0.2rem;
}
li {
margin-block-start: calc(var(--spacing) / 2.8);
}
@media (prefers-color-scheme: light) {
body {
background-color: #ffffff;
color: #1f2328;
}
2026-03-02 20:19:00 -05:00
.mesh-image {
2026-03-02 20:28:37 -05:00
color: #61ABDA;
2026-03-02 20:19:00 -05:00
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
color: #111827;
}
a {
2026-03-02 20:19:00 -05:00
color: #61ABDA;
}
a:visited,
ul.blog-posts li a:visited {
2026-03-02 20:19:00 -05:00
color: #61ABDA;
}
2026-03-02 20:28:37 -05:00
header a,
header a:visited,
footer a,
footer a:visited {
color: inherit;
}
textarea,
input {
background-color: #f6f8fa;
color: #1f2328;
border: 1px solid #d0d7de;
}
table,
th,
td {
border-color: #d0d7de;
}
code {
color: #24292f;
background-color: #f6f8fa;
}
pre code {
background-color: #f6f8fa;
}
blockquote {
border-left-color: #8c959f;
color: #57606a;
}
figcaption > p,
.helptext {
color: #57606a;
}
}
2026-03-02 19:47:14 -05:00
@media (prefers-color-scheme: dark) {
a,
a:visited,
ul.blog-posts li a:visited {
2026-03-02 20:19:00 -05:00
color: #61ABDA;
2026-03-02 19:47:14 -05:00
}
2026-03-02 20:28:37 -05:00
header a,
header a:visited,
footer a,
footer a:visited {
color: inherit;
}
2026-03-02 19:47:14 -05:00
}