diff --git a/source/stylesheets/_casper_override.css.scss b/source/stylesheets/_casper_override.css.scss new file mode 100644 index 0000000..a6e7ad8 --- /dev/null +++ b/source/stylesheets/_casper_override.css.scss @@ -0,0 +1,25 @@ +// Override default caspar styles for our own blog + +// Declutter navigation +.nav li:before, +.nav li a:after, +.nav li.nav-current a:after { + content: none; +} + +// Disable pointless animations +.home-template .page-title, +.home-template .page-description { + -webkit-animation: none 0s; + animation: none 0s; +} + +// Golden ratio for post header images +.post-head.main-header { + height: 61vh; + min-height: 180px; +} + +.author-bio { + text-align: left; +} diff --git a/source/stylesheets/application.css.scss b/source/stylesheets/application.css.scss index 1cff7c6..3518076 100644 --- a/source/stylesheets/application.css.scss +++ b/source/stylesheets/application.css.scss @@ -1,4 +1,5 @@ @import 'vendor/casper'; +@import 'casper_override'; @import 'syntax'; @import 'icons';