Files
hwilliams-dev/styles/markdown-container.css
2026-06-10 01:14:00 -04:00

88 lines
1.4 KiB
CSS

.markdown-container{
p {
margin-bottom: 0.5em;
font-family: var(--sans);
font-size: 16;
line-height: 1.7;
color: var(--fg-secondary);
margin: 0 0 40px 0;
max-width: 560;
}
h1, h2, h3 {
font-family: var(--mono);
font-weight: 700;
color: var(--fg);
letter-spacing: -0.02em;
}
h1 {
margin-bottom: 1em;
margin-top: 0.5em;
}
h2 {
margin-bottom: 0.5em;
margin-top: 0.5em;
}
img {
margin: 0 0 40px 0;
}
blockquote {
width: 100%;
text-align: center;
font-family: var(--sans);
font-size: 12;
color: var(--muted);
}
ul {
font-family: var(--sans);
list-style: inside;
margin: 0 0 40px 0;
}
ul ul {
padding-left: 1em;
margin-bottom: 0;
color: var(--muted);
}
ul > li {
font-size: 14;
margin: 0 5px 5px 0;
}
ul ul > li {
font-size: 12;
margin: 0 5px 5px 0;
}
pre {
font-family: var(--mono);
margin-bottom: 0.1em;
}
img {
max-width: 80vw;
}
video {
max-width: 90vw;
}
}
@media (max-width: 768px) {
.markdown-container {
div:last-of-type {
margin-bottom: 4em !important;
}
}
}