Skip to content

Commit

Permalink
Merge branch 'website'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.gitignore
#	Server/res/background.png
#	Server/res/blocks.psd
#	Server/res/cloud/main.png
#	Server/res/dirt/main.png
#	Server/res/grass/bottom.png
#	Server/res/grass/side.png
#	Server/res/grass/top.png
#	Server/res/tree/apples.png
#	Server/res/tree/bark.png
#	Server/res/tree/leaves.png
#	Server/res/tree/rings.png
#	Server/res/water/crash.gif
#	Server/res/water/crash.png
#	Server/res/water/crash/1.png
#	Server/res/water/crash/10.png
#	Server/res/water/crash/11.png
#	Server/res/water/crash/12.png
#	Server/res/water/crash/13.png
#	Server/res/water/crash/14.png
#	Server/res/water/crash/15.png
#	Server/res/water/crash/16.png
#	Server/res/water/crash/2.png
#	Server/res/water/crash/3.png
#	Server/res/water/crash/4.png
#	Server/res/water/crash/5.png
#	Server/res/water/crash/6.png
#	Server/res/water/crash/7.png
#	Server/res/water/crash/8.png
#	Server/res/water/crash/9.png
#	Server/res/water/fall.gif
#	Server/res/water/fall.png
#	Server/res/water/fall/1.png
#	Server/res/water/fall/10.png
#	Server/res/water/fall/11.png
#	Server/res/water/fall/12.png
#	Server/res/water/fall/13.png
#	Server/res/water/fall/14.png
#	Server/res/water/fall/15.png
#	Server/res/water/fall/16.png
#	Server/res/water/fall/2.png
#	Server/res/water/fall/3.png
#	Server/res/water/fall/4.png
#	Server/res/water/fall/5.png
#	Server/res/water/fall/6.png
#	Server/res/water/fall/7.png
#	Server/res/water/fall/8.png
#	Server/res/water/fall/9.png
#	Server/res/water/falltop.gif
#	Server/res/water/falltop.png
#	Server/res/water/falltop/1.png
#	Server/res/water/falltop/10.png
#	Server/res/water/falltop/11.png
#	Server/res/water/falltop/12.png
#	Server/res/water/falltop/13.png
#	Server/res/water/falltop/14.png
#	Server/res/water/falltop/15.png
#	Server/res/water/falltop/16.png
#	Server/res/water/falltop/2.png
#	Server/res/water/falltop/3.png
#	Server/res/water/falltop/4.png
#	Server/res/water/falltop/5.png
#	Server/res/water/falltop/6.png
#	Server/res/water/falltop/7.png
#	Server/res/water/falltop/8.png
#	Server/res/water/falltop/9.png
#	Server/res/water/main.png
#	readme.md
#	src/voxel.css
  • Loading branch information
