summaryrefslogtreecommitdiff
path: root/assets/sass/_avatar.sass
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/_avatar.sass')
-rw-r--r--assets/sass/_avatar.sass30
1 files changed, 30 insertions, 0 deletions
diff --git a/assets/sass/_avatar.sass b/assets/sass/_avatar.sass
new file mode 100644
index 00000000..f18e5926
--- /dev/null
+++ b/assets/sass/_avatar.sass
@@ -0,0 +1,30 @@
+.avatar img
+ vertical-align: bottom
+
+.avatar-left
+ float: left
+ margin-right: 10px
+
+.avatar-inline
+ display: inline-block
+ margin-right: 3px
+
+.avatar-48
+ img, div
+ border-radius: 30px
+ .avatar-letter
+ line-height: 48px
+ width: 48px
+ font-size: 25px
+
+.avatar-20
+ img, div
+ border-radius: 10px
+ .avatar-letter
+ line-height: 20px
+ width: 20px
+ font-size: 11px
+
+.avatar-letter
+ color: #fff
+ text-align: center