Improve view for individual news story
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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,15 +19,14 @@ 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.negative-15
|
||||||
.col-xs-12
|
span Posted #{timeAgo}
|
||||||
span Posted #{timeAgo}
|
span by
|
||||||
span by
|
a(href="/" + author.username)
|
||||||
a(href="/" + author.username)
|
@#{author.username}
|
||||||
@#{author.username}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user