1
Fork 0

Dracula Update:

Add special NSFW/Spoiler tag styling
This commit is contained in:
Bauke 2018-08-06 15:44:26 +02:00
parent 76a2b7054a
commit c5a8d3981e
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
5 changed files with 47 additions and 3 deletions

View File

@ -8,7 +8,7 @@
|------|---------|------------|----------|
| Notabug Dracula | 1.0.5 | [notabug.io](https://notabug.io) | [Click](https://gitlab.com/Bauke/styles/raw/master/css/notabug-dracula/notabug-dracula.user.css) |
| Tildes Compact | 1.0.4 | [tildes.net](https://tildes.net) | [Click](https://gitlab.com/Bauke/styles/raw/master/css/tildes-compact/tildes-compact.user.css) |
| Tildes Dracula | 2.0.6 | [tildes.net](https://tildes.net) | [Click](https://gitlab.com/Bauke/styles/raw/master/css/tildes-dracula/tildes-dracula.user.css) |
| Tildes Dracula | 2.0.7 | [tildes.net](https://tildes.net) | [Click](https://gitlab.com/Bauke/styles/raw/master/css/tildes-dracula/tildes-dracula.user.css) |
| Tildes Monokai | 1.1.4 | [tildes.net](https://tildes.net) | [Click](https://gitlab.com/Bauke/styles/raw/master/css/tildes-monokai/tildes-monokai.user.css) |
## Installing

View File

@ -371,6 +371,22 @@ body:not(.theme) .is-comment-new .comment-text,body.theme-light .is-comment-new
color: #f8f8f2;
}
body:not(.theme) .label-topic-tag-spoiler,body.theme-light .label-topic-tag-spoiler,body.theme-dark .label-topic-tag-spoiler,body.theme-black .label-topic-tag-spoiler {
background-color: #f1fa8c;
}
body:not(.theme) .label-topic-tag-spoiler a,body.theme-light .label-topic-tag-spoiler a,body.theme-dark .label-topic-tag-spoiler a,body.theme-black .label-topic-tag-spoiler a {
color: #282a36;
}
body:not(.theme) .label-topic-tag-nsfw,body.theme-light .label-topic-tag-nsfw,body.theme-dark .label-topic-tag-nsfw,body.theme-black .label-topic-tag-nsfw {
background-color: #f55;
}
body:not(.theme) .label-topic-tag-nsfw a,body.theme-light .label-topic-tag-nsfw a,body.theme-dark .label-topic-tag-nsfw a,body.theme-black .label-topic-tag-nsfw a {
color: #282a36;
}
.topic-voting.btn {
border-style: solid;
}

View File

@ -1,7 +1,7 @@
/* ==UserStyle==
@name Tildes Dracula
@namespace tildes.net
@version 2.0.6
@version 2.0.7
@author Bauke
@description Dracula theme for Tildes.net
@homepageURL https://gitlab.com/Bauke/styles
@ -382,6 +382,22 @@ body:not(.theme) .is-comment-new .comment-text,body.theme-light .is-comment-new
color: #f8f8f2;
}
body:not(.theme) .label-topic-tag-spoiler,body.theme-light .label-topic-tag-spoiler,body.theme-dark .label-topic-tag-spoiler,body.theme-black .label-topic-tag-spoiler {
background-color: #f1fa8c;
}
body:not(.theme) .label-topic-tag-spoiler a,body.theme-light .label-topic-tag-spoiler a,body.theme-dark .label-topic-tag-spoiler a,body.theme-black .label-topic-tag-spoiler a {
color: #282a36;
}
body:not(.theme) .label-topic-tag-nsfw,body.theme-light .label-topic-tag-nsfw,body.theme-dark .label-topic-tag-nsfw,body.theme-black .label-topic-tag-nsfw {
background-color: #f55;
}
body:not(.theme) .label-topic-tag-nsfw a,body.theme-light .label-topic-tag-nsfw a,body.theme-dark .label-topic-tag-nsfw a,body.theme-black .label-topic-tag-nsfw a {
color: #282a36;
}
.topic-voting.btn {
border-style: solid;
}

View File

@ -69,6 +69,18 @@ body.theme-black
.is-comment-new .comment-text
color: $foreground
.label-topic-tag-spoiler
background-color: $yellow
a
color: $background
.label-topic-tag-nsfw
background-color: $red
a
color: $background
.topic-voting.btn
border-style: solid

View File

@ -4,7 +4,7 @@
"options": {
"name": "Tildes Dracula",
"namespace": "tildes.net",
"version": "2.0.6",
"version": "2.0.7",
"author": "Bauke",
"description": "Dracula theme for Tildes.net",
"homepageURL": "https://gitlab.com/Bauke/styles",