Skip to content

Commit 8792c28

Browse files
author
Aaron Baker
committed
precompile assets for heroku
1 parent 32ff3dd commit 8792c28

12 files changed

Lines changed: 10603 additions & 1 deletion

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# config.action_dispatch.rack_cache = true
2121

2222
# Disable Rails's static asset server (Apache or nginx will already do this).
23-
config.serve_static_assets = false
23+
config.serve_static_assets = true
2424

2525
# Compress JavaScripts and CSS.
2626
config.assets.js_compressor = :uglifier
162 KB
Binary file not shown.
154 KB
Binary file not shown.
155 KB
Binary file not shown.
Binary file not shown.
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the top of the
9+
* compiled file, but it's generally better to create a new file per style scope.
10+
*
11+
12+
13+
*/
14+
15+
@font-face {
16+
font-family: "Gothamy";
17+
src: url('Gotham Medium');
18+
font-weight: normal;
19+
font-style: normal;
20+
font-variant: normal;
21+
}
22+
23+
@font-face {
24+
font-family: "Gothamy";
25+
src: url('Gotham Bold');
26+
font-weight: bold;
27+
font-style: normal;
28+
font-variant: normal;
29+
}
30+
31+
#video_background {
32+
position: fixed;
33+
top: 0px;
34+
left: 0px;
35+
min-width: 100%;
36+
min-height: 100%;
37+
width: auto;
38+
height: auto;
39+
overflow: hidden;
40+
z-index: 1;
41+
}
42+
43+
body {
44+
background-color: black;
45+
margin: 0px;
46+
}
47+
48+
.well, .well2 {
49+
position: fixed;
50+
border-radius: 1px;
51+
margin-left: -20px;
52+
background-color: #FFF;
53+
font-family: Gothamy, Gotham-Medium, Arial, sans-serif;
54+
opacity: 0.7;
55+
font-size: 15px;
56+
padding: 15px 15px 15px 15px;
57+
width: 60px;
58+
height: 250px;
59+
}
60+
61+
.well2 {
62+
text-align: left;
63+
line-height: 20px;
64+
width: 110px;
65+
}
66+
67+
.rotate {
68+
-webkit-transform: rotate(90deg);
69+
-moz-transform: rotate(90deg);
70+
-ms-transform: rotate(90deg);
71+
-o-transform: rotate(90deg);
72+
transform: rotate(90deg);
73+
74+
/* Should be unset in IE9+ I think. */
75+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-3);
76+
}
77+
78+
.criterion {
79+
position: fixed;
80+
width: 255px;
81+
margin-top: 120px;
82+
margin-left: -70px;
83+
}
84+
85+
.logo {
86+
z-index: 1000;
87+
position: fixed;
88+
top: 40px;
89+
left: 50px;
90+
padding: 0px;
91+
}
92+
93+
.span1 {
94+
z-index: 1000;
95+
position: fixed;
96+
top: 240px;
97+
left: 0px;
98+
margin-left: 10px;
99+
}
100+
101+
.span1 + .span1 {
102+
left: 95px;
103+
}
104+
105+
a {
106+
color: #333;
107+
font-family: Gothamy, Gotham-Medium, Arial, sans-serif;
108+
text-decoration: none;
109+
}
110+
111+
a:hover {
112+
font-weight: bold;
113+
color: #333;
114+
text-decoration: none;
115+
}
116+
117+
a:visited {
118+
font-family: Gothamy, Gotham-Medium, Arial, sans-serif;
119+
}
120+
121+
.content {
122+
position: absolute;
123+
z-index: 1000;
124+
padding: 20px 15px 50px 15px;
125+
margin-top: 50px;
126+
margin-left: 300px;
127+
min-height: 75%;
128+
text-align: center;
129+
height: auto;
130+
width: 800px;
131+
background-color: rgba(255,255,255,0.85);
132+
font-family: Gothamy, Gotham-Medium, Arial, sans-serif;
133+
}
134+
135+
.dead {
136+
font-family: Gothamy, Gotham-Medium, Arial, sans-serif;
137+
}
138+
139+
.alive {
140+
font-weight: bold;
141+
}
142+
143+
img {
144+
padding: 20px;
145+
}
146+
.show {
147+
display: block;
148+
}
149+
.hide {
150+
display: none;
151+
}
152+
body {
153+
background-color: white; }
1018 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)