From 86ff8266c393665f07c456730446830a6a3a0474 Mon Sep 17 00:00:00 2001 From: Koen Lageveen Date: Sun, 5 Jan 2020 17:39:23 +0100 Subject: [PATCH] make github logo more visible, add tumblr logo --- index.css | 18 +++++------------- index.html | 24 +++++++++++++++++------- index.js | 4 ++-- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/index.css b/index.css index 2d0c3a5..6616150 100644 --- a/index.css +++ b/index.css @@ -197,9 +197,6 @@ footer p a:visited { text-decoration: underline; } -footer svg { - margin-top: 4px; -} label { margin-right: .5ex; font-style: italic; @@ -335,17 +332,12 @@ 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; +footer .logo { + display: inline-block; + margin-left: 1ex; } -.github-logo svg path { - fill: #ccc; +footer .logo svg path { + fill: currentColor; } @media screen and (max-width: 56em) { diff --git a/index.html b/index.html index d487592..62b7c60 100755 --- a/index.html +++ b/index.html @@ -246,8 +246,24 @@ @@ -288,12 +304,6 @@ function updateGutters(cm) { - - diff --git a/index.js b/index.js index 61f5892..55a95e2 100644 --- a/index.js +++ b/index.js @@ -86,9 +86,9 @@ function selectLanguage() { } function setCounter(amount) { if (amount === 1) { - $('h1 a').text(amount + ' Programming Font'); + $('h1 a:first-child').text(amount + ' Programming Font'); } else { - $('h1 a').text(amount + ' Programming Fonts'); + $('h1 a:first-child').text(amount + ' Programming Fonts'); } }