diff --git a/sass/style.scss b/sass/style.scss index 6a94df3..9fa344e 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -40,19 +40,21 @@ a { // Space between the screen and the left of navbar #nav-left { margin-left: $nav-space; - - // Cut my name off if it's too crampt - @media screen and (max-width: 400px) { - text-indent: 100%; - white-space: nowrap; - overflow: hidden; - width: 0; - } } // Space between the screen and the right of navbar #nav-right { margin-right: $nav-space; + + // Cut optional content off if it's too crampt + &.optional { + @media screen and (max-width: 400px) { + text-indent: 100%; + white-space: nowrap; + overflow: hidden; + width: 0; + } + } } // Navbar diff --git a/templates/article.html b/templates/article.html index 51e2acd..8ee9c6a 100644 --- a/templates/article.html +++ b/templates/article.html @@ -14,7 +14,7 @@ Owen Griffiths
- About + About Blog
diff --git a/templates/blog.html b/templates/blog.html index 56bfded..5bbe975 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -15,7 +15,7 @@ Owen Griffiths
- About + About Blog
diff --git a/templates/index.html b/templates/index.html index d9f2fce..c5951fc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,7 +11,7 @@ Owen Griffiths
- About + About Blog