From 2a81ce2acb9548220d02d47394158712d395ad34 Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 25 Jan 2011 12:40:02 +0000 Subject: light clean-up of the css git-svn-id: http://code.elgg.org/elgg/trunk@7929 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/elements/icons.php | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'views/default/css/elements/icons.php') diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index b847bfadc..b8e6b20f0 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -77,3 +77,45 @@ background-position: left center; } +/* *************************************** + AVATAR ICONS +*************************************** */ +.elgg-user-icon { + position:relative; +} +.elgg-user-icon.tiny, +img.tiny { + width:25px; + height:25px; + /* remove the border-radius if you don't want rounded avatars in supported browsers */ + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -moz-background-clip: border; + + -o-background-size: 25px; + -webkit-background-size: 25px; + -khtml-background-size: 25px; + -moz-background-size: 25px; +} +.elgg-user-icon.small, +img.small { + width:40px; + height:40px; + /* remove the border-radius if you don't want rounded avatars in supported browsers */ + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -moz-background-clip: border; + + -o-background-size: 40px; + -webkit-background-size: 40px; + -khtml-background-size: 40px; + -moz-background-size: 40px; +} +img.large { + width:200px; + height:200px; +} +img.medium { + width:100px; + height:100px; +} \ No newline at end of file -- cgit v1.2.3