add design stuff for header display
This commit is contained in:
parent
c60e345d7b
commit
3edfbb42a1
|
@ -53,7 +53,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40vh;
|
height: 300px;
|
||||||
background-color: darken($navbar-inverse-bg, 10%);
|
background-color: darken($navbar-inverse-bg, 10%);
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
@ -124,4 +124,16 @@
|
||||||
|
|
||||||
.user--banned {
|
.user--banned {
|
||||||
text-decoration: line-through !important;
|
text-decoration: line-through !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile--panel-push-50 {
|
||||||
|
display: block;
|
||||||
|
height: 50px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile--panel-push-200 {
|
||||||
|
display: block;
|
||||||
|
height: 180px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
|
@ -1,9 +1,11 @@
|
||||||
.profile--header
|
.profile--header
|
||||||
.container.j2-page
|
.container.j2-page
|
||||||
.col-md-3.col-xs-12.col-sm-4
|
.col-md-3.col-xs-12.col-sm-4
|
||||||
|
.profile--panel-push-50.hidden-xs
|
||||||
= render 'user/profile_info'
|
= render 'user/profile_info'
|
||||||
.hidden-xs= render 'shared/links'
|
.hidden-xs= render 'shared/links'
|
||||||
.col-md-9.col-xs-12.col-sm-8
|
.col-md-9.col-xs-12.col-sm-8
|
||||||
|
.profile--panel-push-200.hidden-xs
|
||||||
= render 'shared/questionbox'
|
= render 'shared/questionbox'
|
||||||
#answers
|
#answers
|
||||||
- @answers.each do |a|
|
- @answers.each do |a|
|
||||||
|
|
Loading…
Reference in New Issue