diff --git a/app/class/Colors.php b/app/class/Colors.php index 2bf27345..4d95a469 100644 --- a/app/class/Colors.php +++ b/app/class/Colors.php @@ -88,7 +88,7 @@ public function tocss(array $tagcolor): string { $css = ""; foreach ($tagcolor as $tag => $color) { - $css .= "\ntr td a.tag_$tag { background-color: $color; }"; + $css .= "\n.tag_$tag { background-color: $color; }"; } return $css; } diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php index 7a262215..8748a263 100644 --- a/app/view/templates/homeopt.php +++ b/app/view/templates/homeopt.php @@ -56,7 +56,7 @@ -
+
Tag
tagnot() ? "checked" : '' ?>> @@ -189,7 +189,7 @@ invert() ? 'checked' : '' ?>>
-
+
diff --git a/assets/css/home.css b/assets/css/home.css index 30dfe3fb..bae05f98 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -105,8 +105,13 @@ nav span.counter { height: 17px; display: inline-block; text-align: center; + font-size: smaller; } +fieldset.tag .counter, td a.tag { + color: white !important; + } + table td a.tag, table a.author { border-radius: 10px;