eng0.3.0
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<div class="body-trans">
|
||||
<div id="maindiv">
|
||||
<progress class="progress-page" id="progresspage"></progress><br><h id="titlesys"></h>
|
||||
<div id="bodydiv">
|
||||
<div id="bodydiv" style="visibility: hidden;">
|
||||
<div id="title_ch" class="titlediv">
|
||||
<h2 id="namech"></h2>
|
||||
</div>
|
||||
|
||||
+6
-3
@@ -51,15 +51,18 @@ summary {
|
||||
}
|
||||
|
||||
a {
|
||||
color: deeppink;
|
||||
color: Pink;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: purple;
|
||||
color: HotPink;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: pink;
|
||||
color: PaleVioletRed;
|
||||
}
|
||||
.title-index-nyaa {
|
||||
color: Orchid;
|
||||
}
|
||||
|
||||
#card {
|
||||
|
||||
+7
-3
@@ -51,15 +51,19 @@ summary {
|
||||
}
|
||||
|
||||
a {
|
||||
color: deeppink;
|
||||
color: Pink;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: purple;
|
||||
color: HotPink;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: pink;
|
||||
color: PaleVioletRed;
|
||||
}
|
||||
|
||||
.title-index-nyaa {
|
||||
color: Orchid;
|
||||
}
|
||||
|
||||
#card {
|
||||
|
||||
+6
-2
@@ -51,11 +51,15 @@ a {
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: purple;
|
||||
color: FireBrick;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: darkblue;
|
||||
color: Red;
|
||||
}
|
||||
|
||||
.title-index-nyaa {
|
||||
color: Indigo;
|
||||
}
|
||||
|
||||
#card {
|
||||
|
||||
@@ -40,6 +40,9 @@
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
.carda {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width : 800px) {
|
||||
|
||||
+4
-3
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<title>Loading...</title>
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<link rel="stylesheet" href="css/index.css">
|
||||
<link rel="stylesheet" href="css/index.css?v=1">
|
||||
<script type="text/javascript" src="js/index.js"></script>
|
||||
<script type="text/javascript" src="js/theming.js"></script>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
@@ -14,6 +14,7 @@
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-WBB07CK3DY');
|
||||
</script>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta property="og:title" content="Главная">
|
||||
@@ -31,11 +32,11 @@
|
||||
<div class="body-trans">
|
||||
<div id="maindiv">
|
||||
<progress class="progress-page" id="progresspage"></progress><br><h id="titlesys"></h>
|
||||
<div id="bodydiv">
|
||||
<div id="bodydiv" style="visibility: hidden;">
|
||||
<!—noindex—>
|
||||
<img id="cover" class="cover">
|
||||
<div id="title" class="titlediv">
|
||||
<h1>Manga.nyaa.ninja</h1>
|
||||
<h1>Manga.<span class="title-index-nyaa">nyaa</span>.ninja</h1>
|
||||
</div>
|
||||
<a class="aace" href="https://discord.gg/WGktEbWTEV" target="_blank">[Discord] Новости на Silver Town</a>
|
||||
<br><button id="lastchbutton" class="card-button last-ch" onclick="last_ch_go()"></button>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
function load_page_first() {
|
||||
document.getElementById('bodydiv').style.visibility = "hidden";
|
||||
var id_chapt = window.location.hash.replace("#", "");
|
||||
chapt_ref = id_chapt.split("_");
|
||||
document.cookie = "idchaptlast="+id_chapt+"; max-age=2592000; secure";
|
||||
|
||||
@@ -3,7 +3,6 @@ function getRandomInt(min, max) {
|
||||
}
|
||||
|
||||
function start() {
|
||||
document.getElementById('bodydiv').style.visibility = "hidden";
|
||||
var last_ch_id = document.cookie.replace(/(?:(?:^|.*;\s*)idchaptlast\s*\=\s*([^;]*).*$)|^.*$/, "$1");
|
||||
if(last_ch_id == "") {
|
||||
document.getElementById('lastchbutton').textContent = "Последней главы нет";
|
||||
|
||||
+1
-1
@@ -1,5 +1,4 @@
|
||||
function start() {
|
||||
document.getElementById("cardinfo").style.visibility = "hidden";
|
||||
var id_chapt = window.location.hash.replace("#", "");
|
||||
var requestURL = "json/" + id_chapt + ".json";
|
||||
var request = new XMLHttpRequest();
|
||||
@@ -30,6 +29,7 @@ function start() {
|
||||
ch_p_one.append(ch_one);
|
||||
document.getElementById('helper1').before(ch_p_one);
|
||||
}
|
||||
document.getElementById('bodydiv').style.visibility = "visible";
|
||||
document.getElementById('progress').style.visibility = "hidden";
|
||||
}
|
||||
}
|
||||
|
||||
+8
-1
@@ -1,9 +1,16 @@
|
||||
function getRandomInt(min, max) {
|
||||
min = Math.ceil(min);
|
||||
max = Math.floor(max);
|
||||
return Math.floor(Math.random() * (max - min)) + min;
|
||||
}
|
||||
|
||||
function addstylesheet(name_short) {
|
||||
var head = document.head;
|
||||
var link = document.createElement("link");
|
||||
link.type = "text/css";
|
||||
link.rel = "stylesheet";
|
||||
name_style = "css/color-"+name_short+".css"
|
||||
version = 2
|
||||
name_style = "css/color-"+name_short+".css?v=" + version;
|
||||
link.href = name_style;
|
||||
link.id = "currentstylesheet";
|
||||
head.appendChild(link);
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
<div class="body-trans">
|
||||
<div id="maindiv">
|
||||
<progress class="progress-page" id="progress"></progress><br>
|
||||
<div id="bodydiv">
|
||||
<div id="bodydiv" style="visibility: hidden;">
|
||||
<img id="cover" class="cover">
|
||||
<div id="title" class="titlediv">
|
||||
<h1></h1>
|
||||
|
||||
Reference in New Issue
Block a user