1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-30 15:04:18 +00:00

Add stylesheet for quotes and spoilers

This commit is contained in:
Steffo 2018-07-21 20:07:24 +02:00
parent 563d07cdc5
commit e6b356e9b0

View file

@ -1,5 +1,7 @@
@background-color: #0d193b; @background-color: #0d193b;
@text-color: #a0ccff; @text-color: #a0ccff;
@quote-color: #a0ffcc;
@spoiler-color: #ffa0cc;
@accent-color: white; @accent-color: white;
@link-color: #00aaff; @link-color: #00aaff;
@visited-color: #aa66ff; @visited-color: #aa66ff;
@ -26,6 +28,27 @@ a:visited {
color: @visited-color; color: @visited-color;
} }
blockquote {
border-left: 3px solid @quote-color;
color: @quote-color;
background-color: rgba(red(@quote-color), green(@quote-color), blue(@quote-color), 0.1);
padding: 4px 8px;
}
blockquote p {
padding: 2px;
}
blockquote.spoiler {
border-color: @spoiler-color;
color: transparent;
background-color: rgba(red(@spoiler-color), green(@spoiler-color), blue(@spoiler-color), 0.1);
}
blockquote.spoiler:hover {
color: @spoiler-color;
}
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;