Improve view for individual news story

This commit is contained in:
Nathan Leniz
2015-03-05 07:49:55 +09:00
parent d8b8373b70
commit ba97c984e7
2 changed files with 14 additions and 11 deletions

View File

@ -180,6 +180,10 @@ ul {
margin-top: -10px;
}
.negative-28 {
margin-top: -28px;
}
.negative-35 {
margin-top: -35px;
}

View File

@ -9,9 +9,9 @@ block content
.panel.panel-info
.panel-heading.text-center Camper News
.panel-body
h3.row.text-left
h3.row.text-left.negative-10
.col-xs-3.col-sm-1
.row
.row.negative-5
.col-xs-12.big-ion-up-arrow
i.ion-arrow-up-b
h3.story-up-votes
@ -19,15 +19,14 @@ block content
.col-xs-2.col-sm-1
img(src="#{author.picture}", class='img-responsive')
.col-xs-7.col-sm-10
.row
.col-xs-12
a(href="#{link}")
h3= title
.col-xs-12
span Posted #{timeAgo}
span  by 
a(href="/" + author.username)
@#{author.username}
.col-xs-12.negative-28
a(href="#{link}")
h3= title
.col-xs-12.negative-15
span Posted #{timeAgo}
span  by 
a(href="/" + author.username)
@#{author.username}