File tree 1 file changed +18
-16
lines changed 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 74
74
margin-left : 20px ;
75
75
}
76
76
77
+ // Make header navigation linkable and on the screen. Used in documentation and
78
+ // blog posts.
79
+ h1 , h2 , h3 , h4 , h5 , h6 {
80
+ & .anchor {
81
+ position : relative ;
82
+ top : - $navHeight ;
83
+ > a {
84
+ color : $darkTextColor ;
85
+ position : relative ;
86
+ top : $navHeight ;
87
+
88
+ & :hover {
89
+ text-decoration : underline ;
90
+ }
91
+ }
92
+ }
93
+ }
94
+
77
95
// Main Nav
78
96
79
97
.nav-main {
@@ -392,22 +410,6 @@ section.black content {
392
410
font-size : 24px ;
393
411
}
394
412
395
- h1 , h2 , h3 , h4 , h5 , h6 {
396
- & .anchor {
397
- position : relative ;
398
- top : - $navHeight ;
399
- }
400
-
401
- > a {
402
- color : $darkTextColor ;
403
- position : relative ;
404
- top : $navHeight ;
405
-
406
- & :hover {
407
- text-decoration : underline ;
408
- }
409
- }
410
- }
411
413
412
414
// H2s form documentation topic dividers. Extra space helps.
413
415
h2 {
You can’t perform that action at this time.
0 commit comments