1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

fix spoilers

This commit is contained in:
Steffo 2018-07-31 19:38:28 +02:00
parent e7ee46722c
commit a61cbdade0

View file

@ -43,7 +43,7 @@ blockquote {
margin: 4px 0; margin: 4px 0;
} }
.spoiler { &.spoiler {
color: transparent; color: transparent;
border-color: @spoiler-color; border-color: @spoiler-color;
background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1); background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1);
@ -60,6 +60,14 @@ blockquote {
} }
} }
pre {
margin: 0;
}
code {
font-family: "Consolas", "Source Code Pro", monospace;
}
input[type="text"], input[type="password"] { input[type="text"], input[type="password"] {
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1); background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
color: @text-color; color: @text-color;
@ -675,14 +683,6 @@ nav {
.codehilite { .codehilite {
border-radius: 4px; border-radius: 4px;
padding: 4px; padding: 4px;
pre {
margin: 0;
}
code {
font-family: "Consolas", "Source Code Pro", monospace;
}
} }
} }