diff options
author | NerdyPepper <[email protected]> | 2019-07-31 06:45:11 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-07-31 06:45:11 +0100 |
commit | 502f7102495cf7919b3be67d1bec43a7f3591ee1 (patch) | |
tree | b7e4691923af77ac1110d48eb51fb641e89ac6c5 /docs | |
parent | 6b84f1f763df20e86f054eabecedd98db3ed4a30 (diff) |
first post is always maximized
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.html | 4 | ||||
-rw-r--r-- | docs/style.css | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html index 8e4f8b7..70fd4c8 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -20,13 +20,15 @@ function showPost(id) { | |||
20 | 20 | ||
21 | <body> | 21 | <body> |
22 | <h1 class="heading">n</h1> | 22 | <h1 class="heading">n</h1> |
23 | |||
24 | |||
23 | <div class="posts"> | 25 | <div class="posts"> |
24 | 26 | ||
25 | 27 | ||
26 | <div class="post"> | 28 | <div class="post"> |
27 | <div class="date">30/07 2019</div> | 29 | <div class="date">30/07 2019</div> |
28 | <a href="#hold_position!.md" class="post-link" onClick="showPost('hold_position!.md')">Hold Position!</a> | 30 | <a href="#hold_position!.md" class="post-link" onClick="showPost('hold_position!.md')">Hold Position!</a> |
29 | <div id="hold_position!.md" class="post-text" style="display: none"> | 31 | <div id="hold_position!.md" class="post-text" style="display: block"> |
30 | <p>Often times, when I run a vim command that makes “big” changes to a file (a | 32 | <p>Often times, when I run a vim command that makes “big” changes to a file (a |
31 | macro or a <code>:vimgrep</code> command) I lose my original position and feel disoriented.</p> | 33 | macro or a <code>:vimgrep</code> command) I lose my original position and feel disoriented.</p> |
32 | 34 | ||
diff --git a/docs/style.css b/docs/style.css index 3baf889..591c916 100644 --- a/docs/style.css +++ b/docs/style.css | |||
@@ -105,7 +105,8 @@ a:hover, a:active { | |||
105 | text-decoration-skip: objects edges box-decoration; | 105 | text-decoration-skip: objects edges box-decoration; |
106 | } | 106 | } |
107 | 107 | ||
108 | .post-end-link, .post-end-link:hover, .post-end-link:visited, .post-end-link:active { | 108 | .post-end-link, .post-end-link:hover, .post-end-link:visited, .post-end-link:active |
109 | { | ||
109 | text-decoration: none; | 110 | text-decoration: none; |
110 | color: var(--light-black); | 111 | color: var(--light-black); |
111 | text-shadow: none; | 112 | text-shadow: none; |