Merge pull request #38 from tachiyomiorg/soitora-slight-styling

Small styling tweaks
This commit is contained in:
Soitora 2019-09-24 14:36:34 +02:00 committed by GitHub
commit 16092bdd94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 4 deletions

View File

@ -12,7 +12,7 @@ module.exports = [
'container',
{
type: 'expander',
before: info => `<details><summary>${info}</summary>\n`,
before: info => `<details class="expander_details"><summary class="expander_summary">${info}</summary>\n`,
after: '</details>\n'
}
],

View File

@ -10,6 +10,45 @@
border-color: #2E84BF !important;
}
.home .hero img {
max-height: 120px !important;
}
.expander_details {
background-color: #f3f5f7;
color: #2E84BF;
border-left: 0.5rem solid #2E84BF;
}
.expander_details strong {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.expander_details ol {
padding: 0 0 1rem 1.5rem;
margin-left: 1rem;
}
.expander_details li {
font-weight: 500;
}
.expander_details ul li {
font-weight: 400;
}
.expander_summary {
padding: 1rem 1.5rem;
}
.expander_summary:focus {
outline: none !important;
}
.badge.default-indicator {
background-color: #2E84BF !important;
}
@ -17,4 +56,3 @@
.badge.version-indicator {
background-color: #000000 !important;
}

View File

@ -72,7 +72,6 @@ Be aware that Batoto is deprecated so you will need to migrate from that source
:::
::: expander <strong>Click to expand!</strong>
::: tip
1. Batoto
2. Mangahere
3. Mangafox
@ -90,7 +89,6 @@ Be aware that Batoto is deprecated so you will need to migrate from that source
Some extensions contain multiple sources, look at the list below to find out which extension to install for the specific source that you want.
::: expander <strong>Click to expand!</strong>
::: tip
1. Comicake
- Whim Scans
- Champion Scans