diff --git a/index.css b/index.css index 175c2ab..33be8a1 100644 --- a/index.css +++ b/index.css @@ -190,8 +190,15 @@ footer h1 + p { } footer a:hover, footer a:active { + color: #2a2a2a; text-decoration: underline; } +footer p a, +footer p a:link, +footer p a:visited { + text-decoration: underline; +} + footer svg { margin-top: 4px; } @@ -331,6 +338,19 @@ label[for="select-theme"] { -webkit-overflow-scrolling: touch; } +.github-logo { + position: fixed; + bottom: 5px; + right: 5px; + z-index: 2; + display: block; + width: 16px; + height: 16px; +} +.github-logo svg path { + fill: #ccc; +} + @media screen and (max-width: 56em) { .article-wrapper, form { diff --git a/index.html b/index.html index 90988a0..4494793 100755 --- a/index.html +++ b/index.html @@ -246,11 +246,7 @@ @@ -291,6 +287,12 @@ function updateGutters(cm) { + + diff --git a/index.js b/index.js index c74f0ba..47b943b 100644 --- a/index.js +++ b/index.js @@ -38,6 +38,9 @@ function selectFont() { if (font === '') { font = 'input'; + $('footer .subtitle').text('Test drive all the free programming fonts!'); + } else { + $('footer .subtitle').html('Test drive ' + font_data[font].name + '!'); } if (font_data[font].rendering === 'bitmap') { @@ -161,7 +164,6 @@ function renderSelectList() { ); }); selectFont(); - setCounter($('.entry[data-alias]').length); }); }