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

87 lines
1.5 KiB
CSS

.markdown h1 {
font-size: 2.25rem;
line-height: 2.5rem;
margin-bottom: 1rem;
margin-top: 2rem;
font-family: var(--font-display);
opacity: 0.9;
font-weight: 700;
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: var(--font-display);
opacity: 0.9;
font-weight: 600;
color: var(--c-text-2);
}
.markdown h2::before {
content: "#";
display: block;
height: 0;
position: relative;
right: 1.5rem;
opacity: 0.2;
}
.markdown h3 {
font-size: 1.35rem;
line-height: 1.75rem;
margin-bottom: 1rem;
margin-top: 1.75rem;
font-family: var(--font-display);
opacity: 0.9;
font-weight: 400;
color: var(--c-text-2);
}
.markdown h3::before {
content: "##";
display: block;
height: 0;
position: relative;
right: 2.25rem;
opacity: 0.2;
}
.markdown ul {
list-style-type: disc;
list-style-position: inside;
}
.markdown ul li {
padding: 0.5rem 0;
}
.markdown > p > code {
border: solid 1px var(--c-border-1);
}
.markdown > pre {
margin: 0.5em 0;
padding: 0.75em 0.75em;
color: var(--code-theme-color);
background: var(--code-theme-bg-color);
}
.markdown > p > a {
color: var(--c-link);
text-decoration: underline;
}
.markdown blockquote {
color: red;
}
.two-column a {
color: #2563eb;
text-decoration: underline;
}