1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

added some markdown stylings

This commit is contained in:
Fedor Katurov 2021-02-24 15:16:24 +07:00
parent d786606924
commit 5dbf4245bf
4 changed files with 82 additions and 7 deletions

View file

@ -0,0 +1,60 @@
@import "../variables";
.wrapper {
pre {
background-color: darken($comment_bg, 2%);
border: {
left: 4px solid $red;
right: 4px solid $red;
}
font-family: monospace;
font-size: 13px;
padding: $gap;
border-radius: $radius;
}
p {
margin-bottom: $gap;
}
h5, h4, h3, h2, h1 {
color: white;
font-weight: 800;
line-height: 1.2em;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.8em;
}
h3 {
font-size: 1.6em;
}
h4 {
font-size: 1.4em;
}
h5 {
font-size: 1.2em;
}
ul {
list-style: disc;
padding-left: 20px;
margin-bottom: $gap;
li {
margin: 5px 0;
}
}
:global(.grey) {
color: #555555;
white-space: pre-line;
}
}