From: Jérémy Fabre Date: Wed, 28 Sep 2016 08:38:11 +0000 (+0200) Subject: Fix links in page blocks X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=17eee52dcedb99a5b433c787d750c48f7b632c7f;p=mezzo.git Fix links in page blocks --- 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 {