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

106 lines
1.9 KiB
CSS
Raw Permalink Normal View History

2024-04-23 15:16:51 +00:00
2024-08-26 14:36:52 +00:00
.markdown > h1 {
2024-04-23 15:16:51 +00:00
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);
2024-08-26 14:36:52 +00:00
scroll-margin-top: 50px;
2024-04-23 15:16:51 +00:00
}
2024-08-26 14:36:52 +00:00
.markdown > h2 {
2024-04-23 15:16:51 +00:00
/* 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-08-26 14:36:52 +00:00
scroll-margin-top: 5rem;
2024-04-23 15:16:51 +00:00
}
2024-08-26 14:36:52 +00:00
.markdown > h2::before {
2024-07-13 22:27:07 +00:00
content: "#";
display: block;
height: 0;
position: relative;
right: 1.5rem;
opacity: 0.2;
}
2024-08-26 14:36:52 +00:00
.markdown > h2:target::before {
color: var(--c-thp);
opacity: 1;
}
.markdown > h3 {
2024-04-29 03:05:04 +00:00
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-08-26 14:36:52 +00:00
scroll-margin-top: 5rem;
2024-04-29 03:05:04 +00:00
}
2024-08-26 14:36:52 +00:00
.markdown > h3::before {
2024-07-13 22:27:07 +00:00
content: "##";
display: block;
height: 0;
position: relative;
right: 2.25rem;
opacity: 0.2;
2024-07-13 22:27:07 +00:00
}
2024-08-26 14:36:52 +00:00
.markdown > h3:target::before {
color: var(--c-thp);
opacity: 1;
}
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-08-26 14:36:52 +00:00
.markdown p > code {
2024-08-26 14:00:43 +00:00
border: solid 1px var(--c-border-1);
}
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-08-26 14:36:52 +00:00
display: inline-block;
2024-07-12 02:59:38 +00:00
}
2024-08-26 14:36:52 +00:00
.two-column h3 {
margin: 0.75rem 0;
}