Browse Source

fix anchor position in small windows.

Thomas Buck 2 years ago
parent
commit
c0d220f496
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      static/css/style.css

+ 7
- 3
static/css/style.css View File

38
     margin-right: auto;
38
     margin-right: auto;
39
 }
39
 }
40
 
40
 
41
+a.anchor {
42
+    display: block;
43
+    position: relative;
44
+    visibility: hidden;
45
+    top: -60px;
46
+}
47
+
41
 @media (min-height: 750px) {
48
 @media (min-height: 750px) {
42
     #nav {
49
     #nav {
43
         position: fixed;
50
         position: fixed;
50
     }
57
     }
51
 
58
 
52
     a.anchor {
59
     a.anchor {
53
-        display: block;
54
-        position: relative;
55
         top: -175px;
60
         top: -175px;
56
-        visibility: hidden;
57
     }
61
     }
58
 }
62
 }
59
 
63
 

Loading…
Cancel
Save