hugo-theme-minima/assets/sass/markdown.scss

73 lines
954 B
SCSS
Raw Normal View History

2021-07-18 10:34:01 +02:00
.md blockquote {
background-color: rgba(148, 148, 149, 0.08) ;
2021-08-29 17:55:45 +02:00
padding: 1px 1rem;
2021-07-18 10:34:01 +02:00
border-left: 8px solid var(--pm);
font-style: italic;
}
.md table {
border-collapse: collapse;
border-spacing: 0;
display: block;
max-width: 100%;
width: 100%;
2021-07-20 11:53:21 +02:00
margin: 1em 0;
2021-07-18 10:34:01 +02:00
overflow: auto;
}
2021-08-19 06:42:00 +02:00
.md table thead {
background-color: var(--bd);
2021-07-18 10:34:01 +02:00
}
2021-08-19 06:42:00 +02:00
.md table th,
.md table td {
2021-07-18 10:34:01 +02:00
padding: 10px 20px;
2021-08-19 06:42:00 +02:00
border-bottom: 1px solid var(--bd);
2021-07-20 16:24:19 +02:00
}
.md img {
max-width: 100%;
2021-07-21 06:12:51 +02:00
}
2021-08-04 05:17:59 +02:00
.md .katex {
overflow: auto hidden;
2021-08-19 06:42:00 +02:00
}
.md ul input[type="checkbox"] {
margin-right: 3px;
}
.md .ul-checkbox {
list-style: none;
padding-inline-start: 20px;
}
2021-08-29 17:55:45 +02:00
.md li {
margin-bottom: 1rem;
}
.md ol,
.md ul,
.md img,
.md blockquote,
2021-08-19 06:42:00 +02:00
.md .highlight {
2021-08-29 17:55:45 +02:00
margin: .75rem 0;
}
.md hr {
margin: 1.5rem 0;
}
.md .footnotes {
2021-09-11 13:46:01 +02:00
word-break: break-all;
font-size: .9rem;
}
.md p sup {
margin-left: 4px;
2021-08-29 17:55:45 +02:00
}
2021-11-27 16:56:38 +01:00
.md a {
font-style: italic;
text-decoration: underline;
}