From 7415bb209346a12c6e6c4834be889b576299a88b Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Sat, 30 Jan 2021 14:56:17 +0100 Subject: [PATCH] Add Mastodon logo to site's description See #6 --- CHANGELOG.md | 1 + src/index.pug | 5 ++++- src/static/mastodon.svg | 1 + src/style/main.scss | 5 +++++ 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/static/mastodon.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 6025b1d..d097ab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - License changed from MIT to AGPL-3.0 - Add new, Mastodon-like logo (#6) +- Change "Mastodon" text to Mastodon's logo (#6) ## [1.0.0] - 2021-01-29 diff --git a/src/index.pug b/src/index.pug index d13a52a..964fb7d 100644 --- a/src/index.pug +++ b/src/index.pug @@ -39,7 +39,10 @@ html(lang="en") header h1 img(src="/icon.svg" width=72 height=72 alt="toot") - p Quickly post on any Mastodon instance + p + | Quickly post on any + img(src="/mastodon.svg" width=95.5 height=27) + | instance main form#form section diff --git a/src/static/mastodon.svg b/src/static/mastodon.svg new file mode 100644 index 0000000..90a59b5 --- /dev/null +++ b/src/static/mastodon.svg @@ -0,0 +1 @@ + diff --git a/src/style/main.scss b/src/style/main.scss index 58de061..7dce27f 100644 --- a/src/style/main.scss +++ b/src/style/main.scss @@ -55,6 +55,11 @@ header { p { margin: 0 0 26px; + + img { + display: inline; + margin-bottom: -11px; + } } }