Large update to all files

This commit is contained in:
Simon Mattila 2019-07-22 22:28:44 +02:00
parent ce66a975bc
commit 51fb3c7a23
5 changed files with 182 additions and 112 deletions

BIN
assets/step-catalogues.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
assets/step-save.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 848 KiB

View File

@ -1,153 +1,175 @@
html, html, body {
body { height: 100%;
height: 100%;
} }
body { body {
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
-ms-flex-align: center; -ms-flex-align: center;
align-items: center; align-items: center;
padding-top: 40px; padding-top: 40px;
padding-bottom: 40px; padding-bottom: 40px;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.form-signin { .form-signin {
width: 100%; width: 100%;
max-width: 480px; max-width: 500px;
padding: 15px; padding: 15px;
margin: auto; margin: auto;
} }
.form-label-group { .form-label-group {
position: relative; position: relative;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.form-label-group>input, .form-label-group>label {
.form-label-group > input, height: 3.125rem;
.form-label-group > label { padding: .75rem;
height: 3.125rem;
padding: .75rem;
} }
.form-label-group>label {
.form-label-group > label { position: absolute;
position: absolute; top: 0;
top: 0; left: 0;
left: 0; display: block;
display: block; width: 100%;
width: 100%; margin-bottom: 0;
margin-bottom: 0; /* Override default `<label>` margin */ /* Override default `<label>` margin */
line-height: 1.5; line-height: 1.5;
color: #495057; color: #495057;
pointer-events: none; pointer-events: none;
cursor: text; /* Match the input under the label */ cursor: text;
border: 1px solid transparent; /* Match the input under the label */
border-radius: .25rem; border: 1px solid transparent;
transition: all .1s ease-in-out; border-radius: .25rem;
transition: all .1s ease-in-out;
} }
.form-label-group input::-webkit-input-placeholder { .form-label-group input::-webkit-input-placeholder {
color: transparent; color: transparent;
} }
.form-label-group input:-ms-input-placeholder { .form-label-group input:-ms-input-placeholder {
color: transparent; color: transparent;
} }
.form-label-group input::-ms-input-placeholder { .form-label-group input::-ms-input-placeholder {
color: transparent; color: transparent;
} }
.form-label-group input::-moz-placeholder { .form-label-group input::-moz-placeholder {
color: transparent; color: transparent;
} }
.form-label-group input::placeholder { .form-label-group input::placeholder {
color: transparent; color: transparent;
} }
.form-label-group input:not(:placeholder-shown) { .form-label-group input:not(:placeholder-shown) {
padding-top: 1.25rem; padding-top: 1.25rem;
padding-bottom: .25rem; padding-bottom: .25rem;
} }
.form-label-group input:not(:placeholder-shown)~label {
.form-label-group input:not(:placeholder-shown) ~ label { padding-top: .25rem;
padding-top: .25rem; padding-bottom: .25rem;
padding-bottom: .25rem; font-size: 12px;
font-size: 12px; color: #777;
color: #777;
} }
/* Fallback for Edge /* Fallback for Edge
-------------------------------------------------- */ -------------------------------------------------- */
@supports (-ms-ime-align: auto) {
.form-label-group > label {
display: none;
}
.form-label-group input::-ms-input-placeholder {
color: #777;
}
}
@supports (-ms-ime-align: auto) {
.form-label-group>label {
display: none;
}
.form-label-group input::-ms-input-placeholder {
color: #777;
}
}
/* Fallback for IE /* Fallback for IE
-------------------------------------------------- */ -------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.form-label-group > label {
display: none;
}
.form-label-group input:-ms-input-placeholder {
color: #777;
}
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.form-label-group>label {
display: none;
}
.form-label-group input:-ms-input-placeholder {
color: #777;
}
}
/* Custom /* Custom
-------------------------------------------------- */ -------------------------------------------------- */
.mainstep {
color: #000;
}
.step { .step {
padding: 5px; padding: 5px;
} }
.step-number { .step-number {
display: inline-block; display: inline-block;
color: #fff; color: #fff;
width: 22px; width: 22px;
height: 22px; height: 22px;
background-color: #54759E; background-color: #54759E;
margin-right: 2px; margin-right: 2px;
text-align: center; text-align: center;
line-height: 22px; line-height: 22px;
border-radius: 50%; border-radius: 50%;
margin-top: 5px; margin-top: 5px;
} }
.step-img { .step-img {
padding-top: 10px; padding-top: 10px;
padding-bottom: 5px; padding-bottom: 5px;
max-width: 325px; max-width: 325px;
} }
.faq {
padding: 5px;
}
.faq-question {
font-size: 112.5%;
color: #e83e8c;
word-break: break-word;
}
.faq-answer {
font-size: 112.5%;
color: #54759E;
word-break: break-word;
}
a { a {
color: #54759E; color: #54759E;
} }
a:hover {
text-decoration: none;
}
a>.mainstep:hover {
color: #54759E;
}
a.step-number:hover { a.step-number:hover {
background-color: #435E7E; background-color: #435E7E;
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
} }
a.faq-question:hover {
background-color: #00000000;
color: #e83e8c;
font-weight: 500;
text-decoration: none;
}
a.faq-answer:hover {
background-color: #00000000;
color: #54759E;
font-weight: 500;
text-decoration: none;
}
:target { :target {
-webkit-animation: target-fade 3s 1; -webkit-animation: target-fade 3s 1;
-moz-animation: target-fade 3s 1; -moz-animation: target-fade 3s 1;
} }
@-webkit-keyframes target-fade { @-webkit-keyframes target-fade {
0% { background-color: rgba(255,255,0,.25); } 0% {
100% { background-color: rgba(255,255,0,0); } background-color: rgba(255, 255, 0, .25);
}
100% {
background-color: rgba(255, 255, 0, 0);
}
} }
@-moz-keyframes target-fade { @-moz-keyframes target-fade {
0% { background-color: rgba(255,255,0,.25); } 0% {
100% { background-color: rgba(255,255,0,0); } background-color: rgba(255, 255, 0, .25);
}
100% {
background-color: rgba(255, 255, 0, 0);
}
} }

32
faq/index.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tachiyomi FAQ</title>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<meta content="" name="description">
<link href="../favicon.ico" rel="icon">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<link href="../assets/style.css" rel="stylesheet">
</head>
<body>
<form class="form-signin">
<div class="text-center mb-4">
<img class="mb-4" src="../assets/app-icon.png">
<h1 class="h3 mb-3 font-weight-normal">Frequently Asked Questions</h1>
</div>
<div class="text-center mb-4">
<p class="faq" id="faq1"><a class="faq-question" href="#faq1">Q</a> How do I allow third-party installations on my phone?<br>
<a class="faq-answer" href="#faq1">A</a> When installing your first extension and are promted that your phone isn't allowed to install unknown apps from that source, simply press the <code>Settings</code> button and then allow it.<br>
Read more in-depth <a href="https://android.gadgethacks.com/how-to/sideload-apps-android-8-0-higher-now-unknown-sources-is-gone-0184399/" target="_blank">here</a>.</p>
</div>
<p class="mt-5 mb-3 text-muted text-center">More frequently asked questions can be found <a href="https://github.com/inorichi/tachiyomi/wiki/FAQ#frequently-asked-questions" target="_blank">here</a></p>
</form>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js">
</script>
</body>
</html>

View File

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Tachiyomi Installation</title> <title>Tachiyomi Installation</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"> <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
@ -9,10 +8,8 @@
<link href="favicon.ico" rel="icon"> <link href="favicon.ico" rel="icon">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/style.css" rel="stylesheet"> <link href="assets/style.css" rel="stylesheet">
</head> </head>
<body> <body>
<form class="form-signin"> <form class="form-signin">
<div class="text-center mb-4"> <div class="text-center mb-4">
<img class="mb-4" src="assets/app-icon.png"> <img class="mb-4" src="assets/app-icon.png">
@ -20,28 +17,47 @@
<p><a href="https://github.com/inorichi/tachiyomi">Tachiyomi</a> is a free and open source manga reader for Android.</p> <p><a href="https://github.com/inorichi/tachiyomi">Tachiyomi</a> is a free and open source manga reader for Android.</p>
</div> </div>
<div class="text-center mb-4"> <div class="text-center mb-4">
<div id="installation">
<h1 id="installation" class="h5 mb-3 font-weight-normal">Installation</h1> <a href="#installation">
<h1 class="h5 mb-3 font-weight-normal mainstep">Installation</h1></a>
<p id="step1" class="step"><a href="#step1" class="step-number">1</a> Get the latest stable release from <a href="https://github.com/inorichi/tachiyomi/releases/tag/v0.8.4">GitHub.</a><br> <p class="step" id="step1"><a class="step-number" href="#step1">1</a> Get the latest stable release from <a href="https://github.com/inorichi/tachiyomi/releases/tag/v0.8.4">GitHub.</a><br>
<code>tachiyomi-vX.Y.Z.apk</code></p> <code>tachiyomi-vX.Y.Z.apk</code></p>
<p class="step" id="step2"><a class="step-number" href="#step2">2</a> Install the <code>.apk</code> file you just downloaded from GitHub.<br>
<p id="step2" class="step"><a href="#step2" class="step-number">2</a> Install the <code>.apk</code> file you just downloaded from GitHub.</br><img class="img-fluid step-img" src="assets/step-install.jpg"></p> <img class="img-fluid step-img" src="assets/step-install.jpg"></p>
</div>
<h1 id="extensions" class="h5 mb-3 font-weight-normal">Extensions</h1> <div id="extensions">
<a href="#extensions">
<p id="step3" class="step"><a href="#step3" class="step-number">3</a> Once installed, open the app and navigate to "Extensions".</br><img class="img-fluid step-img" src="assets/step-extensions.png"></p> <h1 class="h5 mb-3 font-weight-normal mainstep">Extensions</h1></a>
<p class="step" id="step3"><a class="step-number" href="#step3">3</a> Now that Tachiyomi is installed, open the app and navigate to the <code>Extensions</code> tab.<br>
<img class="img-fluid step-img" src="assets/step-extensions.png"></p>
<p class="step" id="step4"><a class="step-number" href="#step4">4</a> In this guide we will use <code>MangaDex</code>, our most popular extension. Press the <code>Install</code> button and it will bring up the extension installer. If your phone does not allow third-party installations, follow <a href="faq/index.html#faq1">this</a> guide.<br>
<br>
If you successfully installed MangaDex then it should now show up in the <code>Catalogues</code> tab.<br>
<br>
The items appearing here are called <code>Sources</code>, an extension can contain multiple sources.<br>
<img class="img-fluid step-img" src="assets/step-catalogues.png"></p>
</div>
<div id="library">
<a href="#library">
<h1 class="h5 mb-3 font-weight-normal mainstep">Library</h1></a>
<p class="step" id="step5"><a class="step-number" href="#step5">5</a> To find manga, you can now either use the <code>Latest</code> button on your source, or you can use <code>Browse</code> and search for it.</p>
<p class="step" id="step6"><a class="step-number" href="#step6">6</a> Now that you've found manga that you want to add to your library, click on it and then press the blue bookmark button.<br>
<br>
It should now appear in your <code>My library</code> tab, ready to be read!<br>
<img class="img-fluid step-img" src="assets/step-save.png"></p>
</div>
<div id="finished">
<a href="#finished">
<h1 class="h5 mb-3 font-weight-normal mainstep">Finished</h1></a>
<p>Now you're finished and know how to use the app, if there's anything else you need you can <a href="https://github.com/inorichi/tachiyomi/wiki">visit the wiki</a> or <a href="https://discord.gg/tachiyomi">join our Discord</a></p>
</div>
</div> </div>
<p class="mt-5 mb-3 text-muted text-center">&copy; 2019-</p>
</form> </form>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js">
</script> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js">
</script> </script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js">
</script> </script>
</body> </body>
</html> </html>