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,6 +38,13 @@ th, td {
38 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 48
 @media (min-height: 750px) {
42 49
     #nav {
43 50
         position: fixed;
@@ -50,10 +57,7 @@ th, td {
50 57
     }
51 58
 
52 59
     a.anchor {
53
-        display: block;
54
-        position: relative;
55 60
         top: -175px;
56
-        visibility: hidden;
57 61
     }
58 62
 }
59 63
 

Loading…
Cancel
Save