Skip to content

Commit

Permalink
图片压缩
Browse files Browse the repository at this point in the history
  • Loading branch information
AyagawaSeirin committed Feb 6, 2020
1 parent 4846ec0 commit 6fa610c
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
14 changes: 7 additions & 7 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ h1 {
}

#section_index {
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/1.jpg");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s1.jpg");
}

#section_index h1 {
Expand All @@ -29,7 +29,7 @@ h1 {
}

#section_introduce {
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/2.jpg");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s2.jpg");
text-align: left;
padding-left: 5vw;
padding-right: 5vw;
Expand Down Expand Up @@ -57,30 +57,30 @@ h2 {
}

#section_video_slide1 {
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/3.jpg");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s3.jpg");
padding: 6% 0 0 0;
}

#section_video_slide2 {
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/4.jpg");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s4.jpg");
padding: 6% 0 0 0;
}

#section_article{
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/5.png");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s5.png");
text-align: left;
padding-left: 5vw;
padding-right: 5vw;
}

#section_good_text{
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/6.jpg");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s6.jpg");
text-align: left;
padding-left: 5vw;
padding-right: 5vw;
}
#section_about{
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/img/7.jpg");
background-image: url("https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/img/s7.jpg");
text-align: center;
padding-left: 5vw;
padding-right: 5vw;
Expand Down
16 changes: 8 additions & 8 deletions home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/mdui/css/mdui.min.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/mdui/js/mdui.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/css/main.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/fullpage/fullpage.js"></script>
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/js/main.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/fullpage/fullpage.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/css/lightfont.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/mdui/css/mdui.min.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/mdui/js/mdui.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/css/main.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/fullpage/fullpage.js"></script>
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/js/main.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/fullpage/fullpage.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/css/lightfont.css">
<script>
var _hmt = _hmt || [];
(function () {
Expand Down Expand Up @@ -152,7 +152,7 @@
function get_text() {
var $$ = mdui.JQ;
$$.ajax({
url: "https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/sentence/sentence.json",
url: "https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/sentence/sentence.json",
async: true,
type: 'GET',
dataType: "json",
Expand Down
Binary file added img/s1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/s7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎来到 三体-宇宙</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/mdui/css/mdui.min.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/mdui/js/mdui.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/css/main.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/fullpage/fullpage.js"></script>
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/js/main.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/fullpage/fullpage.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/css/lightfont.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/mdui/css/mdui.min.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/mdui/js/mdui.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/css/main.css">
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/fullpage/fullpage.js"></script>
<script src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/js/main.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/fullpage/fullpage.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/css/lightfont.css">
<script>
var _hmt = _hmt || [];
(function() {
Expand Down Expand Up @@ -217,7 +217,7 @@ <h2 id="h2">Welcome back</h2>

<canvas id="canvas"></canvas>

<script data-cfasync="false" src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.0/js/email-decode.min.js"></script><script>
<script data-cfasync="false" src="https://cdn.jsdelivr.net/gh/AyagawaSeirin/ThreebodySpace@1.1/js/email-decode.min.js"></script><script>
var Stats=function(){var e=Date.now(),t=e,i=0,n=1/0,r=0,s=0,o=1/0,a=0,l=0,h=0,c=document.createElement("div");c.id="stats",c.addEventListener("mousedown",function(e){e.preventDefault(),v(++h%2)},!1),c.style.cssText="width:80px;opacity:0.9;cursor:pointer";var u=document.createElement("div");u.id="fps",u.style.cssText="padding:0 0 3px 3px;text-align:left;background-color:#002",c.appendChild(u);var d=document.createElement("div");d.id="fpsText",d.style.cssText="color:#0ff;font-family:Helvetica,Arial,sans-serif;font-size:9px;font-weight:bold;line-height:15px",d.innerHTML="FPS",u.appendChild(d);var p=document.createElement("div");for(p.id="fpsGraph",p.style.cssText="position:relative;width:74px;height:30px;background-color:#0ff",u.appendChild(p);74>p.children.length;){var f=document.createElement("span");f.style.cssText="width:1px;height:30px;float:left;background-color:#113",p.appendChild(f)}var m=document.createElement("div");m.id="ms",m.style.cssText="padding:0 0 3px 3px;text-align:left;background-color:#020;display:none",c.appendChild(m);var g=document.createElement("div");g.id="msText",g.style.cssText="color:#0f0;font-family:Helvetica,Arial,sans-serif;font-size:9px;font-weight:bold;line-height:15px",g.innerHTML="MS",m.appendChild(g);var y=document.createElement("div");for(y.id="msGraph",y.style.cssText="position:relative;width:74px;height:30px;background-color:#0f0",m.appendChild(y);74>y.children.length;){var f=document.createElement("span");f.style.cssText="width:1px;height:30px;float:left;background-color:#131",y.appendChild(f)}var v=function(e){switch(h=e){case 0:u.style.display="block",m.style.display="none";break;case 1:u.style.display="none",m.style.display="block"}},b=function(e,t){var i=e.appendChild(e.firstChild);i.style.height=t+"px"};return{REVISION:11,domElement:c,setMode:v,begin:function(){e=Date.now()},end:function(){var h=Date.now();return i=h-e,n=Math.min(n,i),r=Math.max(r,i),g.textContent=i+" MS ("+n+"-"+r+")",b(y,Math.min(30,30-30*(i/200))),l++,h>t+1e3&&(s=Math.round(1e3*l/(h-t)),o=Math.min(o,s),a=Math.max(a,s),d.textContent=s+" FPS ("+o+"-"+a+")",b(p,Math.min(30,30-30*(s/100))),t=h,l=0),h},update:function(){e=this.end()}}};
</script>
<script>
Expand Down

0 comments on commit 6fa610c

Please sign in to comment.