Last active
August 29, 2015 14:19
-
-
Save clanceyp/c700933ed0a144f5d7e4 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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
| @import url(http://fonts.googleapis.com/css?family=Lato:100); | |
| .hero-panel { background-color: #171717;padding: 0 40px;font-family: "Lato", "Gill Sans", Georgia, Times, serif; } | |
| .hero-panel .component-header { border-top: 0 none; font-size: 8.5rem;font-weight:100; line-height: 50px; line-height: 8rem; margin: 0; padding: 5px 20px; padding: 0.5rem 2rem;} | |
| .hero-panel .component-heading { color: #00717b; text-align:center; margin:20px 0; letter-spacing:14px} | |
| .hero-panel .list-of-entities__item-image-container { position: relative;} | |
| .hero-panel .list-of-entities__item-image-container img { max-width: 300px;} | |
| .hero-panel .list-of-entities > .component-content { display: table; width: 100%;} | |
| .hero-panel .list-of-entities__container { display: table-row;} | |
| .hero-panel .list-of-entities__item { display: table-cell; text-align: center; vertical-align: middle; width: 33%;} | |
| .hero-panel .list-of-entities__item-link { min-height: 500px; position: relative;} | |
| .hero-panel .list-of-entities__item-body { | |
| bottom: 50px; | |
| overflow: hidden; | |
| position: absolute; | |
| border: 1px solid black; | |
| background-color: #cecece; | |
| padding: 4px 10px; | |
| text-align: left; | |
| min-height: 10rem; | |
| } | |
| .hero-panel .list-of-entities__item:nth-child(1) .list-of-entities__item-body { | |
| left: 0; | |
| } | |
| .hero-panel .list-of-entities__item:nth-child(2) .list-of-entities__item-body { | |
| right: 0; | |
| } | |
| .hero-panel .list-of-entities__item:nth-child(2) .list-of-entities__item-link { | |
| margin-top: -60px; | |
| } | |
| .hero-panel .list-of-entities__item:nth-child(2) .list-of-entities__item-image-container { | |
| display: block; | |
| position: absolute; | |
| left: 50%; | |
| } | |
| .hero-panel .list-of-entities__item:nth-child(2) .list-of-entities__item-image { | |
| display: block; | |
| position: relative; | |
| left: -50%; | |
| border: 1px solid green; | |
| } | |
| .hero-panel .list-of-entities__item:nth-child(3) .list-of-entities__item-body { | |
| right: 0; | |
| } | |
| .hero-panel.hero-panel-ver_1 .component-header { text-align: right;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__item-image-container { position: relative;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__item-image-container img { max-width: 300px;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities > .component-content { display: table; width: 100%;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__container { display: table-row;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__item { display: table-cell; text-align: center; vertical-align: middle; width: 33%;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__item-link { min-height: 300px; position: relative;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__item-body { overflow: hidden; position: absolute; border: 1px solid black; background-color: #cecece; padding: 4px 10px; text-align: left;} | |
| .hero-panel.hero-panel-ver_1 .list-of-entities__item::first-of-type .list-of-entities__item-body { bottom: 0; right: 0;} |
This file contains hidden or 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
| <!-- content to be placed inside <body>…</body> --><div class="hero-panel component "> | |
| <div class="component-content"> <div class="curatedList section"> | |
| <div class="list-of-entities component " data-total-items-visible="3"> | |
| <div class="component-header"> | |
| <h2 class="component-heading"> Theatre </h2> | |
| </div> | |
| <div class="js-list-of-entities component-content" data-options="{ '': '' }" data-tmg-dtm-nav-area="list"> | |
| <ol class="js-list-of-entities__container list-of-entities__container"> | |
| <li class="list-of-entities__item" data-option-has-image="1"> | |
| <div class="list-of-entities__item-link"> | |
| <a href="http://google.com" class="list-of-entities__item-image-container" data-tmg-dtm-nav="image"> </a> | |
| <a href="http://google.com" class="list-of-entities__item-image-container" data-tmg-dtm-nav="image" data-frz-parent="" style="background-image: url(http://dummyimage.com/300x300/a1a1a1/fff.png&text=square), url(data:image/gif;base64,R0lGODlhAQABAAAAACw=);"> <img data-frz-persist="true" data-mfp-src=".royalSlider" src="http://dummyimage.com/300x300/a1a1a1/fff.png&text=square" data-rstmb="http://dummyimage.com/300x300/a1a1a1/fff.png&text=square" data-frz-src-array="" class="list-of-entities__item-image" data-lazy-loaded="true"> </a> <div class="list-of-entities__item-body"> <span class="m_meta-property"> <span class="m_meta-property__date">17 Apr 2015</span> <q class="m_meta-property__quote">quote</q> </span> <h3 class="list-of-entities__item-body-headline"> <a href="http://google.com" data-tmg-dtm-nav="body-headline">Its the title 1</a> </h3> </div> </div> </li><li class="list-of-entities__item" data-option-has-image="1"> <div class="list-of-entities__item-link"> <a href="http://google.com" class="list-of-entities__item-image-container" data-tmg-dtm-nav="image"> </a> | |
| <a href="http://google.com" class="list-of-entities__item-image-container" data-tmg-dtm-nav="image" data-frz-parent="" > <img data-frz-persist="true" data-mfp-src=".royalSlider" src="http://dummyimage.com/300x480/123456/fff.png&text=portrate" data-rstmb="http://dummyimage.com/300x300/a1a1a1/fff.png&text=square" data-frz-src-array="" class="list-of-entities__item-image" data-lazy-loaded="true"> </a> <div class="list-of-entities__item-body"> <span class="m_meta-property"> <span class="m_meta-property__date">17 Apr 2015</span> <q class="m_meta-property__quote">quote</q> </span> <h3 class="list-of-entities__item-body-headline"> <a href="http://google.com" data-tmg-dtm-nav="body-headline">Its the title 1</a> </h3> </div> </div> </li><li class="list-of-entities__item" data-option-has-image="1"> <div class="list-of-entities__item-link"> <a href="http://google.com" class="list-of-entities__item-image-container" data-tmg-dtm-nav="image"> </a> | |
| <a href="http://google.com" class="list-of-entities__item-image-container" data-tmg-dtm-nav="image" data-frz-parent="" style="background-image: url(http://dummyimage.com/300x300/a1a1a1/fff.png&text=square), url(data:image/gif;base64,R0lGODlhAQABAAAAACw=);"> <img data-frz-persist="true" data-mfp-src=".royalSlider" src="http://dummyimage.com/300x300/a1a1a1/fff.png&text=square" data-rstmb="http://dummyimage.com/300x300/a1a1a1/fff.png&text=square" data-frz-src-array="" class="list-of-entities__item-image" data-lazy-loaded="true"> </a> <div class="list-of-entities__item-body"> <span class="m_meta-property"> <span class="m_meta-property__date">17 Apr 2015</span> <q class="m_meta-property__quote">quote</q> </span> <h3 class="list-of-entities__item-body-headline"> <a href="http://google.com" data-tmg-dtm-nav="body-headline">Its the title 1</a> </h3> </div> </div> </li></ol></div></div></div> </div></div> |
This file contains hidden or 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 hidden or 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":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment