Created
February 26, 2014 09:27
-
-
Save depoulo/9226443 to your computer and use it in GitHub Desktop.
Attempt for Essen & Trinken small stage teasers
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
/** | |
* Attempt for Essen & Trinken small stage teasers | |
*/ | |
* { padding: 0; margin: 0; } | |
body { padding: 2%; max-width: 25em; font-family: Verdana; } a { color: black; text-decoration: none; } | |
.left { float: left; } | |
.right { float: right; } | |
.left, .right { | |
width: 48%; | |
} | |
a.left, a.right { | |
display: block; | |
} | |
.kicker, .headline { | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
.kicker { | |
font-size: 85%; | |
text-transform: uppercase; | |
min-height: 1rem; | |
max-height: 1rem; | |
} | |
.imgs { | |
clear: both; | |
overflow: hidden; /* clearfix */ | |
padding-top: 1em; | |
} | |
.imgs img { | |
width: 100%; | |
height: auto; | |
} |
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
<div class="mod-teaser teaser-stage-small-both article-type-video"> | |
<a class="left" href="http://dev.m.essen.und-trinken.de/article_standard"> | |
<h2 class="kicker">Lorem & ipsum & dolor sit amet</h2> | |
<h3 class="headline">Investigationes demonstraverunt lecto</h3> | |
</a> | |
<a class="right" href="http://dev.m.essen.und-trinken.de/article_standard"> | |
<h2 class="kicker"></h2> | |
<h3 class="headline">A Typi non Habent</h3> | |
</a> | |
<div class="imgs"> | |
<figure class="left image-place-holder" style="/*padding-top: 63%*/"> | |
<img src="http://dev.m.essen-und-trinken.de/mocked-feed/images/238x150.jpg" width="238" height="150"> | |
</figure> | |
<figure class="right image-place-holder" style="/*padding-top: 63%*/"> | |
<img src="http://dev.m.essen-und-trinken.de/mocked-feed/images/238x150.jpg" width="238" height="150"> | |
</figure> | |
</div> | |
</div> |
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
// alert('Hello world!'); |
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
{"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