hugo-theme-minima/assets/sass/markdown.scss
2021-08-29 15:19:34 +08:00

52 lines
No EOL
744 B
SCSS

.md blockquote {
background-color: rgba(148, 148, 149, 0.08) ;
margin: 1.5em 0px;
padding: 1.1em 20px 1px 20px;
border-left: 8px solid var(--pm);
font-style: italic;
}
.md table {
border-collapse: collapse;
border-spacing: 0;
display: block;
max-width: 100%;
width: 100%;
margin: 1em 0;
overflow: auto;
}
.md table thead {
background-color: var(--bd);
}
.md table th,
.md table td {
padding: 10px 20px;
border-bottom: 1px solid var(--bd);
}
.md img {
max-width: 100%;
}
.md li {
margin-top: .5em;
}
.md .katex {
overflow: auto hidden;
}
.md ul input[type="checkbox"] {
margin-right: 3px;
}
.md .ul-checkbox {
list-style: none;
padding-inline-start: 20px;
}
.md .highlight {
margin: 1em 0;
}