From 34dd7335bb5c3b74b1602404bedaf411e59ee8fd Mon Sep 17 00:00:00 2001 From: Tyranja Date: Sun, 28 Jul 2024 21:16:16 +0200 Subject: [PATCH] remove underlined links --- app/assets/stylesheets/custom.scss | 2 +- app/assets/stylesheets/tags_and_categories.scss | 5 ++++- config/environments/development.rb | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/custom.scss b/app/assets/stylesheets/custom.scss index 276191b50..9351d66e1 100644 --- a/app/assets/stylesheets/custom.scss +++ b/app/assets/stylesheets/custom.scss @@ -10,7 +10,7 @@ html { a, .link, #expander { cursor: pointer; - text-decoration: underline; + text-decoration: none; color: $font-color; padding: 0.2em; diff --git a/app/assets/stylesheets/tags_and_categories.scss b/app/assets/stylesheets/tags_and_categories.scss index 316a60e17..5f037650c 100644 --- a/app/assets/stylesheets/tags_and_categories.scss +++ b/app/assets/stylesheets/tags_and_categories.scss @@ -85,6 +85,8 @@ $categories_dark_color: ( i { color: $color; } &:hover { color: $color; + background: none; + font-weight: bold; } } #category-#{$name} { @@ -123,11 +125,12 @@ $categories_bright_color: ( i { color: $color; } &:hover { color: $color; + background: none; + font-weight: bold; } } #category-#{$name} { color: $color; - text-decoration: underline; } .bg-#{$name} { i { color: #{$color} } diff --git a/config/environments/development.rb b/config/environments/development.rb index e4df86732..8abdc735c 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -4,7 +4,7 @@ # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart the web server when you make code changes. - config.cache_classes = true + config.cache_classes = false # Do not eager load code on boot. config.eager_load = false