Last active
May 31, 2016 15:37
-
-
Save Williammer/350cd3051e45def51bcf155aca7ba254 to your computer and use it in GitHub Desktop.
jsPatterns.recur.trampoline.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="index_title"> | |
About Me | |
</h1> | |
<br/> | |
<p class="selfy"> | |
Hi there, my name is William He or Weinan He in Chinese. I'm currently living in Hong Kong and working at <a target="_blank" href="https://www.accedo.tv/">Accedo</a> as the Software Developer. | |
<br/> | |
<br/> My current job is to develop cool Web TV applications, which is one type of web application, with the amazing javaScript. I love to explore and learn more about the web technology world and develop some useful applications in my spare time! | |
<br/> | |
<br/> Apart from web technology, I have great passion for sports and all types of music. My favorite NBA player is Stephen Curry, who has inspired me to learn the Curry pattern of the Functional programming. ; ) | |
<br/><br/> To know more about me, you can check out my <a href="https://github.com/Williammer" target="tab">Github</a> or <a href="https://hk.linkedin.com/pub/weinan-william-he/39/29b/302" target="tab">Linkedin</a>. | |
<br/><br/> Cheers!! | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CHARSET "UTF-8"; | |
body { | |
background: url(../images/bg.png); } | |
button::-moz-focus-inner { | |
border: none; } | |
input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner { | |
border: none; } | |
.mb10 { | |
margin-bottom: 10px; } | |
.btn { | |
margin: 2px 0 2px 3px; | |
display: inline-block; | |
padding: 0.2em 0.4em; | |
border: 0 none; | |
border: 1px solid rgba(0, 0, 0, 0.1); | |
border-radius: 0.3em; | |
background-image: none; | |
color: white; | |
text-align: center; | |
text-decoration: none; | |
/*text-shadow: 1px 1px rgba(0,0,0,.1); */ | |
font-size: 100%; | |
font-family: inherit; | |
font-weight: inherit; | |
white-space: nowrap; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
user-select: none; | |
overflow: visible; | |
cursor: pointer; } | |
.btn:hover { | |
text-decoration: none; | |
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)); } | |
.btn:focus { | |
text-decoration: none; | |
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)); | |
outline: thin dotted; | |
outline: 5px auto -webkit-focus-ring-color; | |
outline-offset: -2px; | |
font-size: 20px; | |
line-height: 0; | |
font-weight: bold; } | |
.btn:active { | |
box-shadow: 0 1px rgba(0, 0, 0, 0.2), inset 0 1px rgba(0, 0, 0, 0.05); | |
outline: none; } | |
.btn_gray { | |
background-color: #aaaaaa; } | |
.btn_dark { | |
background-color: #666666; } | |
.btn_blue { | |
background-color: #0074d9; } | |
.btn_restart { | |
position: absolute; | |
bottom: 0px; | |
width: 200px; | |
height: 30px; } | |
.btn_restart_pop { | |
width: 200px; | |
height: 30px; | |
margin: 0 auto 10px; } | |
.btn.submit:focus { | |
font-size: 100%; | |
line-height: 0; | |
font-weight: bold; } | |
::-webkit-scrollbar-corner { | |
background-color: transparent; } | |
::-webkit-scrollbar-button { | |
width: 0; | |
height: 0; | |
display: none; } | |
::-webkit-scrollbar-thumb { | |
width: 16px; | |
background: rgba(160, 160, 160, 0.5); | |
-webkit-border-radius: 6px; | |
border-radius: 6px; | |
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.7); } | |
::-webkit-scrollbar-thumb:hover { | |
background: rgba(140, 140, 140, 0.7); } | |
::-webkit-scrollbar-thumb:window-inactive { | |
background: rgba(190, 190, 190, 0.4); } | |
::-webkit-scrollbar { | |
width: 10px; } | |
::-webkit-scrollbar-track { | |
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); | |
border-radius: 6px; | |
-webkit-border-radius: 6px; } | |
.wrapper { | |
margin: 20px auto 0; | |
width: 720px; | |
height: 576px; | |
background: url(../images/bg_wrap.png); } | |
.game_board { | |
display: inline-block; | |
*display: inline; | |
*zoom: 1; | |
_display: inline; | |
_zoom: 1; | |
border: 3px solid #999999; | |
margin: 60px 15px 0 65px; | |
width: 360px; | |
height: 440px; | |
padding: 4px; } | |
.side { | |
position: relative; | |
height: 454px; | |
margin-top: 60px; | |
vertical-align: top; | |
width: 200px; | |
display: inline-block; | |
*display: inline; | |
*zoom: 1; | |
_display: inline; | |
_zoom: 1; } | |
.logo { | |
background: transparent url(../images/logo.png); | |
width: 200px; | |
height: 80px; } | |
.keyboard_support { | |
font-size: 14px; | |
color: #eeeeee; | |
width: 198px; | |
padding: 8px 0; | |
margin: 20px auto 0; | |
text-align: center; | |
border: 1px solid #cccccc; } | |
.score_panel { | |
background: #eeeeee; | |
font-size: 18px; | |
font-weight: bold; | |
margin: 20px auto 0; | |
width: 198px; | |
height: 40px; | |
border: 1px solid #cccccc; | |
text-align: center; } | |
.score_panel h3 { | |
padding: 0; | |
margin: 0; | |
margin-left: 4px; | |
line-height: 40px; | |
font-size: 24px; | |
vertical-align: -2px; | |
display: inline; | |
color: #0074d9; } | |
.before { | |
line-height: 40px; | |
font-size: 16px; | |
vertical-align: -2px; } | |
.red { | |
color: #ff4136; | |
font-size: 20px; } | |
.card { | |
cursor: pointer; | |
margin: 2px; | |
border: 3px solid white; | |
width: 80px; | |
height: 100px; | |
display: inline-block; | |
*display: inline; | |
*zoom: 1; | |
_display: inline; | |
_zoom: 1; | |
-webkit-transition: all 300ms ease-in-out; | |
-moz-transition: all 300ms ease-in-out; | |
-o-transition: all 300ms ease-in-out; | |
-ms-transition: all 300ms ease-in-out; | |
transition: all 300ms ease-in-out; } | |
.colour1 { | |
background: transparent url(../images/colour1.gif); } | |
.colour2 { | |
background: transparent url(../images/colour2.gif); } | |
.colour3 { | |
background: transparent url(../images/colour3.gif); } | |
.colour4 { | |
background: transparent url(../images/colour4.gif); } | |
.colour5 { | |
background: transparent url(../images/colour5.gif); } | |
.colour6 { | |
background: transparent url(../images/colour6.gif); } | |
.colour7 { | |
background: transparent url(../images/colour7.gif); } | |
.colour8 { | |
background: transparent url(../images/colour8.gif); } | |
.card_bg { | |
background: transparent url(../images/card_bg.gif); } | |
.on_focus { | |
border-color: #555555; | |
box-shadow: 0px 0px 4px 1px white; } | |
.no-csstransitions .flipback { | |
background: transparent url(../images/card_bg.gif); } | |
.frozen { | |
cursor: default; | |
background: #dddddd; } | |
.flip { | |
transform-style: preserve-3d; | |
transition: all 200ms ease; | |
-webkit-transform-style: preserve-3d; | |
-webkit-transition: all 200ms ease; | |
-ms-transition: all 200ms ease; | |
-o-transition: all 200ms ease; | |
-moz-transition: all 200ms ease; } | |
.face { | |
backface-visibility: hidden; | |
-webkit-backface-visibility: hidden; | |
transition: opacity 0.15s ease; | |
-webkit-transition: opacity 0.15s ease; } | |
.flipfront { | |
transform: rotateY(180deg); | |
-webkit-transform: rotateY(180deg); | |
box-shadow: 0px 0px 2px 1px #888888; } | |
.flipback { | |
transform: rotateY(0deg); | |
-webkit-transform: rotateY(0deg); } | |
.label { | |
font-size: 14px; | |
color: #444444; | |
margin-bottom: 4px; } | |
.win_form { | |
width: 350px; | |
margin: 0 auto; | |
text-align: center; } | |
.submit { | |
display: block; | |
margin: 10px auto 0; | |
width: 68px; | |
height: 30px; } | |
.input_wrap { | |
width: 210px; | |
margin: 20px auto; | |
background: #eeeeee; | |
padding: 20px 30px; | |
text-align: center; } | |
.module_result { | |
width: 150px; | |
vertical-align: top; | |
display: inline-block; | |
*display: inline; | |
*zoom: 1; | |
_display: inline; | |
_zoom: 1; } | |
.rank_color { | |
color: #0074d9; | |
font-size: 50px; } | |
.score_color { | |
color: #ffdc00; | |
font-size: 50px; } | |
.top_list { | |
text-align: center; | |
font-size: 14px; | |
color: #444444; | |
border-spacing: 0; | |
border-collapse: collapse; } | |
.top_list th { | |
border: 1px solid #888888; | |
margin: 0; | |
padding: 0; | |
padding: 6px 10px; | |
border-spacing: 1px; } | |
.top_list td { | |
border: 1px solid #aaaaaa; | |
margin: 0; | |
padding: 0; | |
border-spacing: 1px; } | |
.ajax_msg { | |
font-size: 18px; | |
font-weight: bold; } | |
.loader { | |
background: transparent url(../images/loader.gif) 0 0 no-repeat; | |
width: 32px; | |
height: 32px; | |
margin: 50px auto 10px; } | |
.icon_ok { | |
background: transparent url(../images/ok.png) 0 0 no-repeat; | |
width: 48px; | |
height: 48px; | |
margin-right: 10px; | |
display: inline-block; | |
*display: inline; | |
*zoom: 1; | |
_display: inline; | |
_zoom: 1; | |
vertical-align: middle; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment