From c2f5c83d52fe931a00cf96b19d1275d993fbc4ac Mon Sep 17 00:00:00 2001 From: beerpiss Date: Tue, 16 Jan 2024 17:40:02 +0700 Subject: [PATCH] Add a separate button for Mihon --- index.css | 38 ++++++++++++++++++++++++-------------- index.html | 40 ++++++++++++++++++++++++++++++++-------- 2 files changed, 56 insertions(+), 22 deletions(-) diff --git a/index.css b/index.css index cb4a218b..4b89d321 100644 --- a/index.css +++ b/index.css @@ -71,24 +71,34 @@ body.ready { text-decoration: none } -.base-url { - margin: .75rem auto; - padding: .75rem 1rem; - border-style: solid; - border-radius: .125rem; - border-width: 1px; - border-color: #60a5fa; - background-color: #eff6ff +.add-to-apps { + display: flex; + flex-direction: row; + } -.base-url__title { - font-weight: 600; - margin: 0; - margin-bottom: .5rem +.add-to-apps sl-button { + flex: 1; + padding: 0.25rem; } -.base-url__url { - margin: 0 +sl-button.tachiyomi::part(base) { + background-color: #2c84c2; + border-color: #2c84c2; +} + +@media (prefers-color-scheme: light) { + sl-button.mihon::part(base) { + background-color: #0058a0; + border-color: #0058a0; + } +} + +@media (prefers-color-scheme: dark) { + sl-button.mihon::part(base) { + background-color: #7ebbed; + border-color: #7ebbed; + } } .sources { diff --git a/index.html b/index.html index 74c769e0..599648f0 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,17 @@

Keiyoushi

- Join the Discord server for support. Make sure to star the GitHub repo. + Join the + + Discord server + + for support. Make sure to star + + the GitHub repo + .

Guide

@@ -56,13 +66,27 @@
  • Aniyomi Preview r7443+
  • - - Add to Mihon/Tachiyomi - +
    + + Add to Mihon + + + + Add to Tachiyomi + +
    + +