Hunter John Larco committed Jan 25, 2016
2 parents 8d5faff + d1dd840 commit 3948c72
Show file tree
Hide file tree
Showing 162 changed files with 7,987 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitignore
@@ -1 +1,6 @@
node_modules/*
<<<<<<< HEAD
node_modules/*
=======
*.pyc
node_modules
>>>>>>> website
23 changes: 23 additions & 0 deletions Server/app.py
@@ -0,0 +1,23 @@
from google.appengine.ext.webapp import template
import webapp2
import os


class Landing(webapp2.RequestHandler):
def get(self):
template_values = {}
path = os.path.join(os.path.dirname(__file__), 'main.html')
self.response.out.write(template.render(path, template_values))


class Demo(webapp2.RequestHandler):
def get(self):
template_values = {}
path = os.path.join(os.path.dirname(__file__), 'demo.html')
self.response.out.write(template.render(path, template_values))


app = webapp2.WSGIApplication([
('/demo/?', Demo),
('/.*', Landing)
], debug=True)
Binary file added Server/app.pyc
Binary file not shown.
34 changes: 34 additions & 0 deletions Server/app.yaml
@@ -0,0 +1,34 @@
application: voxelcss
version: 0-0-0
runtime: python27
api_version: 1
threadsafe: yes

handlers:
- url: /favicon\.ico
static_files: images/favicon.ico
upload: images/favicon\.ico

- url: /download/?
static_files: downloads/latest.zip
upload: downloads/latest\.zip

- url: /dist
static_dir: voxelcss
- url: /images
static_dir: images
- url: /res
static_dir: res
- url: /css
static_dir: css
- url: /highlight
static_dir: highlight
- url: /scripts
static_dir: scripts

- url: .*
script: app.app

libraries:
- name: webapp2
version: "2.5.1"
294 changes: 294 additions & 0 deletions Server/css/main.css
@@ -0,0 +1,294 @@
body{
padding:0px;
margin:0px;

background:rgb(245,245,245);
color:rgb(31,31,31);

font-size:0px;
font-family:'lato', Helvetica, Arial;
font-weight:400;
}

.demo{
position:relative;

height:67%;

background:rgb(232,232,232);
background-size:100px 100px;
}

.sidebar{
display:none;

position:fixed;
left:0px;
top:0px;
z-index:1;

height:100%;
overflow:scroll;

background:rgb(250,250,250);
}
.sidebar img{
display:block;
margin:20px;

cursor:pointer;

width:60px;
height:60px;

border-radius:2px;
}

.nav{
background:#009688;
}
.nav .item{
display:inline-block;
vertical-align:middle;

font-size:18px;
line-height:18px;

margin:0px;
padding:20px 12px;

cursor:pointer;

color:rgb(255,255,255);
text-decoration:none;
}
.nav .item:hover{
background:rgba(0,0,0,0.2);
}

.nav img{
display:inline-block;
vertical-align:middle;

margin:0px;
padding:0px 11px;

height:36px;
}

label.voxel{
color:#009688;
}

.pitch{
margin:50px 0px;
}
.pitch h1{
margin:0px;
padding:0px 20px;

text-align:center;

font-size:40px;
line-height:40px;
font-weight:300;
}
.pitch h2{
margin:0px;
padding:0px 20px;

text-align:center;

font-size:36px;
line-height:36px;
font-weight:300;
}
.pitch .example{
padding:50px 0px;

max-width:800px;
width:100%;
margin:auto;
}

.pitch .example code{
font-size:15px;
line-height:17px;
}
.pitch .example .fiddle{
display:block;

background:rgb(255,255,255);
color:rgb(102,102,102);

font-size:15px;
line-height:15px;
font-weight:300;
font-style:italic;
text-align:right;

padding:16px 26px;

cursor:pointer;
}
.pitch .example .fiddle:hover{
text-decoration:underline;
}

.pitch .imagePreview{
text-align:center;
}
.pitch .imagePreview .item{
display:inline-block;
vertical-align:top;

margin:0px 12px;
}
.pitch .imagePreview .item h3{
font-size:12px;
line-height:12px;

margin:0px 0px 6px 0px;
padding:0px;
}
.pitch .imagePreview .item .img,
.pitch .imagePreview .item img{
width:128px;
height:128px;

border-radius:2px;
}
.pitch .imagePreview .item .img{
width:124px;
height:124px;
}
.pitch .imagePreview .item .img{
border:2px dashed rgb(120,120,120);
}

.pitch .animation{
position:relative;

height:200px;

-webkit-perspective:1000px;

perspective:1000px;
-webkit-perspective-origin:50% 50%;
perspective-origin:50% 50%;
}
.pitch .animation .cube{
position:absolute;

top:50%;
left:50%;

width:0px;
height:0px;

overflow:visible;

-webkit-transform-style:preserve-3d;

transform-style:preserve-3d;
-webkit-transform:rotateX(-15deg) rotateY(45deg);
transform:rotateX(-15deg) rotateY(45deg);

-webkit-animation:CubeRotation 2000ms linear infinite;

animation:CubeRotation 2000ms linear infinite;
}
.pitch .animation .cube.left{
margin-left:-250px;
}
.pitch .animation .cube.right{
margin-left:250px;
}
.pitch .animation .cube .face{
display:block;
position:absolute;

outline:none;
border:none;

margin-left:-64px;
margin-top:-64px;
width:128px;
height:128px;
}
.pitch .animation .cube .left{
-webkit-transform:rotateY(90deg) translate3d(0, 0, 64px);
transform:rotateY(90deg) translate3d(0, 0, 64px);
}
.pitch .animation .cube .right{
-webkit-transform:rotateY(90deg) translate3d(0, 0, -64px);
transform:rotateY(90deg) translate3d(0, 0, -64px);
}
.pitch .animation .cube .front{
-webkit-transform:translate3d(0, 0, 64px);
transform:translate3d(0, 0, 64px);
}
.pitch .animation .cube .back{
-webkit-transform:translate3d(0, 0, -64px);
transform:translate3d(0, 0, -64px);
}
.pitch .animation .cube .top{
-webkit-transform:rotateX(90deg) translate3d(0, 0, 64px);
transform:rotateX(90deg) translate3d(0, 0, 64px);
}
.pitch .animation .cube .bottom{
-webkit-transform:rotateX(90deg) translate3d(0, 0, -64px);
transform:rotateX(90deg) translate3d(0, 0, -64px);
}

@-webkit-keyframes CubeRotation {
0% { -webkit-transform:rotateX(0deg) rotateY(0deg); transform:rotateX(0deg) rotateY(0deg); }
100% { -webkit-transform:rotateX(360deg) rotateY(360deg); transform:rotateX(360deg) rotateY(360deg); }
}

@keyframes CubeRotation {
0% { -webkit-transform:rotateX(0deg) rotateY(0deg); transform:rotateX(0deg) rotateY(0deg); }
100% { -webkit-transform:rotateX(360deg) rotateY(360deg); transform:rotateX(360deg) rotateY(360deg); }
}

.calltoaction{
padding:70px;
background:rgb(232,232,232);
}
.calltoaction .buttons{
text-align:center;
}
.calltoaction .buttons a{
display:inline-block;
cursor:pointer;

background:#00BCD4;
color:rgb(255,255,255);

border:none;
border-radius:2px;

padding:16px 30px;
margin:0px 8px;

font-size:24px;
line-height:22px;
text-decoration:none;
}

.footer{
font-size:18px;
line-height:18px;

text-align:center;

background:#009688;
color:rgb(255,255,255);

padding:20px 12px;
}

.scene .cube .anim{
-webkit-animation:fallup 1000ms linear both;
animation:fallup 1000ms linear both;
}

0 comments on commit 3948c72

Please sign in to comment.