aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/zcard.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/zcard.tpl')
-rw-r--r--view/tpl/zcard.tpl37
1 files changed, 23 insertions, 14 deletions
diff --git a/view/tpl/zcard.tpl b/view/tpl/zcard.tpl
index b73b1011c..908f07631 100644
--- a/view/tpl/zcard.tpl
+++ b/view/tpl/zcard.tpl
@@ -41,41 +41,50 @@
}
{{elseif $size == 'hz_medium'}}
.hz_card {
- -moz-transform: translate(-{{$translate}}%, -{{$translate}}%) scale({{$scale}}, {{$scale}});
- transform: translate(-{{$translate}}%, -{{$translate}}%) scale({{$scale}}, {{$scale}});
+/* -moz-transform: translate(-{{$translate}}%, -{{$translate}}%) scale({{$scale}}, {{$scale}});
+ transform: translate(-{{$translate}}%, -{{$translate}}%) scale({{$scale}}, {{$scale}}); */
font-family: sans-serif, arial, freesans;
+ width: 100%;
+ overflow: hidden;
+ height: 390px;
}
-.hz_cover_photo {
- max-width: 100%;
+.hz_cover_photo img {
+ width: {{$maxwidth}}px;
+/* max-width: 100%; */
}
.hz_profile_photo {
position: relative;
- top: -300px;
+ top: -165px;
left: 30px;
+
+ width: 150px;
+ height: 150px;
+}
+.hz_profile_photo img {
background-color: white;
border: 1px solid #ddd;
border-radius: 5px;
-moz-border-radius: 5px;
- padding: 10px;
- width: 320px;
- height: 320px;
+ padding: 5px;
+ width: 150px;
+ height: 150px;
}
.hz_name {
position: relative;
top: -100px;
- left: 400px;
+ left: 210px;
color: #fff;
- font-size: 48px;
+ font-size: 32px;
text-rendering: optimizelegibility;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
.hz_addr {
position: relative;
- top: -110px;
- left: 400px;
+ top: -100px;
+ left: 210px;
color: #fff;
- font-size: 24px;
+ font-size: 18px;
text-rendering: optimizelegibility;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}
@@ -130,6 +139,6 @@
<div class="hz_name">{{$zcard.chan.xchan_name}}</div>
<div class="hz_addr">{{$zcard.chan.channel_addr}}</div>
</div>
- <div class="hz_profile_photo"><img style="width: {{$pphoto.width}}px; height: {{$pphoto.height}}px;" src="{{$pphoto.href}}" alt="{{$zcard.chan.xchan_name}}" /></div>
+ <div class="hz_profile_photo"><img src="{{$pphoto.href}}" alt="{{$zcard.chan.xchan_name}}" /></div>
</div>