]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - app.scss
Adding support for custom links target
[github/bastienwirtz/homer.git] / app.scss
index 95a3166c102c8c6a4cdcbf47c7a1ec36d06b124b..ade72f3bc9018327229a848446458a043ee1c3d3 100644 (file)
--- a/app.scss
+++ b/app.scss
@@ -9,7 +9,8 @@ $theme-light: (
   text: #363636,
   text-title: #303030,
   text-subtitle: #424242,
-  card-shadow: rgba(0, 0, 0, 0.1)
+  card-shadow: rgba(0, 0, 0, 0.1),
+  a-hover: #363636
 );
 $theme-dark: (
   background: #131313,
@@ -17,7 +18,8 @@ $theme-dark: (
   text: #eaeaea,
   text-title: #fafafa,
   text-subtitle: #f5f5f5,
-  card-shadow: rgba(0, 0, 0, 0.4)
+  card-shadow: rgba(0, 0, 0, 0.4),
+  a-hover: #ffdd57
 );
 
   
@@ -25,7 +27,12 @@ $theme-dark: (
 @mixin theme($theme) {
   background-color: map-get($theme, "background");
   color: map-get($theme, "text");
-
+  a {
+    &:hover {
+      color: map-get($theme, "a-hover");
+    }
+  }
+  
   .title {
     color: map-get($theme, "text-title");
   }
@@ -153,7 +160,8 @@ body {
 
       a {
         color: #ffffff;
-        &:hover {
+        &:hover, &:focus {
+          color: #ffffff;
           background-color: lighten( $secondary-color, 5% );
         }
       }
@@ -297,11 +305,12 @@ body {
     }
 
     .search-label::before {
-      font-family: 'FontAwesome';
+      font-family: 'Font Awesome 5 Free';
       position: absolute;
       top: 12px;
       left: 8px;
       content: "\f002";
+      font-weight: 900;
       width: 20px;
       height: 20px;
     }