1
0
This commit is contained in:
syui 2024-04-15 03:49:38 +09:00
parent 8f1ace8220
commit c0007d0941
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
66 changed files with 535 additions and 569 deletions

View File

@ -1,520 +0,0 @@
html {
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-ms-font-smoothing: antialiased;
-o-font-smoothing: antialiased;
}
body {
background-attachment: fixed;
-webkit-background-size: cover;
background-size: cover;
color: #444;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#window {
margin-left: auto;
margin-right: auto;
background: #343434;
border-radius: 7px;
overflow: hidden;
width: 100%;
height: 100%;
}
#topbar {
width: 100%;
height: 21px;
font-size: 16px;
font-family: "Myriad Pro", sans-serif;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25);
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
#topbar ul li {
float: left;
padding: 0 10px;
height: 21px;
line-height: 24px;
}
#topbar ul li:first-child {
font-size: 20px;
line-height: 26px;
margin-left: 5px;
}
#topbar ul li:nth-child(2) {
font-family: "Myriad-Semi", sans-serif;
}
#topbar ul li:active {
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #4a82ff), color-stop(0, #0052fc));
color: #fff;
text-shadow: none;
}
#toolbar {
width: 100%;
height: 25px;
background: #ccc;
}
#toolbar .top {
float: left;
width: 100%;
height: 23px;
}
#toolbar .bottom {
float: left;
width: 100%;
height: 30px;
}
#toolbar #lights {
float: left;
position: relative;
top: 6px;
left: 7px;
}
.light {
float: left;
width: 14px;
height: 14px;
border-radius: 14px;
-webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 0px 3px #000 inset;
-moz-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 0px 3px #000 inset;
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 0px 3px #000 inset;
overflow: hidden;
}
#lights:hover .glyph {
opacity: 1;
cursor: default;
}
.light .shine {
width: 4px;
height: 3px;
border-radius: 10px;
background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: -o-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: -ms-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.light .glow {
width: 14px;
height: 8px;
background-image: -webkit-gradient(radial, center bottom, 0, center center, 5, from(rgba(255, 255, 255, 0.75)), to(rgba(255, 255, 255, 0)));
background: 0px 0px -moz-radial-gradient(bottom, cover, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0) 80%);
}
.red {
background: #f41b16;
background: -moz-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f41b16), color-stop(100%, #fc7471));
background: -webkit-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: -o-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: -ms-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: linear-gradient(top, #f41b16 0%, #fc7471 100%);
}
.red:active {
background: #972f2e;
background: -moz-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #972f2e), color-stop(100%, #fc7471));
background: -webkit-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: -o-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: -ms-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: linear-gradient(top, #972f2e 0%, #fc7471 100%);
}
.red .shine {
position: relative;
top: -21px;
left: 5px;
}
.red .glow {
position: relative;
top: -20px;
}
.red .glyph {
position: relative;
top: -5px;
left: 3px;
font-size: 14px;
font-weight: 400;
color: #9b3a36;
z-index: 50;
opacity: 0;
}
.yellow {
background: #f4a316;
background: -moz-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%, #f4a316), color-stop(100%, #fcc371));
background: -webkit-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: -o-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: -ms-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: linear-gradient(left, #f4a316 0%, #fcc371 100%);
margin: 0px 7px;
}
.yellow:active {
background: #ae4f1e;
background: -moz-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ae4f1e), color-stop(100%, #fcc371));
background: -webkit-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: -o-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: -ms-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
}
.yellow .shine {
position: relative;
top: -21px;
left: 5px;
}
.yellow .glow {
position: relative;
top: -20px;
}
.yellow .glyph {
position: relative;
top: -5px;
left: 3px;
font-size: 24px;
color: #854322;
z-index: 50;
opacity: 0;
-webkit-transform: scaleY(1.5) scaleX(1.3);
}
.green {
background: #4cae2e;
background: -moz-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4cae2e), color-stop(100%, #dafc71));
background: -webkit-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: -o-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: -ms-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: linear-gradient(top, #4cae2e 0%, #dafc71 100%);
}
.green:active {
background: #48752b;
background: -moz-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #48752b), color-stop(100%, #dafc71));
background: -webkit-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: -o-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: -ms-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: linear-gradient(top, #48752b 0%, #dafc71 100%);
}
.green .shine {
position: relative;
top: -20px;
left: 5px;
}
.green .glow {
position: relative;
top: -20px;
}
.green .glyph {
position: relative;
top: -5px;
left: 3px;
font-size: 14px;
font-weight: bold;
color: #25571d;
z-index: 50;
opacity: 0;
}
@-moz-document url-prefix() {
.red .glyph {
position: relative;
top: -5px;
}
.yellow .glyph {
top: -4px;
left: 3px;
}
.green .glyph {
position: relative;
top: -4px;
}
}
#title {
float: left;
position: relative;
top: 6px;
width: 40%;
left: 45%;
font-family: "Myriad Pro", sans-serif;
font-size: 16px;
line-height: 14px;
font-weight: bold;
}
.folder {
float: left;
margin-right: 5px;
}
.folder .tab {
width: 4px;
height: 2px;
background: #a4c5da;
border: 1px solid #728ea3;
border-bottom: none;
border-radius: 2px 2px 0px 0px;
-webkit-box-shadow: 0px -1px 0px #99b5c7 inset;
margin-left: 1px;
z-index: 5000;
margin-bottom: -1px;
}
.folder .body {
width: 14px;
height: 10px;
border: 1px solid #6e8ba1;
background: #b8cfe0;
background: -moz-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b8cfe0), color-stop(100%, #86adc8));
background: -webkit-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: -o-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: -ms-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
z-index: -50;
-webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25) inset, 0px 1px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25) inset, 0px 1px 0px rgba(0, 0, 0, 0.2);
}
#nav {
margin: 1px 8px;
float: left;
}
#view {
margin: 2px 0 0 110px;
display: inline-block;
}
.control_box {
height: 20px;
border-radius: 3px;
border: 1px solid #555;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #fefefe), color-stop(0, #b8b8b8));
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25);
}
.control_box .control {
height: 20px;
border-right: 1px solid #2e2e2e;
float: left;
text-align: center;
width: 27px;
}
.control:last-child {
border-right: 0px solid !important;
}
.control:active {
background: #b0afb0;
-webkit-box-shadow: 0px 0px 4px #000 inset;
}
.active {
background: #707070 !important;
-webkit-box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.6) inset !important;
}
#body {
font-family: Andale Mono, monospace;
line-height: 1em;
font-size: 13px;
float: left;
width: 100%;
background: #002b36;
padding: 10px;
line-height: 1.5em;
}
#body p {
color: #63de00!important;
}
@keyframes blink {
0% {
background: rgba(99, 222, 0, 100);
}
100% {
background: rgba(99, 222, 0, 0);
}
}
@-webkit-keyframes blink {
0% {
background: rgba(99, 222, 0, 100);
}
100% {
background: rgba(99, 222, 0, 0);
}
}
@-moz-keyframes blink {
0% {
background: rgba(99, 222, 0, 100);
}
100% {
background: rgba(99, 222, 0, 0);
}
}
.cursor {
width: 10px;
margin-left: 0px;
color: #fff;
}
#body p::-webkit-selection {
background: #0b209e;
}
#body p::selection {
background: #0b209e;
}
#body p::-moz-selection {
background: #0b209e;
}
#body p {
margin-top: 5px;
margin-bottom: 5px;
font-size: 13px;
}
#content {
float: left;
margin-top: 1px;
}
#foot {
height: 23px;
width: 100%;
float: left;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #cbcbcb), color-stop(0, #a7a7a7));
border-top: 1px solid #515151;
border-radius: 0 0 5px 5px;
}
#foot .handle {
width: 11px;
height: 11px;
float: right;
margin: 6px;
overflow: hidden;
}
.handle .grip {
-webkit-transform: rotate(45deg) scaley(3);
margin: 2px 0 0 2px;
color: #646464;
text-shadow: 1px 1px 0 #c6c6c6;
font-size: 14px;
}
.icon .frame {
width: 82px;
height: 82px;
border-radius: 5px;
border: 2px solid transparent;
}
.icon .name {
color: #000;
padding-top: 3px;
border-radius: 15px;
width: 55px;
margin: 5px 0 0 15px;
}
.icon .folder {
margin: 15px 0 0 6px;
}
#icon-github {
text-align: -999px;
font-size: 1px;
display: block;
width: 156px;
height: 133px;
background-image: url(../img/sprite.png);
background-position: 0 133px;
}
#icon-github:hover {
background-position: 0 0px;
}
#icon-rubygems {
text-align: -999px;
font-size: 1px;
display: block;
width: 156px;
height: 133px;
background-image: url(../img/sprite.png);
background-position: 158px 133px;
}
#icon-rubygems:hover {
background-position: 158px 0px;
}
.source-urls {
margin-top: 40px;
margin-bottom: 40px;
}
.no-margin-bot {
color: #337AB7;
}
span {
font-size: 15px;
}
#particles-js {
position: absolute;
width: 98%;
}
#particles-js-no {
position: absolute;
width: 98%;
}
#icon-github:hover,
i.icon.ion-close-circled:hover,
i.icon.ion-minus-circled:hover,
i.icon.ion-plus-circled:hover {
color: rgba(0, 0, 0, .5);
}
i.icon.ion-close-circled {
color: rgba(212, 42, 38, 0.83);
text-shadow: 0 0 1px rgba(187, 187, 187, 0.56);
padding-top: 3px;
}
i.icon.ion-minus-circled {
color: rgb(160, 165, 34);
text-shadow: 0 0 1px rgba(187, 187, 187, 0.56);
padding-top: 3px;
}
i.icon.ion-plus-circled {
color: rgb(82, 183, 51);
text-shadow: 0 0 1px rgba(187, 187, 187, 0.56);
padding-top: 3px;
}
.icon {
margin: 7px;
float: left;
font-size: 20px;
}
#title-left {
position: relative;
top: -8px;
font-family: "Myriad Pro", sans-serif;
font-size: 14px;
left: 49%;
}
#terminal-origin {
font-family: monospace;
}
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
#title-left {
top: -13px;
}
}
home-layout {
background-color: #f1f1f1;
}
.terminal, .cmd {
background-color: #343434;
}
@media screen and (max-width:1000px){i.icon.ion-minus-circled{display:none}
#window{width:100%;}
}
@media screen and (max-width:800px){body{padding-top:0px;}
#title-left{left:50%;}
#window{width:100%;}
.container{padding:0px;}
/*article{padding:10px 20px;}*/
i.icon.ion-minus-circled{display:none}
}
@media screen and (max-width:800px){#title-left{left:48%;}
}
@media screen and (max-width:500px){#title-left{left:40%;}
}
@media screen and (max-width:400px){body{padding-top:0px;width:auto;}
#title-left{left:50%;}
/*article{padding:10px 10px;}*/
#particles-js{width:auto;}
#particles-js-no{width:auto;}
i.icon.ion-minus-circled{display:none}
i.icon.ion-plus-circled{display:none}
}

