diff --git a/assets/css/style.css b/assets/css/style.css index 04faec695..250f96e67 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -199,7 +199,7 @@ table { #latest-post { display: none; } -.post { +.post-container { margin: 0 40px; } .post-header { @@ -363,13 +363,30 @@ table { /* ============================================================ */ /* Media Queries */ /* ============================================================ */ +@media only screen and (max-width: 800px) { + .post-stub-tag { + display: none; } } @media only screen and (max-width: 600px) { + .site-nav-item { + display: block; + margin: 15px 0; } + .post-stub-title { display: block; } .post-stub-date:before { content: ""; - display: block; } } + display: block; } + + .post-container, + .post-list { + margin-right: 25px; + margin-left: 25px; } } @media only screen and (max-width: 400px) { .post-title { - font-size: 32px; } } + font-size: 32px; } + + .post-container, + .post-list { + margin-right: 15px; + margin-left: 15px; } } diff --git a/assets/sass/.sass-cache/4c0f184ddf523d9e41705de4a1576d5b51e21674/style.scssc b/assets/sass/.sass-cache/4c0f184ddf523d9e41705de4a1576d5b51e21674/style.scssc index e8fbc06ef..7e475931f 100644 Binary files a/assets/sass/.sass-cache/4c0f184ddf523d9e41705de4a1576d5b51e21674/style.scssc and b/assets/sass/.sass-cache/4c0f184ddf523d9e41705de4a1576d5b51e21674/style.scssc differ diff --git a/assets/sass/style.scss b/assets/sass/style.scss index cf3c61664..a42f43489 100644 --- a/assets/sass/style.scss +++ b/assets/sass/style.scss @@ -226,7 +226,7 @@ table { #latest-post { display: none; } -.post { margin: 0 40px; } +.post-container { margin: 0 40px; } .post-header { border-bottom: 6px solid $secondary; @@ -420,15 +420,36 @@ table { /* Media Queries */ /* ============================================================ */ +@media only screen and (max-width: 800px) { + .post-stub-tag { display: none; } +} + @media only screen and (max-width: 600px) { + .site-nav-item { + display: block; + margin: 15px 0; + } + .post-stub-title { display: block; } .post-stub-date:before { content: ""; display: block; } + + .post-container, + .post-list { + margin-right: 25px; + margin-left: 25px; + } } @media only screen and (max-width: 400px) { .post-title { font-size: 32px; } + + .post-container, + .post-list { + margin-right: 15px; + margin-left: 15px; + } } \ No newline at end of file diff --git a/index.hbs b/index.hbs index 53a1da4ac..33b29795f 100644 --- a/index.hbs +++ b/index.hbs @@ -3,7 +3,7 @@
{{#foreach posts}} {{#if @first}} -
+

{{title}}

diff --git a/page.hbs b/page.hbs index 8b33c0c45..b94e173b4 100644 --- a/page.hbs +++ b/page.hbs @@ -2,7 +2,7 @@
{{#post}} -
+

{{title}}

diff --git a/post.hbs b/post.hbs index eb544c4a1..bea24ee02 100644 --- a/post.hbs +++ b/post.hbs @@ -2,7 +2,7 @@
{{#post}} -
+

{{title}}