1
0
Fork 0

unify hcard and vcard

This commit is contained in:
rabuzarus 2015-12-01 18:31:08 +01:00
commit 89c5989cfb
23 changed files with 234 additions and 124 deletions

View file

@ -833,9 +833,13 @@ aside .vcard .fn {
aside .vcard .title {
margin-bottom: 5px;
}
aside .vcard .p-faddr {
aside .vcard .p-addr {
margin-bottom: 5px;
}
aside .vcard .account-type {
font-size: 14px;
margin-bottom: 13px;
}
aside .vcard dl {
height: auto;
overflow: auto;

View file

@ -833,9 +833,13 @@ aside .vcard .fn {
aside .vcard .title {
margin-bottom: 5px;
}
aside .vcard .p-faddr {
aside .vcard .p-addr {
margin-bottom: 5px;
}
aside .vcard .account-type {
font-size: 14px;
margin-bottom: 13px;
}
aside .vcard dl {
height: auto;
overflow: auto;

View file

@ -833,9 +833,13 @@ aside .vcard .fn {
aside .vcard .title {
margin-bottom: 5px;
}
aside .vcard .p-faddr {
aside .vcard .p-addr {
margin-bottom: 5px;
}
aside .vcard .account-type {
font-size: 14px;
margin-bottom: 13px;
}
aside .vcard dl {
height: auto;
overflow: auto;

View file

@ -332,7 +332,8 @@ aside {
.vcard {
.fn { font-size: 16px; font-weight: bold; margin-bottom: 5px; }
.title { margin-bottom: 5px; }
.p-faddr{ margin-bottom: 5px; }
.p-addr { margin-bottom: 5px; }
.account-type { font-size: 14px; margin-bottom: 13px; }
dl { height: auto; overflow: auto; }
dt {float: left; margin-left: 0px; width: 35%; text-align: right; color: @VCardLabelColor; }
dd {float: left; margin-left: 4px; width: 60%;}

View file

@ -26,12 +26,14 @@
{{/if}}
</div>
{{if $profile.faddr}}<div class="p-faddr">{{$profile.faddr}}</div>{{/if}}
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
{{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
<div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
{{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
{{if $location}}
<dl class="location"><dt class="location-label">{{$location}}</dt>