Permalink
Browse files

[fix] Better readibility in topic view and layouts

  • Loading branch information...
1 parent 5516ce6 commit 420e32dca361c1cceae5913f24a2a66918d697eb Alejandro Morales committed Feb 19, 2013
Showing with 31 additions and 5 deletions.
  1. +1 −1 views/home.jade
  2. +4 −2 views/listing.jade
  3. +26 −2 views/topic.jade
View
@@ -16,4 +16,4 @@ html
h1 ES Discuss Archives
p This site aims to provide an easilly browsable nicely formatted copy of all the e-mail correspondence on the ES Discuss mailing list.
p This is the only way to be involved in the next version of JavaScript
- a(href='/1')#view-topics.btn.btn-large.btn-primary.btn-block View Topics
+ a(href='/1')#view-topics.btn.btn-large.btn-primary.btn-block View Topics
View
@@ -16,7 +16,9 @@ html
.row
.span12
.page-header
- h1 ES Discuss /
+ h1
+ a(href="/") ES Discuss
+ |  /
small Page #{id}
for topic in topics
.row
@@ -44,4 +46,4 @@ html
a(disabled) Older →
else
li.next
- a(href='/' + (id + 1)) Older →
+ a(href='/' + (id + 1)) Older →
View
@@ -5,12 +5,36 @@ html
title ES Discuss
link(href='https://yandex.st/highlightjs/7.3/styles/default.min.css', rel='stylesheet')
link(href='https://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css', rel='stylesheet')
+ style
+ header {
+ height: 30px;
+ margin-top: 10px;
+ }
+ header h3 {
+ line-height:20px;
+ display:inline-block;
+ }
+ header a {
+ color:gray;
+ }
+ .content {
+ padding: 10px 15px;
+ }
+ .content p {
+ font-size: 15px;
+ }
+ blockquote {
+ font-style: italic;
+ }
+
body
.container
.row
.span12
.page-header
- h1 ES Discuss /
+ h1
+ a(href="/") ES Discuss
+ | /
small #{topic.subject}
-var postID = 0;
for message in messages
@@ -21,4 +45,4 @@ html
script(src='https://yandex.st/highlightjs/7.3/highlight.min.js')
script(src='/load-messages/build/build.js')
script
- require('esdiscuss-load-messages')
+ require('esdiscuss-load-messages')

0 comments on commit 420e32d

Please sign in to comment.