website/public/md.css

161 lines
2.3 KiB
CSS
Raw Normal View History

2023-12-09 16:25:38 +00:00
.md h1,
.md h2,
.md h3{
font-family: JetBrainsMono;
2023-12-09 16:25:38 +00:00
color: var(--bright-main);
font-weight: 900;
}
.md h1::before,
.md h2::before,
.md h3::before{
2024-01-18 17:01:30 +00:00
font-weight: 100;
color: var(--bright-third);
}
.md h1::before{
content: "# ";
}
.md h2::before{
content: "## ";
}
.md h3::before{
content: "### ";
}
2023-12-09 16:25:38 +00:00
.md h1 {
2024-02-23 19:44:17 +00:00
font-size: 28px;
margin-top: 40px;
2023-12-09 16:25:38 +00:00
}
.md h2 {
font-size: 23px;
margin-top: 30px;
2023-12-09 16:25:38 +00:00
}
.md h3 {
font-size: 18px;
2024-02-23 19:44:17 +00:00
margin-top: 20px;
2023-12-09 16:25:38 +00:00
}
.md p {
2024-02-23 19:44:17 +00:00
font-size: 18px;
2023-12-09 16:25:38 +00:00
color: var(--bright-second);
2024-05-06 20:06:44 +00:00
line-height: 26px;
letter-spacing: .01em;
margin-top: 10px;
}
.md strong {
font-weight: 900;
color: var(--bright-main);
2023-12-09 16:25:38 +00:00
}
.md a {
color: var(--bright-second);
2024-01-18 17:01:30 +00:00
text-decoration-thickness: .01px;
2023-12-09 16:25:38 +00:00
}
.md b {
color: var(--bright-main);
}
.md ul, .md ol {
list-style-position: inside;
2024-02-23 19:44:17 +00:00
font-size: 18px;
2023-12-09 16:25:38 +00:00
color: var(--bright-second);
margin: 10px 0px 10px 0px;
}
.md code {
font-family: JetBrainsMono;
background: var(--dark-third);
color: var(--bright-main);
2023-12-09 16:25:38 +00:00
border-radius: 5px;
2024-02-23 19:44:17 +00:00
font-size: 17px;
}
.md pre {
margin-top: 0;
margin-bottom: 0;
font-family: JetBrainsMono;
word-wrap: normal;
margin-bottom: 16px;
margin-top: 16px;
padding: 16px;
overflow: auto;
line-height: 1.45;
color: var(--bright-main);
background-color: var(--dark-third);
border-radius: 6px;
2024-02-23 19:44:17 +00:00
font-size: 14px;
}
.md table {
border-spacing: 0;
border-collapse: collapse;
display: block;
width: max-content;
max-width: 100%;
overflow: auto;
margin: 16px 0px 16px 0px;
}
.md table th{
font-weight: 900;
font-size: 20px;
}
.md table th,
.md table td{
font-size: 20px;
padding: 6px 13px;
2024-01-18 17:01:30 +00:00
background: var(--dark-second);
border: 1px solid var(--bright-second);
}
.md table tr {
2024-01-18 17:01:30 +00:00
background-color: var(--dark-main);
border-top: 1px solid var(--bright-second);
}
.md a:hover {
color: var(--bright-main);
2023-12-09 16:25:38 +00:00
}
.md li {
line-height: 30px;
}
2024-01-18 17:01:30 +00:00
.md .red {
color: var(--red);
2024-01-18 17:01:30 +00:00
}
.md .green {
color: var(--green);
2024-01-18 17:01:30 +00:00
}
.md .blue {
color: var(--blue);
2024-01-18 17:01:30 +00:00
}
.md blockquote {
margin: 0;
border-left: .25em solid var(--bright-third);
background: var(--dark-second);
border-radius: 6px;
padding: 20px;
margin-top: 16px;
margin-bottom: 16px;
}
.md blockquote>:first-child {
margin-top: 0;
}
.md blockquote>:last-child {
margin-bottom: 0;
}