From: Sarven Capadisli Date: Fri, 6 Nov 2009 11:51:28 +0000 (+0100) Subject: Updated styles for profile list re: commit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85647719a3ed78a9b2c88e1c33f2f3bd995df03e;p=quix0rs-gnu-social.git Updated styles for profile list re: commit 3c4ac05cde5a97594d3b0fa7e3f5dbbaf45e4c64 --- diff --git a/lib/profilelist.php b/lib/profilelist.php index 5f536e0f4d..697713f8fd 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 878662c562..09d92be7b5 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;