Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add first styles to stylesheet for embedded content
- Loading branch information
Showing
4 changed files
with
119 additions
and
51 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** Embedded content | ||
=========================================================================== | ||
Images, videos, iframes.*/ | ||
|
||
._embed { | ||
height: auto; | ||
max-width: 100%; | ||
} | ||
._embed img { | ||
border: 0; | ||
max-width: 100%; | ||
/* Fix for [disappearing images in IE 8](http://www.456bereastreet.com/archive/201202/using_max-width_on_images_can_make_them_disappear_in_ie8/). */ | ||
width: auto\9; | ||
/* Remove the gap between image and container. */ | ||
vertical-align: middle; | ||
} | ||
._embed-circle { | ||
overflow: hidden; | ||
border-radius: 999px; | ||
} |
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
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