fixed avatars with legacy browsers. grrrr.
This commit is contained in:
parent
54063ef6a1
commit
5daedf202f
4 changed files with 19 additions and 25 deletions
|
@ -29,13 +29,7 @@ article#func.article {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
background-size: 100%;
|
||||||
|
|
||||||
.article a img {
|
|
||||||
position: relative;
|
|
||||||
top: -7.75em;
|
|
||||||
text-align: left;
|
|
||||||
z-index: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.article a p {
|
.article a p {
|
||||||
|
@ -188,10 +182,6 @@ input[type] {
|
||||||
height: 7em;
|
height: 7em;
|
||||||
line-height: 7em;
|
line-height: 7em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article a img {
|
|
||||||
top: -5.45em;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes shake {
|
@keyframes shake {
|
||||||
|
|
|
@ -13,10 +13,12 @@ $if null beverages
|
||||||
|
|
||||||
$forall (Entity uId user) <- users
|
$forall (Entity uId user) <- users
|
||||||
<article .article>
|
<article .article>
|
||||||
<a href=@{SelectR uId}>
|
$if userAvatar user /= Nothing
|
||||||
<p>#{userIdent user}
|
<a href=@{SelectR uId} style="background-image: url(@{GetAvatarR $ fromJust $ userAvatar user})">
|
||||||
$if userAvatar user /= Nothing
|
<p>#{userIdent user}
|
||||||
<img src=@{GetAvatarR $ fromJust $ userAvatar user}>
|
$else
|
||||||
|
<a href=@{SelectR uId}>
|
||||||
|
<p>#{userIdent user}
|
||||||
|
|
||||||
<article .article #func>
|
<article .article #func>
|
||||||
<a href=@{ReactivateR}>
|
<a href=@{ReactivateR}>
|
||||||
|
|
|
@ -19,8 +19,9 @@ $if null beverages
|
||||||
|
|
||||||
$forall (Entity bId bev) <- beverages
|
$forall (Entity bId bev) <- beverages
|
||||||
<article .article>
|
<article .article>
|
||||||
<a href=@{BuyR uId bId}>
|
$if beverageAvatar bev /= Nothing
|
||||||
<p>
|
<a href=@{BuyR uId bId} style="background-image: url(@{GetAvatarR $ fromJust $ beverageAvatar bev})">
|
||||||
#{beverageIdent bev}
|
<p>#{beverageIdent bev}
|
||||||
$if beverageAvatar bev /= Nothing
|
$else
|
||||||
<img src=@{GetAvatarR $ fromJust $ beverageAvatar bev}>
|
<a href=@{BuyR uId bId}>
|
||||||
|
<p>#{beverageIdent bev}
|
||||||
|
|
|
@ -4,8 +4,9 @@ $doctype 5
|
||||||
|
|
||||||
$forall (Entity bId bev) <- beverages
|
$forall (Entity bId bev) <- beverages
|
||||||
<article .article>
|
<article .article>
|
||||||
<a href=@{BuyCashR bId}>
|
$if beverageAvatar bev /= Nothing
|
||||||
<p>
|
<a href=@{BuyCashR bId} style="background-image: url(@{GetAvatarR $ fromJust $ beverageAvatar bev})">
|
||||||
#{beverageIdent bev}
|
<p>#{beverageIdent bev}
|
||||||
$if beverageAvatar bev /= Nothing
|
$else
|
||||||
<img src=@{GetAvatarR $ fromJust $ beverageAvatar bev}>
|
<a href=@{BuyCashR bId}>
|
||||||
|
<p>#{beverageIdent bev}
|
||||||
|
|
Loading…
Reference in a new issue