1
Fork 0

Fix table styling for posts

This commit is contained in:
Bauke 2018-07-05 00:16:05 +02:00
parent af8ac6c520
commit 2f2259ce8e
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
5 changed files with 36 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) | | 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 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.4 | [tildes.net](https://tildes.net) | [Click](https://gitlab.com/Bauke/styles/raw/master/css/tildes-dracula/tildes-dracula.user.css) | | Tildes Dracula | 2.0.5 | [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) | | 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 ## Installing

View File

@ -183,6 +183,18 @@ body:not(.theme) input,body:not(.theme) textarea,body:not(.theme) .form-input,bo
background-color: #282a36; background-color: #282a36;
} }
body:not(.theme) th,body.theme-light th,body.theme-dark th,body.theme-black th {
border-color: #6272a4;
}
body:not(.theme) td,body.theme-light td,body.theme-dark td,body.theme-black td {
border-color: #44475a;
}
body:not(.theme) tbody tr:nth-of-type(n),body.theme-light tbody tr:nth-of-type(n),body.theme-dark tbody tr:nth-of-type(n),body.theme-black tbody tr:nth-of-type(n) {
background-color: #282a36;
}
a { a {
color: #8be9fd; color: #8be9fd;
} }

View File

@ -1,7 +1,7 @@
/* ==UserStyle== /* ==UserStyle==
@name Tildes Dracula @name Tildes Dracula
@namespace tildes.net @namespace tildes.net
@version 2.0.4 @version 2.0.5
@author Bauke @author Bauke
@description Dracula theme for Tildes.net @description Dracula theme for Tildes.net
@homepageURL https://gitlab.com/Bauke/styles @homepageURL https://gitlab.com/Bauke/styles
@ -194,6 +194,18 @@ body:not(.theme) input,body:not(.theme) textarea,body:not(.theme) .form-input,bo
background-color: #282a36; background-color: #282a36;
} }
body:not(.theme) th,body.theme-light th,body.theme-dark th,body.theme-black th {
border-color: #6272a4;
}
body:not(.theme) td,body.theme-light td,body.theme-dark td,body.theme-black td {
border-color: #44475a;
}
body:not(.theme) tbody tr:nth-of-type(n),body.theme-light tbody tr:nth-of-type(n),body.theme-dark tbody tr:nth-of-type(n),body.theme-black tbody tr:nth-of-type(n) {
background-color: #282a36;
}
a { a {
color: #8be9fd; color: #8be9fd;
} }

View File

@ -39,6 +39,15 @@ body.theme-black
border-color: $comment border-color: $comment
background-color: $background background-color: $background
th
border-color: $comment
td
border-color: $selection
tbody tr:nth-of-type(n)
background-color: $background
a a
color: $cyan color: $cyan

View File

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