summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/profile/profile.css17
-rw-r--r--modules/profile/profile.module3
-rw-r--r--modules/user/user.css16
3 files changed, 16 insertions, 20 deletions
diff --git a/modules/profile/profile.css b/modules/profile/profile.css
deleted file mode 100644
index fee1f370f..000000000
--- a/modules/profile/profile.css
+++ /dev/null
@@ -1,17 +0,0 @@
-/* $Id$ */
-
-.profile {
- clear: both;
- margin: 1em 0;
-}
-.profile .picture {
- float: right;
- margin: 0 1em 1em 0;
-}
-.profile dt {
- margin: 1em 0 0.2em 0;
- font-weight: bold;
-}
-.profile dd {
- margin:0;
-}
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 39a7060de..2994838d7 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -421,9 +421,6 @@ function profile_admin_overview() {
* Menu callback; display a list of user information.
*/
function profile_browse() {
- // Add CSS
- drupal_add_css(drupal_get_path('module', 'profile') .'/profile.css', 'module', 'all', FALSE);
-
$name = arg(1);
list(,,$value) = explode('/', $_GET['q'], 3);
diff --git a/modules/user/user.css b/modules/user/user.css
index 20721e6f3..068893e19 100644
--- a/modules/user/user.css
+++ b/modules/user/user.css
@@ -31,3 +31,19 @@
clear: right;
}
+// Generated by user.module but used by profile.module:
+.profile {
+ clear: both;
+ margin: 1em 0;
+}
+.profile .picture {
+ float: right;
+ margin: 0 1em 1em 0;
+}
+.profile dt {
+ margin: 1em 0 0.2em 0;
+ font-weight: bold;
+}
+.profile dd {
+ margin:0;
+}