From 33d1c57b87515ec9d34601a399b97764e6cd5279 Mon Sep 17 00:00:00 2001 From: Simon M Date: Thu, 10 Oct 2019 13:41:05 +0200 Subject: [PATCH] Getting started download buttons (#82) * Added download buttons * Restyle designs and alignment * Fixed a minor indentation * Add more font fallbacks * Feedback Commit --- src/.vuepress/components/DownloadButtons.vue | 122 +++++++++++++++++++ src/.vuepress/styles/index.scss | 7 ++ src/.vuepress/theme/components/Home.vue | 4 +- src/help/guides/getting-started.md | 2 +- 4 files changed, 132 insertions(+), 3 deletions(-) create mode 100644 src/.vuepress/components/DownloadButtons.vue diff --git a/src/.vuepress/components/DownloadButtons.vue b/src/.vuepress/components/DownloadButtons.vue new file mode 100644 index 00000000..cac8bafc --- /dev/null +++ b/src/.vuepress/components/DownloadButtons.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/src/.vuepress/styles/index.scss b/src/.vuepress/styles/index.scss index 825a1001..aba54151 100644 --- a/src/.vuepress/styles/index.scss +++ b/src/.vuepress/styles/index.scss @@ -108,3 +108,10 @@ } } } + +.no-select { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} diff --git a/src/.vuepress/theme/components/Home.vue b/src/.vuepress/theme/components/Home.vue index 92d5aaa4..ca8610bc 100644 --- a/src/.vuepress/theme/components/Home.vue +++ b/src/.vuepress/theme/components/Home.vue @@ -29,7 +29,7 @@

@@ -149,7 +149,7 @@ export default { background-color: lighten($accentColor, 10%); } - &.secundary { + &.secondary { background-color: darken($borderColor, 5%); color: lighten($textColor, 25%); border-bottom-color: darken($borderColor, 15%); diff --git a/src/help/guides/getting-started.md b/src/help/guides/getting-started.md index cf915004..9e4c6706 100644 --- a/src/help/guides/getting-started.md +++ b/src/help/guides/getting-started.md @@ -7,7 +7,7 @@ lang: en-US ## Installation -[![github](https://img.shields.io/github/release/inorichi/tachiyomi.svg?style=for-the-badge&maxAge=600)](https://github.com/inorichi/tachiyomi/releases/latest) [![github downloads](https://img.shields.io/github/downloads/inorichi/tachiyomi/total.svg?style=for-the-badge&maxAge=600)](http://www.somsubhra.com/github-release-stats/?username=inorichi&repository=tachiyomi) + You can download the latest version of `Tachiyomi` from the [GitHub releases](https://github.com/inorichi/tachiyomi/releases/latest).