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

83 lines
1.5 KiB
CSS
Raw Normal View History

2024-04-23 15:16:51 +00:00
.markdown h1 {
font-size: 2.25rem;
line-height: 2.5rem;
margin-bottom: 1rem;
margin-top: 2rem;
font-family: var(--font-display);
2024-04-23 15:16:51 +00:00
opacity: 0.9;
2024-07-13 22:27:07 +00:00
font-weight: 700;
2024-04-23 15:16:51 +00:00
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);
2024-04-23 15:16:51 +00:00
opacity: 0.9;
2024-07-13 22:27:07 +00:00
font-weight: 600;
2024-04-23 15:16:51 +00:00
color: var(--c-text-2);
}
2024-07-13 22:27:07 +00:00
.markdown h2::before {
content: "#";
display: block;
height: 0;
position: relative;
right: 1.5rem;
opacity: 0.2;
}
2024-04-29 03:05:04 +00:00
.markdown h3 {
font-size: 1.35rem;
line-height: 1.75rem;
margin-bottom: 1rem;
margin-top: 1.75rem;
font-family: var(--font-display);
2024-04-29 03:05:04 +00:00
opacity: 0.9;
2024-07-13 22:27:07 +00:00
font-weight: 400;
2024-04-29 03:05:04 +00:00
color: var(--c-text-2);
}
2024-07-13 22:27:07 +00:00
.markdown h3::before {
content: "##";
display: block;
height: 0;
position: relative;
right: 2.25rem;
opacity: 0.2;
2024-07-13 22:27:07 +00:00
}
2024-04-23 15:16:51 +00:00
.markdown ul {
list-style-type: disc;
list-style-position: inside;
}
.markdown ul li {
padding: 0.5rem 0;
}
2024-05-20 04:06:08 +00:00
.markdown > pre {
2024-04-23 15:16:51 +00:00
margin: 0.5em 0;
padding: 0.75em 0.75em;
color: var(--code-theme-color);
background: var(--code-theme-bg-color);
}
2024-05-29 02:12:04 +00:00
2024-07-13 00:15:07 +00:00
.markdown > p > a {
2024-05-29 02:12:04 +00:00
color: var(--c-link);
text-decoration: underline;
}
2024-07-12 02:59:38 +00:00
.markdown blockquote {
color: red;
}
.two-column a {
color: #2563eb;
text-decoration: underline;
2024-07-12 02:59:38 +00:00
}