Correct author bio image alignment.

Fixes #24
This commit is contained in:
Michael Rose 2014-03-11 11:37:12 -04:00
parent ff0fc10785
commit b24fec72e6
2 changed files with 5 additions and 16 deletions

File diff suppressed because one or more lines are too long

View file

@ -314,11 +314,6 @@ body {
a, a:hover { a, a:hover {
border-bottom: 0 solid transparent; border-bottom: 0 solid transparent;
} }
img.bio-photo {
width: 100px;
height: 100px;
.rounded(100px);
}
} }
.author-social { .author-social {
display: block; display: block;
@ -337,18 +332,20 @@ body {
} }
.article-author-side { .article-author-side {
display: none; display: none;
.bio-photo {
max-width: 110px;
.rounded(150px);
}
@media @600px { @media @600px {
display: block; display: block;
.grid(12,2); .grid(12,2);
.prefix(12,0.5); .prefix(12,0.5);
.suffix(12,0.5); .suffix(12,0.5);
h3, h3,
.bio-photo,
p, p,
.author-social { .author-social {
display: block; display: block;
max-width: 125px; max-width: 125px;
margin: auto;
} }
h3 { h3 {
margin-top: 10px; margin-top: 10px;
@ -368,10 +365,6 @@ body {
.author-social { .author-social {
max-width: 150px; max-width: 150px;
} }
img.bio-photo {
margin-left: 25px;
margin-right: 25px;
}
} }
@media @1382px { @media @1382px {
.grid(12,1.5); .grid(12,1.5);
@ -398,10 +391,6 @@ body {
.author-social { .author-social {
max-width: 150px; max-width: 150px;
} }
img.bio-photo {
margin-left: 25px;
margin-right: 25px;
}
} }
} }
.article-wrap { .article-wrap {