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

83 lines
1.1 KiB
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;
2022-01-26 16:20:50 +01:00
border-left: 4px solid var(--pm);
2021-07-18 10:34:01 +02:00
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 {
2021-12-08 17:54:53 +01:00
border-top: 2px solid var(--ft);
border-bottom: 1px solid var(--ft);
}
.md table tbody {
border-bottom: 2px solid var(--ft);
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-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;
}
2022-01-26 16:20:50 +01:00
.md blockquote p {
margin: .5rem 0;
line-height: 1.5;
font-size: .9rem;
}
2021-08-29 17:55:45 +02:00
.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;
}