]> git.parisson.com Git - mezzo.git/commitdiff
Fix links in page blocks
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 28 Sep 2016 08:38:11 +0000 (10:38 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Wed, 28 Sep 2016 08:38:11 +0000 (10:38 +0200)
app/static/src/sass/modules/_page.scss

index b233e4951d7ab6399cbe85fd8a5b3d863ab33cdd..9eb7eb1978b9f9b67643521e1a37e0bf4fb10115 100644 (file)
@@ -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 {