Permalink
Browse files

Style up author profiles. Closes #36.

  • Loading branch information...
1 parent 9a1abcb commit 2eaf881e7f4975e7994b915deea4e06325a772c3 @dstrojny dstrojny committed Jul 5, 2012
Showing with 16 additions and 8 deletions.
  1. +16 −8 source/assets/stylesheets/_patterns.scss
View
24 source/assets/stylesheets/_patterns.scss
@@ -103,6 +103,7 @@ video {
.comment-content img,
.widget img,
img.header-image,
+#author-avatar img,
img.wp-post-image { /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
@include border-radius();
@include box-shadow();
@@ -179,19 +180,26 @@ img.wp-post-image { /* Add fancy borders to all WordPress-added images but not t
/*---------------------------------------------------------
Author profiles
------------------------------------------------------------ */
-
#author-info {
@include clear();
@include rem('margin', $vbase 0);
+ @include rem('padding-top', $vbase);
+ border-top: $divider;
}
#author-avatar {
- float: left;
- width: 75px;
+ @media screen and (min-width: 600px) {
+ float: left;
+ @include rem('margin-top', 8px);
+ }
}
#author-description {
- color: lighten($font-color, 20);
- @include rem('font-size', 13px);
- line-height: ($evbase/13);
- float: left;
- @include rem('margin-left', 15px);
+ @media screen and (min-width: 600px) {
+ float: right;
+ width: percentage(500/625);
+ }
+ p {
+ color: lighten($font-color, 20);
+ @include rem('font-size', 13px);
+ line-height: ($evbase/13);
+ }
}

0 comments on commit 2eaf881

Please sign in to comment.