View File

@ -6,17 +6,17 @@
<meta name="author" content="syui" /> <meta name="author" content="syui" />
<meta name="copyright" content="© syui" /> <meta name="copyright" content="© syui" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="icon" href="/icon/term.png" /> <link rel="icon" href="/term/icon/term.png" />
<link rel="shortcut icon" href="/icon/term.png" /> <link rel="shortcut icon" href="/term/icon/term.png" />
<link rel="stylesheet" href="/pkg/jquery.terminal/css/jquery.terminal.css" /> <link rel="stylesheet" href="/term/pkg/jquery.terminal/css/jquery.terminal.css" />
<link rel="stylesheet" href="/css/terminal.css" /> <link rel="stylesheet" href="/term/css/terminal.css" />
<script src="/pkg/jquery.ajax/jquery.min.js"></script> <script src="/term/pkg/jquery.ajax/jquery.min.js"></script>
<script src="/pkg/axios/dist/axios.min.js"></script> <script src="/term/pkg/axios/dist/axios.min.js"></script>
<script src="/pkg/jquery.terminal/js/jquery.terminal.min.js"></script> <script src="/term/pkg/jquery.terminal/js/jquery.terminal.min.js"></script>
<script src="/pkg/jquery.terminal/js/jquery.mousewheel-min.js"></script> <script src="/term/pkg/jquery.terminal/js/jquery.mousewheel-min.js"></script>
<script src="/js/terminal.quick.js"></script> <script src="/term/js/terminal.quick.js"></script>
<script src="/js/terminal.js"></script> <script src="/term/js/terminal.js"></script>
<app></app> <app></app>
<script src="/js/bundle.js"></script> <script src="/term/js/bundle.js"></script>
<script src="/js/terminal-open.js"></script> <script src="/term/js/terminal-open.js"></script>
</head> </head>

