diff options
author | NerdyPepper <[email protected]> | 2019-07-31 17:17:40 +0100 |
---|---|---|
committer | NerdyPepper <[email protected]> | 2019-07-31 17:17:40 +0100 |
commit | 8bb5ee06ad1670c34bf767cce48aaf94a5804881 (patch) | |
tree | ad75450a658f87555bb2d2cf5e14e62eea09ad43 | |
parent | 31d645b15bfde885ada913e5dff34e816fe316f4 (diff) |
improve styles
-rw-r--r-- | docs/index.html | 2 | ||||
-rw-r--r-- | docs/style.css | 13 | ||||
-rw-r--r-- | posts/bash_harder_with_vim.md | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/docs/index.html b/docs/index.html index 37a353b..cba94e8 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -29,7 +29,7 @@ function showPost(id) { | |||
29 | <div class="date">31/07 2019</div> | 29 | <div class="date">31/07 2019</div> |
30 | <a href="#bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')">Bash Harder With Vim</a> | 30 | <a href="#bash_harder_with_vim.md" class="post-link" onClick="showPost('bash_harder_with_vim.md')">Bash Harder With Vim</a> |
31 | <div id="bash_harder_with_vim.md" class="post-text" style="display: block"> | 31 | <div id="bash_harder_with_vim.md" class="post-text" style="display: block"> |
32 | <p>Bash is tricky, dont let your editor get in your way. Here’s a couple of neat | 32 | <p>Bash is tricky, don’t let your editor get in your way. Here’s a couple of neat |
33 | addtions you could make to your <code>vimrc</code> for a better shell programming | 33 | addtions you could make to your <code>vimrc</code> for a better shell programming |
34 | experience.</p> | 34 | experience.</p> |
35 | 35 | ||
diff --git a/docs/style.css b/docs/style.css index 591c916..4eb28ce 100644 --- a/docs/style.css +++ b/docs/style.css | |||
@@ -32,9 +32,20 @@ html { | |||
32 | width: 100%; | 32 | width: 100%; |
33 | } | 33 | } |
34 | 34 | ||
35 | /* tablets */ | ||
36 | @media only screen and (min-width: 720px) { | ||
37 | .posts { | ||
38 | width: 80%; | ||
39 | } | ||
40 | html { | ||
41 | font-size: 18px; | ||
42 | } | ||
43 | } | ||
44 | |||
45 | /* laptops */ | ||
35 | @media only screen and (min-width: 1080px) { | 46 | @media only screen and (min-width: 1080px) { |
36 | .posts { | 47 | .posts { |
37 | width: 60%; | 48 | width: 50%; |
38 | } | 49 | } |
39 | html { | 50 | html { |
40 | font-size: 18px; | 51 | font-size: 18px; |
diff --git a/posts/bash_harder_with_vim.md b/posts/bash_harder_with_vim.md index aef5353..15933bf 100644 --- a/posts/bash_harder_with_vim.md +++ b/posts/bash_harder_with_vim.md | |||
@@ -1,4 +1,4 @@ | |||
1 | Bash is tricky, dont let your editor get in your way. Here's a couple of neat | 1 | Bash is tricky, don't let your editor get in your way. Here's a couple of neat |
2 | addtions you could make to your `vimrc` for a better shell programming | 2 | addtions you could make to your `vimrc` for a better shell programming |
3 | experience. | 3 | experience. |
4 | 4 | ||