aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNerdyPepper <[email protected]>2019-07-31 17:17:40 +0100
committerNerdyPepper <[email protected]>2019-07-31 17:17:40 +0100
commit8bb5ee06ad1670c34bf767cce48aaf94a5804881 (patch)
treead75450a658f87555bb2d2cf5e14e62eea09ad43 /docs
parent31d645b15bfde885ada913e5dff34e816fe316f4 (diff)
improve styles
Diffstat (limited to 'docs')
-rw-r--r--docs/index.html2
-rw-r--r--docs/style.css13
2 files changed, 13 insertions, 2 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&#8217;s a couple of neat 32 <p>Bash is tricky, don&#8217;t let your editor get in your way. Here&#8217;s a couple of neat
33addtions you could make to your <code>vimrc</code> for a better shell programming 33addtions you could make to your <code>vimrc</code> for a better shell programming
34experience.</p> 34experience.</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;