Merge
21
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
[submodule "public/vendor/bootstrap-datepicker"]
|
||||
path = public/vendor/bootstrap-datepicker
|
||||
url = https://github.com/eternicode/bootstrap-datepicker.git
|
||||
[submodule "public/vendor/bootstrap-growl"]
|
||||
path = public/vendor/bootstrap-growl
|
||||
url = https://github.com/ifightcrime/bootstrap-growl.git
|
||||
[submodule "public/vendor/bootstrap"]
|
||||
path = public/vendor/bootstrap
|
||||
url = https://github.com/twitter/bootstrap.git
|
||||
[submodule "public/vendor/github-buttons"]
|
||||
path = public/vendor/github-buttons
|
||||
url = https://github.com/mdo/github-buttons.git
|
||||
[submodule "public/vendor/jquery-cookie"]
|
||||
path = public/vendor/jquery-cookie
|
||||
url = https://github.com/carhartl/jquery-cookie.git
|
||||
[submodule "public/vendor/jquery-ui"]
|
||||
path = public/vendor/jquery-ui
|
||||
url = https://github.com/jquery/jquery-ui.git
|
||||
[submodule "public/vendor/BrowserQuest"]
|
||||
path = public/vendor/BrowserQuest
|
||||
url = https://github.com/mozilla/BrowserQuest.git
|
||||
|
|
@ -11,5 +11,6 @@
|
|||
"SMTP_PASS":"password",
|
||||
"SMTP_SERVICE":"Gmail",
|
||||
"STRIPE_API_KEY":"aaaabbbbccccddddeeeeffff00001111",
|
||||
"STRIPE_PUB_KEY":"22223333444455556666777788889999"
|
||||
"STRIPE_PUB_KEY":"22223333444455556666777788889999",
|
||||
"NODETIME_KEY":"abcdefg"
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
"version": "0.0.0-150",
|
||||
"main": "./server.js",
|
||||
"dependencies": {
|
||||
"derby": "git://github.com/codeparty/derby#master",
|
||||
"derby": "git://github.com/lefnire/derby#habitrpg",
|
||||
"racer": "git://github.com/lefnire/racer#habitrpg",
|
||||
"racer-db-mongo": "git://github.com/lefnire/racer-db-mongo#habitrpg",
|
||||
"derby-ui-boot": "git://github.com/codeparty/derby-ui-boot#master",
|
||||
|
|
@ -21,7 +21,9 @@
|
|||
"coffee-script": "*",
|
||||
"underscore": "*",
|
||||
"mongoskin": "*",
|
||||
"nconf": "*"
|
||||
"nconf": "*",
|
||||
"icalendar": "git://github.com/lefnire/node-icalendar#master",
|
||||
"nodetime": "*"
|
||||
},
|
||||
"private": true,
|
||||
"subdomain": "habitrpg",
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<!-- Le styles -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
|
||||
<link href="css/docs.css" rel="stylesheet">
|
||||
<link href="/vendor/bootstrap/docs/assets/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="/vendor/bootstrap/docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<link href="/vendor/bootstrap/docs/assets/css/docs.css" rel="stylesheet">
|
||||
|
||||
<style type="text/css">
|
||||
.jumbotron {
|
||||
|
|
|
|||
9
public/css/bootstrap-responsive.min.css
vendored
9
public/css/bootstrap.min.css
vendored
1064
public/css/docs.css
24
public/github-btns/.gitignore
vendored
|
|
@ -1,24 +0,0 @@
|
|||
# ALWAYS IGNORE
|
||||
# -------------
|
||||
|
||||
*.diff
|
||||
*.err
|
||||
*.orig
|
||||
*.log
|
||||
*.rej
|
||||
*.swo
|
||||
*.swp
|
||||
*.vi
|
||||
*~
|
||||
|
||||
|
||||
# OS & EDITOR FOLDERS
|
||||
# -------------------
|
||||
|
||||
.DS_Store
|
||||
thumbs.db
|
||||
|
||||
|
||||
# LOCAL TEST PAGE
|
||||
# ---------------
|
||||
test.html
|
||||
|
|
@ -1 +0,0 @@
|
|||
ghbtns.com
|
||||
|
|
@ -1,154 +0,0 @@
|
|||
UNOFFICIAL GITHUB BUTTONS
|
||||
=========================
|
||||
|
||||
Showcase your GitHub (repo's) success with these three simple, static buttons featuring dynamic watch, fork and follower counts and a link to your GitHub repo or profile page.
|
||||
|
||||
To get started, checkout http://ghbtns.com!
|
||||
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
These buttons are hosted via GitHub Pages, meaning all you need to do is include an iframe and you're set. Once included, you can configure it with various options. Here's the include:
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=USERNAME&repo=REPONAME&type=BUTTONTYPE"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="62" height="20"></iframe>
|
||||
```
|
||||
|
||||
### Requirements
|
||||
|
||||
`user`<br>
|
||||
GitHub username that owns the repo<br>
|
||||
|
||||
`repo`<br>
|
||||
GitHub repository to pull the forks and watchers counts
|
||||
|
||||
`type`<br>
|
||||
Type of button to show: `watch` or `fork` or `follow`
|
||||
|
||||
### Optional
|
||||
|
||||
`count`<br>
|
||||
Show the optional watchers or forks count: *none* by default or `true`
|
||||
|
||||
`size`<br>
|
||||
Optional flag for using a larger button: *none* by default or `large`
|
||||
|
||||
|
||||
|
||||
Examples
|
||||
--------
|
||||
|
||||
**Basic Watch button**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&repo=github-buttons&type=watch"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="62" height="20"></iframe>
|
||||
```
|
||||
|
||||
**Basic Fork button**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&repo=github-buttons&type=fork"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="53" height="20"></iframe>
|
||||
```
|
||||
|
||||
**Basic Follow button**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&type=follow"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="132" height="20"></iframe>
|
||||
```
|
||||
|
||||
**Watch with count**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&repo=github-buttons&type=watch&count=true"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
|
||||
```
|
||||
|
||||
**Fork with count**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&repo=github-buttons&type=fork&count=true"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="95" height="20"></iframe>
|
||||
```
|
||||
|
||||
**Follow with count**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&type=follow&count=true"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="165" height="20"></iframe>
|
||||
```
|
||||
|
||||
**Large Watch button with count**
|
||||
|
||||
``` html
|
||||
<iframe src="http://ghbtns.com/github-btn.html?user=markdotto&repo=github-buttons&type=watch&count=true&size=large"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
|
||||
```
|
||||
|
||||
Limitations
|
||||
-----------
|
||||
|
||||
For the first version, functionality is limited and some concessions were made:
|
||||
|
||||
- Width and height must be specificed for all buttons (which actually adds some control for those with OCD like myself).
|
||||
- All attributes must be passed through via URL parameters.
|
||||
- CSS and javascript are all included in the same HTML file to reduce complexity and requests.
|
||||
|
||||
**Usage with SSL**
|
||||
|
||||
In order to avoid `insecure content` warnings when using GitHub Buttons on a page behind an SSL certificate, simply host a copy of the `github-btn.html` file on your secure directory and substitute your domain in the iframe include:
|
||||
|
||||
``` html
|
||||
<iframe src="https://YOURDOMAIN.com/github-btn.html?user=USERNAME&repo=REPONAME&type=BUTTONTYPE"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="62" height="20"></iframe>
|
||||
```
|
||||
|
||||
More refinement and functionalty is planned with open-sourcing--any help is always appreciated!
|
||||
|
||||
|
||||
|
||||
Bug tracker
|
||||
-----------
|
||||
|
||||
Have a bug? Please create an issue here on GitHub at https://github.com/markdotto/github-buttons/issues.
|
||||
|
||||
|
||||
|
||||
Twitter account
|
||||
---------------
|
||||
|
||||
Keep up to date on announcements and more by following Mark on Twitter, <a href="http://twitter.com/mdo">@mdo</a>.
|
||||
|
||||
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
||||
**Mark Otto**
|
||||
|
||||
+ http://twitter.com/mdo
|
||||
+ http://github.com/markdotto
|
||||
|
||||
|
||||
|
||||
Copyright and license
|
||||
---------------------
|
||||
|
||||
Copyright 2011 Mark Otto.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this work except in compliance with the License.
|
||||
You may obtain a copy of the License in the LICENSE file, or at:
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
45
public/github-btns/bootstrap.min.css
vendored
|
|
@ -1,45 +0,0 @@
|
|||
html,body{margin:0;padding:0;}
|
||||
h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,cite,code,del,dfn,em,img,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,button,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;font-size:100%;line-height:1;font-family:inherit;}
|
||||
table{border-collapse:collapse;border-spacing:0;}
|
||||
ol,ul{list-style:none;}
|
||||
q:before,q:after,blockquote:before,blockquote:after{content:"";}
|
||||
html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
|
||||
a:focus{outline:thin dotted;}
|
||||
a:hover,a:active{outline:0;}
|
||||
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
|
||||
audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
|
||||
audio:not([controls]){display:none;}
|
||||
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}
|
||||
sup{top:-0.5em;}
|
||||
sub{bottom:-0.25em;}
|
||||
img{border:0;-ms-interpolation-mode:bicubic;}
|
||||
button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;}
|
||||
button,input{line-height:normal;*overflow:visible;}
|
||||
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
|
||||
button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
|
||||
input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
|
||||
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
|
||||
textarea{overflow:auto;vertical-align:top;}
|
||||
body{background-color:#ffffff;margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#404040;}
|
||||
.container{width:940px;margin-left:auto;margin-right:auto;zoom:1;}.container:before,.container:after{display:table;content:"";zoom:1;*display:inline;}
|
||||
.container:after{clear:both;}
|
||||
a{color:#0069d6;text-decoration:none;line-height:inherit;font-weight:inherit;}a:hover{color:#00438a;text-decoration:underline;}
|
||||
p{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;margin-bottom:9px;}p small{font-size:11px;color:#bfbfbf;}
|
||||
h1,h2,h3,h4,h5,h6{font-weight:bold;color:#404040;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#bfbfbf;}
|
||||
h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;}
|
||||
h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;}
|
||||
h3{line-height:27px;font-size:18px;}h3 small{font-size:14px;}
|
||||
h4{font-size:16px;line-height:36px;}h4 small{font-size:12px;}
|
||||
h5{font-size:14px;line-height:18px;}
|
||||
h6{font-size:13px;line-height:18px;color:#bfbfbf;text-transform:uppercase;}
|
||||
ul,ol{margin:0 0 9px 25px;}
|
||||
ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
|
||||
ul{list-style:disc;}
|
||||
ol{list-style:decimal;}
|
||||
li{line-height:18px;color:#404040;}
|
||||
hr{margin:20px 0 19px;border:0;border-bottom:1px solid #eee;}
|
||||
strong{font-style:inherit;font-weight:bold;}
|
||||
em{font-style:italic;font-weight:inherit;line-height:inherit;}
|
||||
.muted{color:#bfbfbf;}
|
||||
abbr{font-size:90%;text-transform:uppercase;border-bottom:1px dotted #ddd;cursor:help;}
|
||||
@media (max-width: 480px){.container{width:auto;padding:0 15px;}}@media (min-width: 480px) and (max-width: 768px){.container{width:auto;padding:0 10px;}}
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>The Unofficial GitHub Watch & Fork Buttons</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="author" content="Mark Otto">
|
||||
<meta name="description" content="A set of static buttons with dynamic watch and fork counts for any repo hosted on GitHub.">
|
||||
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<!-- Le styles -->
|
||||
<link href="bootstrap.min.css" rel="stylesheet">
|
||||
<link href="page.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<header class="masthead">
|
||||
<div class="tweet-button">
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="mdo">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
|
||||
</div>
|
||||
|
||||
<p class="introducing">Introducing the unofficial</p>
|
||||
<h1>GitHub Buttons</h1>
|
||||
<p class="tagline">Showcase your GitHub repo's success with these three simple, static buttons featuring dynamic watch, fork, and follower counts.</p>
|
||||
</header>
|
||||
<section class="body">
|
||||
<div class="about-buttons clearfix">
|
||||
<div class="about-star">
|
||||
<h2>Star</h2>
|
||||
<iframe src="github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="152px" height="30px"></iframe>
|
||||
<ul class="downlow">
|
||||
<li>Real-time stars count</li>
|
||||
<li>Link to any public GitHub repo</li>
|
||||
<li>Two available sizes</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="about-fork">
|
||||
<h2>Fork</h2>
|
||||
<iframe src="github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="146px" height="30px"></iframe>
|
||||
<ul class="downlow">
|
||||
<li>Real-time forks count</li>
|
||||
<li>Link to any public GitHub repo</li>
|
||||
<li>Two available sizes</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="about-follow">
|
||||
<h2>Follow</h2>
|
||||
<iframe src="github-btn.html?user=markdotto&type=follow&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="246px" height="30px"></iframe>
|
||||
<ul class="downlow">
|
||||
<li>Real-time followers count</li>
|
||||
<li>Link to any public GitHub user</li>
|
||||
<li>Two available sizes</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p class="download">
|
||||
<a href="http://github.com/markdotto/github-buttons" class="primary btn">Download on GitHub</a>
|
||||
</p>
|
||||
</section>
|
||||
<footer class="footer">
|
||||
<p>
|
||||
<iframe src="github-btn.html?user=markdotto&repo=github-buttons&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="85px" height="20px"></iframe>
|
||||
<iframe src="github-btn.html?user=markdotto&repo=github-buttons&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95px" height="20px"></iframe>
|
||||
</p>
|
||||
|
||||
<p>Designed and built by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> with help from <a href="https://github.com/markdotto/github-buttons/graphs/contributors" target="_blank">the contributors</a>.</p>
|
||||
<p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>.</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,212 +0,0 @@
|
|||
/* DOCS RESET
|
||||
-------------------------------------------------- */
|
||||
body {
|
||||
padding: 40px 20px;
|
||||
color: #555;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-color: #fff;
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eee), color-stop(25%, #fff), to(#fff));
|
||||
background-image: -webkit-linear-gradient(#eee, #fff 25%, #fff);
|
||||
background-image: -moz-linear-gradient(top, #eee, #fff 25%, #fff);
|
||||
background-image: -ms-linear-gradient(#eee, #fff 25%, #fff);
|
||||
background-image: -o-linear-gradient(#eee, #fff 25%, #fff);
|
||||
background-image: linear-gradient(#eee, #fff 25%, #fff);
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
overflow: auto;
|
||||
}
|
||||
body,
|
||||
p,
|
||||
li {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
/* Set width of site */
|
||||
.container {
|
||||
width: auto;
|
||||
max-width: 820px;
|
||||
}
|
||||
|
||||
/* Clearfix */
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
content:"";
|
||||
display:table;
|
||||
}
|
||||
.clearfix:after {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
/* Change up the buttons to match GitHub */
|
||||
.primary.btn {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,.5);
|
||||
background-color: #3072b3; /* Old browsers */
|
||||
background-repeat: repeat-x; /* Repeat the gradient */
|
||||
background-image: -moz-linear-gradient(top, #599bdc 0%, #3072b3 100%); /* FF3.6+ */
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#599bdc), color-stop(100%,#3072b3)); /* Chrome,Safari4+ */
|
||||
background-image: -webkit-linear-gradient(top, #599bdc 0%,#3072b3 100%); /* Chrome 10+,Safari 5.1+ */
|
||||
background-image: -ms-linear-gradient(top, #599bdc 0%,#3072b3 100%); /* IE10+ */
|
||||
background-image: -o-linear-gradient(top, #599bdc 0%,#3072b3 100%); /* Opera 11.10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#599bdc', endColorstr='#3072b3',GradientType=0 ); /* IE6-9 */
|
||||
background-image: linear-gradient(top, #599bdc 0%,#3072b3 100%); /* W3C */
|
||||
border: 1px solid #2967a4;
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
transition: none;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 2px rgba(0,0,0,.2);
|
||||
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 2px rgba(0,0,0,.2);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 2px rgba(0,0,0,.2);
|
||||
}
|
||||
.primary.btn:hover {
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.primary.btn:active {
|
||||
background-image: none;
|
||||
background-color: #3072b3; /* Old browsers */
|
||||
-webkit-box-shadow: inset 0 5px 10px rgba(0,0,0,.125), 0 1px 2px rgba(0,0,0,.2);
|
||||
-moz-box-shadow: inset 0 5px 10px rgba(0,0,0,.125), 0 1px 2px rgba(0,0,0,.2);
|
||||
box-shadow: inset 0 5px 10px rgba(0,0,0,.125), 0 1px 2px rgba(0,0,0,.2);
|
||||
}
|
||||
|
||||
|
||||
/* MASTHEAD
|
||||
-------------------------------------------------- */
|
||||
.masthead {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.masthead h1,
|
||||
.masthead p {
|
||||
text-align: center;
|
||||
}
|
||||
.masthead h1 {
|
||||
margin-bottom: 10px;
|
||||
font-size: 80px;
|
||||
line-height: 1;
|
||||
}
|
||||
.masthead p {
|
||||
font-size: 18px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.masthead .introducing {
|
||||
margin-bottom: 20px;
|
||||
color: #999;
|
||||
}
|
||||
.masthead .tagline {
|
||||
margin-bottom: 30px;
|
||||
font-size: 24px;
|
||||
}
|
||||
.masthead .tweet-button {
|
||||
width: 55px;
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
|
||||
|
||||
/* BODY
|
||||
-------------------------------------------------- */
|
||||
|
||||
/* Two-column buttons */
|
||||
.about-buttons {
|
||||
text-align: center;
|
||||
}
|
||||
.about-star,
|
||||
.about-fork,
|
||||
.about-follow {
|
||||
width: 32%;
|
||||
float: left;
|
||||
}
|
||||
.about-buttons div + div {
|
||||
margin-left: 2%;
|
||||
}
|
||||
.about-buttons ul {
|
||||
margin-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.about-buttons iframe {
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
/* Download button */
|
||||
.download {
|
||||
margin: 30px 0 50px;
|
||||
text-align: center;
|
||||
}
|
||||
.download .btn {
|
||||
font-size: 20px;
|
||||
padding: 12px 24px;
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
|
||||
/* FOOTER
|
||||
-------------------------------------------------- */
|
||||
.footer {
|
||||
margin-top: 40px;
|
||||
padding: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
.footer p {
|
||||
text-align: center;
|
||||
}
|
||||
iframe + iframe {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
/* MISC
|
||||
-------------------------------------------------- */
|
||||
|
||||
/* Small lines after each section */
|
||||
.masthead:after,
|
||||
.body:after {
|
||||
display: block;
|
||||
content: '';
|
||||
width: 100px;
|
||||
height: 1px;
|
||||
margin: 0 auto;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
|
||||
/* RESPONSIVE
|
||||
-------------------------------------------------- */
|
||||
|
||||
@media (max-width: 840px) {
|
||||
.masthead h1 {
|
||||
font-size: 60px;
|
||||
}
|
||||
.masthead p,
|
||||
.masthead .tagline {
|
||||
font-size: 18px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.about-watch,
|
||||
.about-fork,
|
||||
.about-follow {
|
||||
width: auto;
|
||||
float: none;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.about-buttons div + div {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.masthead h1 {
|
||||
font-size: 40px;
|
||||
}
|
||||
.masthead p,
|
||||
.masthead .tagline {
|
||||
font-size: 16px;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
BIN
public/img/BrowserQuest/habitrpg_mods/Mount-PolarBear-Base.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-Desert.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-Golden.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-Red.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-Shade.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-Skeleton.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-White.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-BearCub-Zombie.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-Chocolate.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-Cream.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-Golden.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-Licorice.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-Rotten.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-Strawberry.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Cactus-SugarCube.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-Desert.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-Golden.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-Red.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-Shade.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-Skeleton.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-White.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Dragon-Zombie.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-Desert.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-Golden.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-Red.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-Shade.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-Skeleton.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-White.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-FlyingPig-Zombie.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-Desert.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-Golden.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-Red.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-Shade.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-Skeleton.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-White.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-Fox-Zombie.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-Desert.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-Golden.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-Red.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-Shade.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-Skeleton.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-White.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-LionCub-Zombie.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-Desert.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-Golden.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-Red.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-Shade.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-Skeleton.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-White.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PandaCub-Zombie.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-PolarBearCub-Base.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-Desert.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-Golden.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-Red.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-Shade.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-Skeleton.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-White.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
public/img/BrowserQuest/habitrpg_mods/Pet-TigerCub-Zombie.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/img/calendar_google.png
Normal file
|
After Width: | Height: | Size: 387 B |
BIN
public/img/calendar_ical.png
Normal file
|
After Width: | Height: | Size: 729 B |
BIN
public/img/logo/habitrpg.jpg
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
public/img/logo/habitrpg_pixel.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
public/img/original_user.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
6
public/js/bootstrap.min.js
vendored
17
public/js/jquery-ui.min.js
vendored
2
public/js/jquery.bootstrap-growl.min.js
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/* https://github.com/ifightcrime/bootstrap-growl */
|
||||
(function(e){e.bootstrapGrowl=function(t,n){var n=e.extend({},e.bootstrapGrowl.default_options,n);var r=e("<div>");r.attr("class","bootstrap-growl alert");if(n.type){r.addClass("alert-"+n.type)}if(n.allow_dismiss){r.append('<a class="close" data-dismiss="alert" href="#">×</a>')}r.append(t);if(n.top_offset){n.offset={from:"top",amount:n.top_offset}}var i=e(".bootstrap-growl",n.ele);offsetAmount=n.offset.amount;e.each(i,function(){offsetAmount=offsetAmount+e(this).outerHeight()+n.stackup_spacing});css={position:"absolute",border:"1px solid "+r.css("color"),margin:0,"z-index":"9999",display:"none"};css[n.offset.from]=offsetAmount+"px";r.css(css);if(n.width!=="auto"){r.css("width",n.width+"px")}e(n.ele).append(r);switch(n.align){case"center":r.css({left:"50%","margin-left":"-"+r.outerWidth()/2+"px"});break;case"left":r.css("left","20px");break;default:r.css("right","20px")}r.fadeIn();if(n.delay>=0){r.delay(n.delay).fadeOut("slow",function(){e(this).remove()})}};e.bootstrapGrowl.default_options={ele:"body",type:null,offset:{from:"top",amount:20},align:"right",width:250,delay:4e3,allow_dismiss:true,stackup_spacing:10}})(jQuery)
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
/*jshint eqnull:true */
|
||||
/*!
|
||||
* jQuery Cookie Plugin v1.1
|
||||
* https://github.com/carhartl/jquery-cookie
|
||||
*
|
||||
* Copyright 2011, Klaus Hartl
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.opensource.org/licenses/GPL-2.0
|
||||
*/
|
||||
(function($, document) {
|
||||
|
||||
var pluses = /\+/g;
|
||||
function raw(s) {
|
||||
return s;
|
||||
}
|
||||
function decoded(s) {
|
||||
return decodeURIComponent(s.replace(pluses, ' '));
|
||||
}
|
||||
|
||||
$.cookie = function(key, value, options) {
|
||||
|
||||
// key and at least value given, set cookie...
|
||||
if (arguments.length > 1 && (!/Object/.test(Object.prototype.toString.call(value)) || value == null)) {
|
||||
options = $.extend({}, $.cookie.defaults, options);
|
||||
|
||||
if (value == null) {
|
||||
options.expires = -1;
|
||||
}
|
||||
|
||||
if (typeof options.expires === 'number') {
|
||||
var days = options.expires, t = options.expires = new Date();
|
||||
t.setDate(t.getDate() + days);
|
||||
}
|
||||
|
||||
value = String(value);
|
||||
|
||||
return (document.cookie = [
|
||||
encodeURIComponent(key), '=', options.raw ? value : encodeURIComponent(value),
|
||||
options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE
|
||||
options.path ? '; path=' + options.path : '',
|
||||
options.domain ? '; domain=' + options.domain : '',
|
||||
options.secure ? '; secure' : ''
|
||||
].join(''));
|
||||
}
|
||||
|
||||
// key and possibly options given, get cookie...
|
||||
options = value || $.cookie.defaults || {};
|
||||
var decode = options.raw ? raw : decoded;
|
||||
var cookies = document.cookie.split('; ');
|
||||
for (var i = 0, parts; (parts = cookies[i] && cookies[i].split('=')); i++) {
|
||||
if (decode(parts.shift()) === key) {
|
||||
return decode(parts.join('='));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
$.cookie.defaults = {};
|
||||
|
||||
})(jQuery, document);
|
||||