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; margin-top: -10px;
} }
.negative-28 {
margin-top: -28px;
}
.negative-35 { .negative-35 {
margin-top: -35px; margin-top: -35px;
} }

View File

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