Browse Source

fixing avatar height in postboard

nin-v2
myleneb 9 years ago
parent
commit
946ecbb611
  1. 6
      css/style.css
  2. 4
      sass/layout/_postboard.sass

6
css/style.css

@ -243,7 +243,7 @@ html, body {
html { html {
font-size: 15px; font-size: 15px;
background-color: #ddd; background-color: #ddd;
background-image: url('../img/bg.png?1442064299'); background-image: url('../img/bg.png?1442230326');
background-attachment: fixed; background-attachment: fixed;
} }
@ -446,7 +446,7 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover {
max-width: 100%; max-width: 100%;
width: 1200px; width: 1200px;
margin: auto; margin: auto;
background: url('../img/logo.png?1442064299') no-repeat 50% 50%; background: url('../img/logo.png?1442230326') no-repeat 50% 50%;
background-size: 20px; background-size: 20px;
} }
.userMenu > ul li { .userMenu > ul li {
@ -1399,6 +1399,8 @@ button.light:hover, .light.show-more-followers:hover, a.button.light:hover {
overflow: hidden; overflow: hidden;
width: 48px; width: 48px;
margin: 0 15px 15px 0; margin: 0 15px 15px 0;
max-height: 60px;
clear: both;
} }
.post-photo img { .post-photo img {
width: 100%; width: 100%;

4
sass/layout/_postboard.sass

@ -83,6 +83,7 @@
+transition-timing-function(ease-out) +transition-timing-function(ease-out)
color: $defaut-font-color color: $defaut-font-color
cursor: pointer cursor: pointer
&:hover &:hover
color: #000 color: #000
@ -137,6 +138,8 @@
overflow: hidden overflow: hidden
width: $mini-usr-img width: $mini-usr-img
margin: 0 15px 15px 0 margin: 0 15px 15px 0
max-height: 60px
clear: both
img img
width: 100% width: 100%
height: auto!important height: auto!important
@ -192,6 +195,7 @@
font-size: .8rem font-size: .8rem
line-height: .8rem line-height: .8rem
margin: 2px 0 4px 60px margin: 2px 0 4px 60px
color: lighten($dark-grey,30%) color: lighten($dark-grey,30%)
&.post-retransmited-by-container &.post-retransmited-by-container
margin: 0 0 1em margin: 0 0 1em

Loading…
Cancel
Save