Skip to content

Commit

Permalink
gogo
Browse files Browse the repository at this point in the history
  • Loading branch information
zxmacc committed Feb 13, 2022
1 parent 0a459e1 commit 8ee859d
Show file tree
Hide file tree
Showing 56 changed files with 22,530 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 zxmacc
Copyright (c) 2020 ITJoker

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 原版ITJoker的个人主页
原作者: ITJoker
Description Web Site:https://www.itjoker.cn
Blog Web Site: https://blog.itjoker.cn
Blog RSS Site: https://blog.itjoker.cn/atom.xml

# 使用了MDUI
Site: https://www.mdui.org/
54 changes: 54 additions & 0 deletions assets/Detector.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/**
* @author alteredq
* @author mr.doob
*/

Detector = {

canvas : !! window.CanvasRenderingContext2D,
webgl : ( function () { try { return !! window.WebGLRenderingContext && !! document.createElement( 'canvas' ).getContext( 'experimental-webgl' ); } catch( e ) { return false; } } )(),
workers : !! window.Worker,
fileapi : window.File && window.FileReader && window.FileList && window.Blob,

getWebGLErrorMessage : function () {

var domElement = document.createElement( 'div' );

domElement.style.fontFamily = 'monospace';
domElement.style.fontSize = '13px';
domElement.style.textAlign = 'center';
domElement.style.background = '#eee';
domElement.style.color = '#000';
domElement.style.padding = '1em';
domElement.style.width = '475px';
domElement.style.margin = '5em auto 0';

if ( ! this.webgl ) {

domElement.innerHTML = window.WebGLRenderingContext ? [
'对不起,你的显卡不支持 <a href="/khronos.org/webgl/wiki/Getting_a_WebGL_Implementation">WebGL</a>'
].join( '\n' ) : [
'对不起,您的浏览器不支持 <a href="/khronos.org/webgl/wiki/Getting_a_WebGL_Implementation">WebGL</a><br/>',
'请升级你的浏览器!'
].join( '\n' );
}
return domElement;
},

addGetWebGLMessage : function ( parameters ) {

var parent, id, domElement;

parameters = parameters || {};

parent = parameters.parent !== undefined ? parameters.parent : document.body;
id = parameters.id !== undefined ? parameters.id : 'oldie';

domElement = Detector.getWebGLErrorMessage();
domElement.id = id;

parent.appendChild( domElement );

}

};
1 change: 1 addition & 0 deletions assets/Detector.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions assets/RequestAnimationFrame.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* Provides requestAnimationFrame in a cross browser way.
* /paulirish.com/2011/requestanimationframe-for-smart-animating/
*/

if ( !window.requestAnimationFrame ) {

window.requestAnimationFrame = ( function() {

return window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function( /* function FrameRequestCallback */ callback, /* DOMElement Element */ element ) {

window.setTimeout( callback, 1000 / 60 );

};

} )();

}
1 change: 1 addition & 0 deletions assets/RequestAnimationFrame.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

175 changes: 175 additions & 0 deletions assets/ThreeExtras.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions assets/ThreeExtras.min.js

Large diffs are not rendered by default.

286 changes: 286 additions & 0 deletions assets/ThreeWebGL.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions assets/ThreeWebGL.min.js

Large diffs are not rendered by default.

Binary file added assets/cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions assets/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
body {
margin: 0;
background: #2e2e2c;
}
* {
-webkit-tap-highlight-color: transparent;
}
::selection {
color: #e0e0e0;
background: rgba(255,64,129,.35);
}
#rin-bg {
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -2;
position: fixed;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: 50% 50%;
background-color: #818181;
background-image: url('https://cdn.jsdelivr.net/gh/AyagawaSeirin/homepage@latest/assets/img/background.jpg');
}
#rin-bg:after {
top: 0;
left: 0;
right: 0;
bottom: 0;
content: '';
z-index: -1;
position: fixed;
background-color: rgba(66,66,66,.6);
}

#rin-footer {
bottom: 0;
margin: auto;
width: 100vw;
position: absolute;
padding: 10px 0 10px 0;
}
#rin-footer div {
font-size: 14px;
text-align: center;
color: rgba(255,255,255,.79);
}
#rin-footer div a {
color: #2196f3;
font-weight: 700;
transition: all .3s;
text-decoration: none;
}
.rin-tr {
width: 80%;
height: 2px;
margin: auto;
background: rgba(255,255,255,.3);
}
124 changes: 124 additions & 0 deletions assets/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions assets/main.min.js

Large diffs are not rendered by default.

Loading

1 comment on commit 8ee859d

@vercel
Copy link

@vercel vercel bot commented on 8ee859d Feb 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.