This commit is contained in:
Tj Holowaychuk 2010-12-31 15:46:50 -08:00
parent 1c40e4374b
commit 03da0d31f9
3 changed files with 37 additions and 0 deletions

View File

@ -22,6 +22,7 @@ app.configure(function(){
app.use(express.bodyDecoder());
app.use(express.methodOverride());
app.use(app.router);
app.use(express.staticProvider(__dirname + '/public'));
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }));
});

View File

@ -0,0 +1,35 @@
body {
font: 13px;
color: #111;
padding: 60px 80px;
}
h1 {
color: #c00;
}
a {
color: #c00;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
label {
padding: 6px 0;
display: block;
text-transform: lowercase;
}
textarea,
input {
outline: none;
padding: 5px;
background: #f1f1f1;
border: 1px solid #aaa;
}
textarea:focus,
input:focus {
background: #fff;
}
textarea {
width: 500px;
height: 200px;
}

View File

@ -2,5 +2,6 @@
html
head
title Blog
link(rel='stylesheet', href='/style.css')
body
#container!= body