Revert "Add a separate button for Mihon"

This reverts commit c2f5c83d52fe931a00cf96b19d1275d993fbc4ac.
This commit is contained in:
beerpiss 2024-01-16 17:43:42 +07:00
parent 94d5494e01
commit a57a0cdac2
No known key found for this signature in database
GPG Key ID: BF5DCBABB5F41037
2 changed files with 22 additions and 56 deletions

View File

@ -69,34 +69,24 @@ body.ready {
text-decoration: none text-decoration: none
} }
.add-to-apps { .base-url {
display: flex; margin: .75rem auto;
flex-direction: row; padding: .75rem 1rem;
border-style: solid;
border-radius: .125rem;
border-width: 1px;
border-color: #60a5fa;
background-color: #eff6ff
} }
.add-to-apps sl-button { .base-url__title {
flex: 1; font-weight: 600;
padding: 0.25rem; margin: 0;
margin-bottom: .5rem
} }
sl-button.tachiyomi::part(base) { .base-url__url {
background-color: #2c84c2; margin: 0
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 { .sources {

View File

@ -39,17 +39,7 @@
<p class="header__title">Keiyoushi</p> <p class="header__title">Keiyoushi</p>
</header> </header>
<div class="description"> <div class="description">
Join the Join the <a class="description__anchor" href="https://discord.gg/3FbCpdKbdY" onclick="window.goatcounter?.count({ path: location.pathname + '#discord' })">Discord server</a> for support. Make sure to star <a class="description__anchor" href="https://github.com/keiyoushi/extensions">the GitHub repo</a>.
<a class="description__anchor"
href="https://discord.gg/3FbCpdKbdY"
onclick="window.goatcounter?.count({ path: location.pathname + '#discord' })">
Discord server
</a>
for support. Make sure to star
<a class="description__anchor"
href="https://github.com/keiyoushi/extensions">
the GitHub repo
</a>.
</div> </div>
<h2 class="header">Guide</h2> <h2 class="header">Guide</h2>
@ -66,27 +56,13 @@
<li>Aniyomi Preview r7443+</li> <li>Aniyomi Preview r7443+</li>
</ul> </ul>
<div class="add-to-apps"> <sl-button
<sl-button style="display: flex; justify-content: center;"
class="mihon" variant="primary"
style="display: flex; justify-content: center;" href="tachiyomi://add-repo?url=https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json"
variant="primary" onclick="window.goatcounter?.count({ path: location.pathname + '#add-to-tachiyomi' })">
href="mihon://add-repo?url=https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json" Add to Mihon/Tachiyomi
onclick="window.goatcounter?.count({ path: location.pathname + '#add-to-mihon' })"> </sl-button>
Add to Mihon
</sl-button>
<sl-button
class="tachiyomi"
style="display: flex; justify-content: center;"
variant="primary"
href="tachiyomi://add-repo?url=https://raw.githubusercontent.com/keiyoushi/extensions/repo/index.min.json"
onclick="window.goatcounter?.count({ path: location.pathname + '#add-to-tachiyomi' })">
Add to Tachiyomi
</sl-button>
</div>
</div> </div>
<div> <div>