diff options
-rw-r--r-- | lib/profilelist.php | 3 | ||||
-rw-r--r-- | theme/base/css/display.css | 25 |
2 files changed, 16 insertions, 12 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php index 5f536e0f4..697713f8f 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -182,7 +182,8 @@ class ProfileListItem extends Widget { $avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE); $this->out->elementStart('a', array('href' => $this->profile->profileurl, - 'class' => 'url')); + 'class' => 'url', + 'rel' => 'contact')); $this->out->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE), 'class' => 'photo avatar', 'width' => AVATAR_STREAM_SIZE, diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 878662c56..09d92be7b 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -592,11 +592,11 @@ margin-left:0; font-size:1.1em; font-weight:bold; } -.entity_profile .entity_fn dd:before { +.entity_profile .fn:before { content: "("; font-weight:normal; } -.entity_profile .entity_fn dd:after { +.entity_profile .fn:after { content: ")"; font-weight:normal; } @@ -782,18 +782,21 @@ display:none; .profiles { list-style-type:none; } -.profile .entity_profile .entity_location { +.profile .entity_profile .url[rel=contact] { +margin-left:0; +display:inline; +} + +.profile .entity_profile .fn, +.profile .entity_profile .location { +margin-left:11px; +margin-bottom:4px; width:auto; clear:none; -margin-left:11px; } -.profile .entity_profile dl, -.profile .entity_profile dd { -display:inline; -float:none; -} -.profile .entity_profile .entity_note, -.profile .entity_profile .entity_url, + +.profile .entity_profile .note, +.profile .entity_profile .url, .profile .entity_profile .entity_tags, .profile .entity_profile .form_subscription_edit { margin-left:59px; |