Skip to content

Commit c70148a

Browse files
author
Giancarlo
committed
the app did not work, time is over, we are going home
1 parent d7489f7 commit c70148a

File tree

3 files changed

+35
-21
lines changed

3 files changed

+35
-21
lines changed

public/stylesheets/style.css

+24-6
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,46 @@
11
body {
22
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
3+
height: 100%;
34
background-color: #bab595;;
45
background: -moz-linear-gradient(top, #bab595, #aaa585);
56
background: -webkit-gradient(linear, left top, left bottom, from(#bab595), to(#aaa585));
67
}
78

9+
div#content { height: 100%
10+
}
11+
12+
div#banner.img { float:left;
13+
position: absolute}
14+
815
div#banner {
9-
position: absolute;
10-
box-shadow: 5px 5px 5px #000;
16+
width: 100%;
17+
height: 140px;
18+
position: relative;
19+
float: left;
1120
border: solid 1px #ffffff;
1221
background: -moz-linear-gradient(top, #fbfafb, #d0d1d1);
1322
background: -webkit-gradient(linear, left top, left bottom, from(#fbfafb), to(#d0d1d1));
14-
height: 600px;
1523
background-color: white;
1624
}
25+
div#text {
26+
float: right;
27+
padding: 15px;
28+
}
1729

18-
div#vote { float: top right
30+
div#vote { float: right;
1931
}
2032

2133
div#bd {
2234
padding: 50px 50px 50px 50px;
35+
height: 100%;
2336
}
24-
37+
2538
h1 {
26-
text-shadow: 5px 5px 0px #eee, 7px 7px 0px #707070;
39+
text-shadow: 3px 3px 0px #eee, 4px 4px 0px #808080;
2740
}
2841

2942
h2 {
43+
font-size: 10pt;
3044
text-shadow: 0px 2px 3px #666;
3145
}
3246

@@ -37,7 +51,11 @@ h3 {
3751
}
3852

3953
div#bottom {
54+
position: absolute;
4055
float: bottom;
56+
bottom: 0;
57+
width: 100%;
58+
height: 300px;
4159
background: -moz-linear-gradient(top, #2e2d2d, #000000);
4260
background: -webkit-gradient(linear, left top, left bottom, from(#2e2d2d), to(#000000));
4361
background: #2e2d2d;

routes/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
app.get('/', function(req, res){
2+
res.render('index', {
3+
title: 'Express'
4+
});
5+
});

views/layout.jade

+6-15
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,17 @@ html
55
link(rel='stylesheet', href='/stylesheets/style.css')
66

77
body
8-
#all
8+
#content
99
#banner
1010
img(src='/images/logo.png',alt='logo')
11+
#text
1112
h1 Don’t waste more time!
12-
h2 TV Herald suggests an alternative way to reduce the time you spend watching poor television. The app allows you to search the series you’re interested in.
13-
#vote
14-
.container
15-
.left
16-
iframe(src="http://nodeknockout.com/iframe/fab-4", frameborder="0", scrolling="no", allowtransparency="true", width="115", height="25")
17-
.right
18-
iframe(src="http://www.facebook.com/plugins/like.php?app_id=258607587492854&href=http%3A%2F%2Fthetvherald.nodejitsu.com%2F&send=false&layout=button_count&width=200&show_faces=false&action=like&colorscheme=light&font&height=21", scrolling="no", frameborder="0", style="border:none; overflow:hidden; width:120px; height:21px;", allowTransparency="true")
19-
a(href="http://thetvherald.nodejitsu.com/", class="twitter-share-button", data-count="horizontal") Tweet
20-
!= js("http://platform.twitter.com/widgets.js")
21-
g:plusone(size="small", annotation="inline", width="120px")
22-
#content
13+
h2 TV Herald suggests an alternative way to reduce the time you spend watching poor television.
14+
h2 The app allows you to search the series you’re interested in.
2315
#bd
2416
h3 Séries
2517
br
2618
p search
27-
br
2819
p Just search for the series you would like to get synopses, exhibition dates and more.
29-
#bottom
30-
p
20+
#bottom
21+
p

0 commit comments

Comments
 (0)