View File

@ -1,19 +0,0 @@
$(function(){
$(document).bind('keydown','ctrl+return',
function(){
window.location.href = '/blog';
}
)
$(document).bind('keydown', 'Shift+j',
function(){
if (document.activeElement !== document.body){
$(".article-nav-link-wrap:focus").closest("li").next().find("a.lmove").focus();
} else {
$('#article-nav-older').focus();
}
}
)
});

View File

@ -1,16 +0,0 @@
$(function(){
$(document).bind('keydown','ctrl+return',
function(){
$("home-layout").toggle();
$('#terminal').click();
var element=document.getElementById("window");
var rect=element.getBoundingClientRect();
var positionX=rect.left+window.pageXOffset;
var positionY=rect.top+window.pageYOffset;
window.scrollTo(positionX,positionY);
})
$('.move').click(
function(){
this.focus();
});
});

View File

@ -1 +0,0 @@
(function(jQuery){jQuery.hotkeys={version:"0.2.0",specialKeys:{8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},shiftNums:{"`":"~","1":"!","2":"@","3":"#","4":"$","5":"%","6":"^","7":"&","8":"*","9":"(","0":")","-":"_","=":"+",";":": ","'":"\"",",":"<",".":">","/":"?","\\":"|"},textAcceptingInputTypes:["text","password","number","email","url","range","date","month","week","time","datetime","datetime-local","search","color","tel"],textInputTypes:/textarea|input|select/i,options:{filterInputAcceptingElements:true,filterTextInputs:true,filterContentEditable:true}};function keyHandler(handleObj){if(typeof handleObj.data==="string"){handleObj.data={keys:handleObj.data};}if(!handleObj.data||!handleObj.data.keys||typeof handleObj.data.keys!=="string"){return;}var origHandler=handleObj.handler,keys=handleObj.data.keys.toLowerCase().split(" ");handleObj.handler=function(event){if(this!==event.target&&(jQuery.hotkeys.options.filterInputAcceptingElements&&jQuery.hotkeys.textInputTypes.test(event.target.nodeName)||(jQuery.hotkeys.options.filterContentEditable&&jQuery(event.target).attr('contenteditable'))||(jQuery.hotkeys.options.filterTextInputs&&jQuery.inArray(event.target.type,jQuery.hotkeys.textAcceptingInputTypes)>-1))){return;}var special=event.type!=="keypress"&&jQuery.hotkeys.specialKeys[event.which],character=String.fromCharCode(event.which).toLowerCase(),modif="",possible={};jQuery.each(["alt","ctrl","shift"],function(index,specialKey){if(event[specialKey+'Key']&&special!==specialKey){modif+=specialKey+'+';}});if(event.metaKey&&!event.ctrlKey&&special!=="meta"){modif+="meta+";}if(event.metaKey&&special!=="meta"&&modif.indexOf("alt+ctrl+shift+")>-1){modif=modif.replace("alt+ctrl+shift+","hyper+");}if(special){possible[modif+special]=true;}else{possible[modif+character]=true;possible[modif+jQuery.hotkeys.shiftNums[character]]=true;if(modif==="shift+"){possible[jQuery.hotkeys.shiftNums[character]]=true;}}for(var i=0,l=keys.length;i<l;i++){if(possible[keys[i]]){return origHandler.apply(this,arguments);}}};}jQuery.each(["keydown","keyup","keypress"],function(){jQuery.event.special[this]={add:keyHandler};});})(jQuery||this.jQuery||window.jQuery);

