From 9ab80e989e01c746fae0db03b6583071fcc4cfbc Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 4 Mar 2021 22:01:10 +0100 Subject: [PATCH] feat: replace error page icon (#84) BREAKING CHANGE: The icon `gdoc_telescope` was removed. If you are using this icon you have to replace it. --- exampleSite/data/sprites/geekdoc.json | 4 ++-- layouts/404.html | 2 +- src/icons/cloud_off.svg | 5 +++++ src/icons/telescope.svg | 5 ----- src/sass/_base.scss | 4 ++-- src/sass/_mobile.scss | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 src/icons/cloud_off.svg delete mode 100644 src/icons/telescope.svg diff --git a/exampleSite/data/sprites/geekdoc.json b/exampleSite/data/sprites/geekdoc.json index 3e4b4a2..a5b3f06 100644 --- a/exampleSite/data/sprites/geekdoc.json +++ b/exampleSite/data/sprites/geekdoc.json @@ -4,6 +4,7 @@ "arrow_right_alt", "bitbucket", "bookmark", + "cloud_off", "code", "date", "download", @@ -22,6 +23,5 @@ "person", "search", "shield", - "tags", - "telescope" + "tags" ] \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html index 33b88cf..4d89f62 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -14,7 +14,7 @@
- +
Lost?
diff --git a/src/icons/cloud_off.svg b/src/icons/cloud_off.svg new file mode 100644 index 0000000..1cae5c2 --- /dev/null +++ b/src/icons/cloud_off.svg @@ -0,0 +1,5 @@ + + +cloud_off + + diff --git a/src/icons/telescope.svg b/src/icons/telescope.svg deleted file mode 100644 index 807a1cf..0000000 --- a/src/icons/telescope.svg +++ /dev/null @@ -1,5 +0,0 @@ - - -telescope - - diff --git a/src/sass/_base.scss b/src/sass/_base.scss index 2cd58c0..4a33f3f 100644 --- a/src/sass/_base.scss +++ b/src/sass/_base.scss @@ -488,8 +488,8 @@ img { max-width: 45em; .icon { - width: $font-size-16 * 6; - height: $font-size-16 * 6; + width: $font-size-16 * 8; + height: $font-size-16 * 8; color: $gray-700; } diff --git a/src/sass/_mobile.scss b/src/sass/_mobile.scss index 27da7d5..2399e9c 100644 --- a/src/sass/_mobile.scss +++ b/src/sass/_mobile.scss @@ -27,8 +27,8 @@ padding: $padding-16 * 6 $padding-16; .icon { - width: $font-size-16 * 4; - height: $font-size-16 * 4; + width: $font-size-16 * 6; + height: $font-size-16 * 6; } &__message {