diff options
author | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2016-02-02 17:51:34 +0100 |
---|---|---|
committer | Haakon Meland Eriksen <haakon.eriksen@far.no> | 2016-02-02 17:51:34 +0100 |
commit | 36ac48779c85ae324d2d702714677e360af5930d (patch) | |
tree | f6e78cb3cefe3abf5dcac291938005d75ecb0bff /view/tpl/zcard.tpl | |
parent | 0cd82ec680e6a5a352781861a63685038fea723a (diff) | |
parent | 88669fa033d5b43d4cdad7b95c9af05bf9467d3b (diff) | |
download | volse-hubzilla-36ac48779c85ae324d2d702714677e360af5930d.tar.gz volse-hubzilla-36ac48779c85ae324d2d702714677e360af5930d.tar.bz2 volse-hubzilla-36ac48779c85ae324d2d702714677e360af5930d.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'view/tpl/zcard.tpl')
-rw-r--r-- | view/tpl/zcard.tpl | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/view/tpl/zcard.tpl b/view/tpl/zcard.tpl new file mode 100644 index 000000000..68f1058a5 --- /dev/null +++ b/view/tpl/zcard.tpl @@ -0,0 +1,50 @@ +<style> +.hz_card { + -moz-transform: translate(-{{$translate}}%, -{{$translate}}%) scale({{$scale}}, {{$scale}}); + transform: translate(-{{$translate}}%, -{{$translate}}%) scale({{$scale}}, {{$scale}}); +} +.hz_cover_photo { + max-width: 100%; +} +.hz_profile_photo { + position: relative; + top: -300px; + left: 30px; + background-color: white; + border: 1px solid #ddd; + border-radius: 5px; + -moz-border-radius: 5px; + padding: 10px; + width: 320px; + height: 320px; +} + +.hz_name { + position: relative; + top: -100px; + left: 400px; + color: #fff; + font-size: 48px; + text-rendering: optimizelegibility; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); +} +.hz_addr { + position: relative; + top: -110px; + left: 400px; + color: #fff; + font-size: 24px; + text-rendering: optimizelegibility; + text-shadow: 0 0 3px rgba(0, 0, 0, 0.8); +} + +</style> + +<div class="hz_card"> + <div class="hz_cover_photo"><img src="{{$cover.href}}" alt="{{$zcard.chan.xchan_name}}" /> + <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: 300px; height: 300px;" src="{{$pphoto.href}}" alt="{{$zcard.chan.xchan_name}}" /></div> +</div> + |