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
       padding: 0
69
       padding: 0
70
 
70
 
71
   a
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
   h1
78
   h1
75
     font-size: 1.35em
79
     font-size: 1.35em
76
     line-height: 1.75em
80
     line-height: 1.75em
77
     margin: 0
81
     margin: 0
78
     text-transform: uppercase
82
     text-transform: uppercase
79
-    color: #3c3c3c
83
+    color: $darkest-gray
80
 
84
 
81
     @media screen and (max-width: 1280px)
85
     @media screen and (max-width: 1280px)
82
       font-size: 1.25em
86
       font-size: 1.25em
112
       margin: 0.4em
116
       margin: 0.4em
113
 
117
 
114
     &.recent a
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
       display: inline-block
120
       display: inline-block
117
       width: 100%
121
       width: 100%
118
-      padding: 0 0.7em 0 2em
122
+      padding: 0.4em 0.5em 0.5em 2em
119
 
123
 
120
 
124
 
121
 // Identity links
125
 // Identity links

Loading…
Cancel
Save