unify hcard and vcard
This commit is contained in:
parent
0278e60664
commit
89c5989cfb
23 changed files with 234 additions and 124 deletions
|
@ -2492,14 +2492,14 @@ aside input[type='text'] {
|
|||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.location-label, .gender-label, .marital-label, .homepage-label {
|
||||
.location-label, .gender-label, .marital-label, .homepage-label, .network-label {
|
||||
float: left;
|
||||
text-align: right;
|
||||
display: block;
|
||||
width: 65px;
|
||||
}
|
||||
|
||||
.adr, .x-gender, .marital-text, .homepage-url {
|
||||
.adr, .x-gender, .marital-text, .homepage-url, .x-network {
|
||||
float: left;
|
||||
display: block;
|
||||
margin-left: 8px;
|
||||
|
@ -2538,11 +2538,16 @@ aside input[type='text'] {
|
|||
}
|
||||
|
||||
.vcard .title,
|
||||
.vcard .p-faddr {
|
||||
.vcard .p-addr {
|
||||
margin-bottom: 5px;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.vcard .account-type {
|
||||
font-size: 120%;
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
|
||||
.vcard dl {
|
||||
clear: both;
|
||||
}
|
||||
|
|
|
@ -3,12 +3,14 @@
|
|||
|
||||
<div class="fn label">{{$profile.name}}</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue