Browse Source

Fiddle with font sizes and underlines in the header

master
Chris Smith 4 years ago
parent
commit
48d207aee7
Signed by: Chris Smith <chris@chameth.com> GPG Key ID: 3A2D4BBDC4A3C9A9
1 changed files with 8 additions and 4 deletions
  1. 8
    4
      site/assets/style/modules/_header.sass

+ 8
- 4
site/assets/style/modules/_header.sass View File

@@ -69,14 +69,18 @@
69 69
       padding: 0
70 70
 
71 71
   a
72
-    text-decoration: none
72
+    text-decoration-color: transparent
73
+    transition: color 0.2s ease-in-out, text-decoration-color 0.25s linear
74
+
75
+    &:hover
76
+      text-decoration: underline
73 77
 
74 78
   h1
75 79
     font-size: 1.35em
76 80
     line-height: 1.75em
77 81
     margin: 0
78 82
     text-transform: uppercase
79
-    color: #3c3c3c
83
+    color: $darkest-gray
80 84
 
81 85
     @media screen and (max-width: 1280px)
82 86
       font-size: 1.25em
@@ -112,10 +116,10 @@
112 116
       margin: 0.4em
113 117
 
114 118
     &.recent a
115
-      background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 30%)
119
+      background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 60%)
116 120
       display: inline-block
117 121
       width: 100%
118
-      padding: 0 0.7em 0 2em
122
+      padding: 0.4em 0.5em 0.5em 2em
119 123
 
120 124
 
121 125
 // Identity links

Loading…
Cancel
Save