summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-06 12:51:28 +0100
committerSarven Capadisli <csarven@status.net>2009-11-06 12:51:28 +0100
commit85647719a3ed78a9b2c88e1c33f2f3bd995df03e (patch)
treee8f9e57ae0f14b0a2b4eafa924e850caca88e3a5
parent7ce49e4bcfd76ce7620d376b6e2f93ef2c122ee1 (diff)
Updated styles for profile list re: commit
3c4ac05cde5a97594d3b0fa7e3f5dbbaf45e4c64
-rw-r--r--lib/profilelist.php3
-rw-r--r--theme/base/css/display.css25
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;