thp-lang.org/public/css/pages.css

51 lines
1.0 KiB
CSS

.markdown h1 {
font-size: 2.25rem;
line-height: 2.5rem;
margin-bottom: 1rem;
margin-top: 2rem;
font-family: Inter, sans-serif;
opacity: 0.9;
font-weight: 900;
color: var(--c-text-2);
}
.markdown h2 {
/* use these tailwind classes: text-2xl mt-10 mb-4 font-display opacity-90 font-bold text-c-text-2 */
font-size: 1.5rem;
line-height: 2rem;
margin-bottom: 1rem;
margin-top: 2.5rem;
font-family: Inter, sans-serif;
opacity: 0.9;
font-weight: 700;
color: var(--c-text-2);
}
.markdown h3 {
font-size: 1.35rem;
line-height: 1.75rem;
margin-bottom: 1rem;
margin-top: 1.75rem;
font-family: Inter, sans-serif;
opacity: 0.9;
font-weight: 600;
color: var(--c-text-2);
}
.markdown ul {
list-style-type: disc;
list-style-position: inside;
}
.markdown ul li {
padding: 0.5rem 0;
}
.markdown pre {
margin: 0.5em 0;
padding: 0.75em 0.75em;
color: var(--code-theme-color);
background: var(--code-theme-bg-color);
}