522
term/css/terminal.css Normal file
View File

@ -0,0 +1,522 @@
html {
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-ms-font-smoothing: antialiased;
-o-font-smoothing: antialiased;
}
body {
background-attachment: fixed;
-webkit-background-size: cover;
background-size: cover;
color: #444;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#window {
margin-left: auto;
margin-right: auto;
background: #343434;
border-radius: 7px;
overflow: hidden;
width: 100%;
text-align: left;
height: 400px;
/* height: 100%; */
}
#topbar {
width: 100%;
height: 21px;
font-size: 16px;
font-family: "Myriad Pro", sans-serif;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25);
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
#topbar ul li {
float: left;
padding: 0 10px;
height: 21px;
line-height: 24px;
}
#topbar ul li:first-child {
font-size: 20px;
line-height: 26px;
margin-left: 5px;
}
#topbar ul li:nth-child(2) {
font-family: "Myriad-Semi", sans-serif;
}
#topbar ul li:active {
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #4a82ff), color-stop(0, #0052fc));
color: #fff;
text-shadow: none;
}
#toolbar {
width: 100%;
height: 25px;
background: #ccc;
}
#toolbar .top {
float: left;
width: 100%;
height: 23px;
}
#toolbar .bottom {
float: left;
width: 100%;
height: 30px;
}
#toolbar #lights {
float: left;
position: relative;
top: 6px;
left: 7px;
}
.light {
float: left;
width: 14px;
height: 14px;
border-radius: 14px;
-webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 0px 3px #000 inset;
-moz-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 0px 3px #000 inset;
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 0px 3px #000 inset;
overflow: hidden;
}
#lights:hover .glyph {
opacity: 1;
cursor: default;
}
.light .shine {
width: 4px;
height: 3px;
border-radius: 10px;
background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: -o-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: -ms-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
background: radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.light .glow {
width: 14px;
height: 8px;
background-image: -webkit-gradient(radial, center bottom, 0, center center, 5, from(rgba(255, 255, 255, 0.75)), to(rgba(255, 255, 255, 0)));
background: 0px 0px -moz-radial-gradient(bottom, cover, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0) 80%);
}
.red {
background: #f41b16;
background: -moz-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f41b16), color-stop(100%, #fc7471));
background: -webkit-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: -o-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: -ms-linear-gradient(top, #f41b16 0%, #fc7471 100%);
background: linear-gradient(top, #f41b16 0%, #fc7471 100%);
}
.red:active {
background: #972f2e;
background: -moz-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #972f2e), color-stop(100%, #fc7471));
background: -webkit-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: -o-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: -ms-linear-gradient(top, #972f2e 0%, #fc7471 100%);
background: linear-gradient(top, #972f2e 0%, #fc7471 100%);
}
.red .shine {
position: relative;
top: -21px;
left: 5px;
}
.red .glow {
position: relative;
top: -20px;
}
.red .glyph {
position: relative;
top: -5px;
left: 3px;
font-size: 14px;
font-weight: 400;
color: #9b3a36;
z-index: 50;
opacity: 0;
}
.yellow {
background: #f4a316;
background: -moz-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%, #f4a316), color-stop(100%, #fcc371));
background: -webkit-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: -o-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: -ms-linear-gradient(left, #f4a316 0%, #fcc371 100%);
background: linear-gradient(left, #f4a316 0%, #fcc371 100%);
margin: 0px 7px;
}
.yellow:active {
background: #ae4f1e;
background: -moz-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ae4f1e), color-stop(100%, #fcc371));
background: -webkit-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: -o-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: -ms-linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
background: linear-gradient(top, #ae4f1e 0%, #fcc371 100%);
}
.yellow .shine {
position: relative;
top: -21px;
left: 5px;
}
.yellow .glow {
position: relative;
top: -20px;
}
.yellow .glyph {
position: relative;
top: -5px;
left: 3px;
font-size: 24px;
color: #854322;
z-index: 50;
opacity: 0;
-webkit-transform: scaleY(1.5) scaleX(1.3);
}
.green {
background: #4cae2e;
background: -moz-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4cae2e), color-stop(100%, #dafc71));
background: -webkit-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: -o-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: -ms-linear-gradient(top, #4cae2e 0%, #dafc71 100%);
background: linear-gradient(top, #4cae2e 0%, #dafc71 100%);
}
.green:active {
background: #48752b;
background: -moz-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #48752b), color-stop(100%, #dafc71));
background: -webkit-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: -o-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: -ms-linear-gradient(top, #48752b 0%, #dafc71 100%);
background: linear-gradient(top, #48752b 0%, #dafc71 100%);
}
.green .shine {
position: relative;
top: -20px;
left: 5px;
}
.green .glow {
position: relative;
top: -20px;
}
.green .glyph {
position: relative;
top: -5px;
left: 3px;
font-size: 14px;
font-weight: bold;
color: #25571d;
z-index: 50;
opacity: 0;
}
@-moz-document url-prefix() {
.red .glyph {
position: relative;
top: -5px;
}
.yellow .glyph {
top: -4px;
left: 3px;
}
.green .glyph {
position: relative;
top: -4px;
}
}
#title {
float: left;
position: relative;
top: 6px;
width: 40%;
left: 45%;
font-family: "Myriad Pro", sans-serif;
font-size: 16px;
line-height: 14px;
font-weight: bold;
}
.folder {
float: left;
margin-right: 5px;
}
.folder .tab {
width: 4px;
height: 2px;
background: #a4c5da;
border: 1px solid #728ea3;
border-bottom: none;
border-radius: 2px 2px 0px 0px;
-webkit-box-shadow: 0px -1px 0px #99b5c7 inset;
margin-left: 1px;
z-index: 5000;
margin-bottom: -1px;
}
.folder .body {
width: 14px;
height: 10px;
border: 1px solid #6e8ba1;
background: #b8cfe0;
background: -moz-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b8cfe0), color-stop(100%, #86adc8));
background: -webkit-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: -o-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: -ms-linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
background: linear-gradient(top, #b8cfe0 0%, #86adc8 100%);
z-index: -50;
-webkit-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25) inset, 0px 1px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25) inset, 0px 1px 0px rgba(0, 0, 0, 0.2);
}
#nav {
margin: 1px 8px;
float: left;
}
#view {
margin: 2px 0 0 110px;
display: inline-block;
}
.control_box {
height: 20px;
border-radius: 3px;
border: 1px solid #555;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #fefefe), color-stop(0, #b8b8b8));
box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.25);
}
.control_box .control {
height: 20px;
border-right: 1px solid #2e2e2e;
float: left;
text-align: center;
width: 27px;
}
.control:last-child {
border-right: 0px solid !important;
}
.control:active {
background: #b0afb0;
-webkit-box-shadow: 0px 0px 4px #000 inset;
}
.active {
background: #707070 !important;
-webkit-box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.6) inset !important;
}
#body {
font-family: Andale Mono, monospace;
line-height: 1em;
font-size: 13px;
float: left;
width: 100%;
background: #002b36;
padding: 10px;
line-height: 1.5em;
}
#body p {
color: #63de00!important;
}
@keyframes blink {
0% {
background: rgba(99, 222, 0, 100);
}
100% {
background: rgba(99, 222, 0, 0);
}
}
@-webkit-keyframes blink {
0% {
background: rgba(99, 222, 0, 100);
}
100% {
background: rgba(99, 222, 0, 0);
}
}
@-moz-keyframes blink {
0% {
background: rgba(99, 222, 0, 100);
}
100% {
background: rgba(99, 222, 0, 0);
}
}
.cursor {
width: 10px;
margin-left: 0px;
color: #fff;
}
#body p::-webkit-selection {
background: #0b209e;
}
#body p::selection {
background: #0b209e;
}
#body p::-moz-selection {
background: #0b209e;
}
#body p {
margin-top: 5px;
margin-bottom: 5px;
font-size: 13px;
}
#content {
float: left;
margin-top: 1px;
}
#foot {
height: 23px;
width: 100%;
float: left;
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(1, #cbcbcb), color-stop(0, #a7a7a7));
border-top: 1px solid #515151;
border-radius: 0 0 5px 5px;
}
#foot .handle {
width: 11px;
height: 11px;
float: right;
margin: 6px;
overflow: hidden;
}
.handle .grip {
-webkit-transform: rotate(45deg) scaley(3);
margin: 2px 0 0 2px;
color: #646464;
text-shadow: 1px 1px 0 #c6c6c6;
font-size: 14px;
}
.icon .frame {
width: 82px;
height: 82px;
border-radius: 5px;
border: 2px solid transparent;
}
.icon .name {
color: #000;
padding-top: 3px;
border-radius: 15px;
width: 55px;
margin: 5px 0 0 15px;
}
.icon .folder {
margin: 15px 0 0 6px;
}
#icon-github {
text-align: -999px;
font-size: 1px;
display: block;
width: 156px;
height: 133px;
background-image: url(../img/sprite.png);
background-position: 0 133px;
}
#icon-github:hover {
background-position: 0 0px;
}
#icon-rubygems {
text-align: -999px;
font-size: 1px;
display: block;
width: 156px;
height: 133px;
background-image: url(../img/sprite.png);
background-position: 158px 133px;
}
#icon-rubygems:hover {
background-position: 158px 0px;
}
.source-urls {
margin-top: 40px;
margin-bottom: 40px;
}
.no-margin-bot {
color: #337AB7;
}
span {
font-size: 15px;
}
#particles-js {
position: absolute;
width: 98%;
}
#particles-js-no {
position: absolute;
width: 98%;
}
#icon-github:hover,
i.icon.ion-close-circled:hover,
i.icon.ion-minus-circled:hover,
i.icon.ion-plus-circled:hover {
color: rgba(0, 0, 0, .5);
}
i.icon.ion-close-circled {
color: rgba(212, 42, 38, 0.83);
text-shadow: 0 0 1px rgba(187, 187, 187, 0.56);
padding-top: 3px;
}
i.icon.ion-minus-circled {
color: rgb(160, 165, 34);
text-shadow: 0 0 1px rgba(187, 187, 187, 0.56);
padding-top: 3px;
}
i.icon.ion-plus-circled {
color: rgb(82, 183, 51);
text-shadow: 0 0 1px rgba(187, 187, 187, 0.56);
padding-top: 3px;
}
.icon {
margin: 7px;
float: left;
font-size: 20px;
}
#title-left {
position: relative;
top: -8px;
font-family: "Myriad Pro", sans-serif;
font-size: 14px;
left: 49%;
}
#terminal-origin {
font-family: monospace;
}
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
#title-left {
top: -13px;
}
}
home-layout {
background-color: #f1f1f1;
}
.terminal, .cmd {
background-color: #343434;
}
@media screen and (max-width:1000px){i.icon.ion-minus-circled{display:none}
#window{width:100%;}
}
@media screen and (max-width:800px){body{padding-top:0px;}
#title-left{left:50%;}
#window{width:100%;}
.container{padding:0px;}
/*article{padding:10px 20px;}*/
i.icon.ion-minus-circled{display:none}
}
@media screen and (max-width:800px){#title-left{left:48%;}
}
@media screen and (max-width:500px){#title-left{left:40%;}
}
@media screen and (max-width:400px){body{padding-top:0px;width:auto;}
#title-left{left:50%;}
/*article{padding:10px 10px;}*/
#particles-js{width:auto;}
#particles-js-no{width:auto;}
i.icon.ion-minus-circled{display:none}
i.icon.ion-plus-circled{display:none}
}

View File

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 89 KiB

View File

Before

Width:  |  Height:  |  Size: 557 KiB

After

Width:  |  Height:  |  Size: 557 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -132,7 +132,7 @@ $(function() {
function test_json() { function test_json() {
var u; var u;
u = axios.get('/json/ai.json') u = axios.get('/term/json/ai.json')
.then(function (response) { .then(function (response) {
return JSON.stringify(response.data,null,"\t"); return JSON.stringify(response.data,null,"\t");
}) })