--- layout: nil --- {% assign primary_colour = '#DE1B1B' %} /* Begin styles from codeguide.co by @mdo */ html { font-size: 16px; } @media (min-width: 48em) { html { font-size: 20px; } } body { margin: 0; font: 1rem/1.5 "PT Sans", sans-serif; color: #333; } /* End styles from codeguide.co by @mdo */ /* * Page navigation */ #page-nav { bottom: 0.5em; right: 0.5em; position: fixed; text-align: center; font-weight: bold; } /* * Typography */ h1 { font-family: 'Roboto Slab', serif; font-weight: 400; } h2 { font-family: 'Roboto Slab', serif; font-weight: 400; border-bottom: 0.25em solid #e2e2e2; padding-bottom: 0.3em; } h3:before { content: '➤'; width: 1.5em; display: inline-block; margin-left: -1.5em; color: {{ primary_colour }}; font-weight: normal; } a { color: #333; border-bottom: 1px solid {{ primary_colour }}; text-decoration: none; -o-transition:.2s; -ms-transition:.2s; -moz-transition:.2s; -webkit-transition:.2s; transition:.3s; } a:hover { color: {{ primary_colour }}; border-color: #333; } header.top { background: {{ primary_colour }}; } header.top h1 { color: #fff; } .wrap { padding: 2% 10%; max-width: 48em; margin: 0 auto; } #content h1 { display: none; } /* Syntax highlighting */ code { font-family: 'Droid Sans Mono', monospace; font-size: 0.825em; color: #666; } pre code { max-height: 450px; overflow-y: auto; } {% include highlight.hybrid.css %} .anchorjs-link { color: {{ primary_colour }}; border: none; }