From 17eee52dcedb99a5b433c787d750c48f7b632c7f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Wed, 28 Sep 2016 10:38:11 +0200 Subject: [PATCH] Fix links in page blocks --- app/static/src/sass/modules/_page.scss | 41 +++----------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/app/static/src/sass/modules/_page.scss b/app/static/src/sass/modules/_page.scss index b233e495..9eb7eb19 100644 --- a/app/static/src/sass/modules/_page.scss +++ b/app/static/src/sass/modules/_page.scss @@ -97,29 +97,13 @@ $module: ".page"; position: relative; z-index: 1; - text-decoration: none; + text-decoration: underline; @include transition(all 0.15s ease-in-out); &:after { - @include transition(all 0.15s ease-in-out); - content: ""; - display: block; - position: absolute; - left: 0; - right: 0; - bottom: 0; - height: 1px; - background: $color-black; - z-index: -1; + display: none; } - &:hover { - &:after { - bottom: 0; - background: $color-black; - height: 1px; - } - } } } @@ -137,30 +121,13 @@ $module: ".page"; color: white; position: relative; z-index: 1; - text-decoration: none; + text-decoration: underline; @include transition(all 0.15s ease-in-out); &:after { - @include transition(all 0.15s ease-in-out); - content: ""; - display: block; - position: absolute; - left: 0; - right: 0; - bottom: 0; - height: 1px; - background: white; - z-index: -1; + display: none; } - &:hover { - color: $color-main; - &:after { - bottom: 0;; - background: $color-main; - height: 1px; - } - } } h2:first-child { -- 2.39.5