Created
May 6, 2014 05:33
-
-
Save danishsatkut/11553840 to your computer and use it in GitHub Desktop.
Movie Widget
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
| /** | |
| * Movie Widget | |
| */ | |
| * { | |
| box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| -ms-box-sizing: border-box; | |
| } | |
| html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, b, address, cite, code, em, img, strong, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, footer, header, nav, section, summary { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-size: 100%; | |
| font: inherit; | |
| vertical-align: baseline; | |
| } | |
| a { | |
| text-decoration: none; | |
| color: #079DDB; | |
| } | |
| .rinema-movie-widget { | |
| /* fancy */ | |
| background: #FFF!important; | |
| box-shadow: 0 0 3px #AAA!important; | |
| border-radius: 3px!important; | |
| font-size: 12px; | |
| font-family: Helvetica; | |
| /* structural */ | |
| cursor: pointer!important; | |
| display: inline-block!important; | |
| text-align: center!important; | |
| width: 237px!important; | |
| overflow: hidden!important; | |
| vertical-align: top!important; | |
| } | |
| .rinema-movie-widget .rinema-movie-link { | |
| display: block!important; | |
| margin: 0 auto!important; | |
| padding: 0!important; | |
| position: relative!important; | |
| line-height: 0; | |
| } | |
| .rinema-movie-name { | |
| font-size: 16px; | |
| color: #333!important; | |
| white-space: normal!important; | |
| font-family: "Helvetica Neue", arial, sans-serif!important; | |
| line-height: 17px!important; | |
| } | |
| .rinema-movie-separator { | |
| border-bottom: 1px solid #EEE!important; | |
| } | |
| .rinema-descp-box { | |
| padding: 10px!important; | |
| display: block!important; | |
| } | |
| .rinema-small-font { | |
| font-size: 12px; | |
| } | |
| .rinema-muted { | |
| color: #aaa; | |
| } |
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
| <div class="rinema-movie-widget"> | |
| <a href="#" class="rinema-movie-link rinema-movie-separator"> | |
| <img src="http://s3-ap-southeast-1.amazonaws.com/rinema-storage-prod/movies_posters/images/1402/medium.jpg" alt="The Pursuit of Happyness"> | |
| </a> | |
| <div class="rinema-movie-name rinema-descp-box rinema-movie-separator">The Pursuit of Happyness</div> | |
| <div class="rinema-movie-crew-info rinema-small-font rinema-descp-box"> | |
| <span class="rinema-muted">Director: </span> | |
| <a href="http://localhost:3000/celebrities/20646"> | |
| <span class="">Gabriele Muccino</span> | |
| </a> | |
| </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":"separate","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment