hedgedoc/src/components/editor/markdown-renderer/markdown-renderer.scss

46 lines
719 B
SCSS
Raw Normal View History

@import '../../../../node_modules/github-markdown-css/github-markdown.css';
.markdown-body {
font-family: 'Source Sans Pro', "twemoji", sans-serif;
.alert > p, .alert > ul {
margin-bottom: 0;
}
// I know this is bad :( sry
& > * {
width: 100%;
max-width: 900px;
}
&.wider {
max-width: 1500px;
& > .wider-possible {
max-width: 1500px;
}
}
a.heading-anchor {
margin-left: -1.25em;
font-size: 0.75em;
margin-top: 0.25em;
opacity: 0;
&:hover {
opacity: 1;
}
}
blockquote .quote-extra {
font-size: 0.85em;
margin-inline-start: 0.5em;
&:first-of-type {
&::before {
content: '\2014 \00A0'
}
}
}
}