From 3cc2b1e3d78d7e82572d59939507bb3eddce53b4 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Mon, 14 Aug 2006 07:14:50 +0000 Subject: #77183 by m3avrck and timcn, split up drupal.css by module. --- modules/profile/profile.css | 17 +++++++++++++++++ modules/profile/profile.module | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 modules/profile/profile.css (limited to 'modules/profile') diff --git a/modules/profile/profile.css b/modules/profile/profile.css new file mode 100644 index 000000000..fee1f370f --- /dev/null +++ b/modules/profile/profile.css @@ -0,0 +1,17 @@ +/* $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 a10f2cf69..0f3044072 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -85,6 +85,11 @@ function profile_menu($may_cache) { 'access' => 1, 'type' => MENU_CALLBACK); } + else { + // Add the CSS for this module + // We put this in !$may_cache so it's only added once per request + drupal_add_css(drupal_get_path('module', 'profile') .'/profile.css'); + } return $items; } -- cgit v1.2.3