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

65 lines
860 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 {
white-space: nowrap;
overflow: auto hidden;
}