Skip to content

Instantly share code, notes, and snippets.

@icodeforlove
Created February 19, 2014 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icodeforlove/9100278 to your computer and use it in GitHub Desktop.
Save icodeforlove/9100278 to your computer and use it in GitHub Desktop.
Untitled
body {
background: #222;
font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
}
.comment-box {
border: transparent 1px solid;
height: 90px;
position: relative;
}
.comment-body {
font-size: 12px;
color: #000;
padding:5px;
position: absolute;
left: 0;
top: 0;
bottom: 25px;
right: 0;
background: #f1f1f1;
}
.comment-footer {
position: absolute;
left: 0;
height: 25px;
bottom: 0;
right: 0;
background: #dfdfdf;
}
.comment-post {
font-weight: normal;
color: #fff;
position: absolute;
right: 0;
top: 0;
bottom: 0;
line-height: 25px;
padding: 0 10px;
background: #2b9fe8;
}
.comments {
}
.comment {
font-size: 12px;
background: #141414;
margin: 1px;
padding: 5px;
}
.nested-1 {
margin-left: 5%;
}
.nested-2 {
margin-left: 10%;
}
.nested-3 {
margin-left: 15%;
}
.body {
font-size: 11px;
color: #6a6a6a;
overflow: hidden;
}
.userthumb {
width: 50px;
height: 50px;
float: right;
margin-left: 5px;
margin-bottom: 5px;
}
.username {
color: #2b9fe8;
text-decoration: none;
}
.username:hover {
color: #2cbbff;
}
.footer {
margin-top: 4px;
font-size: 10px;
color: #5a5a5a;
}
.photocomment .footer {
}
.time {
color: #888888;
}
.like, .reply {
color: #888888;
text-decoration: none;
}
.like:hover, .reply:hover {
color: #bdbdbd;
}
<div class="comment-box">
<div class="comment-body">Have something to say about the photo?</div>
<div class="comment-footer"><div class="comment-post">POST</div></div>
</div>
<div class="comments">
<div class="comment">
<div class="body"><a class="username" href="#">Chad Scira</a> wow that was crazy!</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment photocomment">
<div class="body"><img class="userthumb" src="https://0.gravatar.com/avatar/71a3e2556ab7c41a1331422282efddf4?d=https%3A%2F%2Fidenticons.github.com%2F8595f8fbaec37630b42b22ee2c38ed69.png&r=x&s=440" /><a class="username" href="#">Chad Scira</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.wow that was crazy!</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment nested-1">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment nested-2">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment nested-3">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment">
<div class="body"><a class="username" href="#">Chad Scira</a> wow that was crazy!</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment photocomment">
<div class="body"><img class="userthumb" src="https://0.gravatar.com/avatar/71a3e2556ab7c41a1331422282efddf4?d=https%3A%2F%2Fidenticons.github.com%2F8595f8fbaec37630b42b22ee2c38ed69.png&r=x&s=440" /><a class="username" href="#">Chad Scira</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.wow that was crazy!</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment nested-1">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment nested-2">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment nested-3">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
<div class="comment">
<div class="body"><a class="username" href="#">fdgds</a> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</div>
<div class="footer"><span class="time">10 minutes ago</span> · <a href="#" class="like">Like</a> · <a href="#" class="reply">Reply</a></div>
</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment