]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated styles for profile list re: commit
authorSarven Capadisli <csarven@status.net>
Fri, 6 Nov 2009 11:51:28 +0000 (12:51 +0100)
committerSarven Capadisli <csarven@status.net>
Fri, 6 Nov 2009 11:51:28 +0000 (12:51 +0100)
3c4ac05cde5a97594d3b0fa7e3f5dbbaf45e4c64

lib/profilelist.php
theme/base/css/display.css

index 5f536e0f4d24cc94868fecabed3d4b289d2b65d4..697713f8fdb1fd9f5a78885edc8504d6ddda2873 100644 (file)
@@ -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,
index 878662c5620e330e3200564642cd0e14c4e27073..09d92be7b5f4fed17a45299a3868a40c27a0cefa 100644 (file)
@@ -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;