mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-10 06:04:15 +00:00
41 lines
562 B
SCSS
41 lines
562 B
SCSS
|
.markdown {
|
||
|
p, ul, ol, pre, blockquote {
|
||
|
margin: 0 0 $unit-2 0;
|
||
|
}
|
||
|
|
||
|
> *:first-child {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
> *:last-child {
|
||
|
margin-bottom: 0;
|
||
|
}
|
||
|
|
||
|
ul, ol {
|
||
|
margin-left: $unit-4;
|
||
|
}
|
||
|
|
||
|
ul li, ol li {
|
||
|
margin-top: $unit-1;
|
||
|
}
|
||
|
|
||
|
pre {
|
||
|
padding: $unit-1 $unit-2;
|
||
|
background-color: $code-bg-color;
|
||
|
border-radius: $unit-1;
|
||
|
overflow-x: auto;
|
||
|
}
|
||
|
|
||
|
pre code {
|
||
|
background: none;
|
||
|
box-shadow: none;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
> pre:first-child:last-child {
|
||
|
padding: 0;
|
||
|
background: none;
|
||
|
border-radius: 0;
|
||
|
}
|
||
|
}
|