ソースを参照

Add profile picture

Adel Qalieh 13 年 前
コミット
535e253925
2 ファイル変更13 行追加1 行削除
  1. 2 1
      index.html
  2. 11 0
      style.css

+ 2 - 1
index.html

@@ -36,7 +36,8 @@
 			<div class="col-sm-4 col-lg-4 hidden-xs">
 				<div class="well">
 					<div class="profile">
-						<h3>Adel Qalieh</h3>
+						<img src="http://placekitten.com/100/100" alt="Placeholder" class="img-circle">
+						<h4>Adel Qalieh</h4>
 					</div>
 					<hr>
 					<div class="list-group">

+ 11 - 0
style.css

@@ -20,6 +20,17 @@ body {
 #signin {
 	width: 100%;
 }
+.profile img {
+	position: absolute;
+	height: 48px;
+	width: 48px;
+}
+.profile h4 {
+	padding: 13px 0 10px 60px;
+	white-space: nowrap;
+	overflow: hidden;
+	text-overflow: ellipsis;
+}
 #filters hr {
 	margin-top: 15px;
 	margin-bottom: 5px;