Created
November 13, 2012 21:55
-
-
Save tedw/4068668 to your computer and use it in GitHub Desktop.
Media Object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Media List Styles (image next to text) */ | |
/* Based on article by Nicole Sullivan http://goo.gl/5GrKJ */ | |
.media-list { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
.media-list li { | |
background-image: none; | |
padding-left: 0; | |
padding-right: 0; | |
} | |
.media-list > li:last-child {margin-bottom: 0} | |
.media-list li.last-child {margin-bottom: 0} | |
.media-list .content {overflow: hidden} | |
.no-js .media-list .content {overflow: visible} | |
.media-list .img { | |
float: left; | |
margin-right: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment