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:
parent
563d07cdc5
commit
e6b356e9b0
1 changed files with 23 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
@background-color: #0d193b;
|
||||
@text-color: #a0ccff;
|
||||
@quote-color: #a0ffcc;
|
||||
@spoiler-color: #ffa0cc;
|
||||
@accent-color: white;
|
||||
@link-color: #00aaff;
|
||||
@visited-color: #aa66ff;
|
||||
|
@ -26,6 +28,27 @@ a:visited {
|
|||
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"] {
|
||||
background-color: rgba(red(@text-color), green(@text-color), blue(@text-color), 0.1);
|
||||
color: @text-color;
|
||||
|
|
Loading…
Reference in a new issue