Created
October 12, 2015 16:47
-
-
Save arlipman/429ce905f4be72cf5562 to your computer and use it in GitHub Desktop.
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
| body {margin:0px;} | |
| div#container {width:100%; margin: 0 auto;box-sizing:border-box;} | |
| a.link-item {position: relative; display:block; text-decoration:none; overflow: hidden;box-sizing:border-box;padding:30px 0px;border-bottom: 1px solid #EAEAEA;} | |
| a.link-item div {overflow:hidden;box-sizing:border-box;} | |
| a.link-item span { display:block;text-align: left;box-sizing:border-box;} | |
| a.link-item div:first-child { | |
| position: relative; | |
| } | |
| span.link-image { | |
| float: left; | |
| width:40%; | |
| max-width:280px; | |
| padding-right: 12px; | |
| min-width: 252px; | |
| position:relative; | |
| } | |
| span.link-image img { | |
| display: block; | |
| width: 100%; | |
| height: auto; | |
| position:relative; | |
| max-width:260px; | |
| } | |
| span.link-image:after { | |
| display:block; | |
| content:"Sponsored"; | |
| text-transform: uppercase; | |
| background: #FFF; | |
| color: #898989; | |
| height: 26px; | |
| line-height: 26px; | |
| padding: 0px 10px; | |
| font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | |
| letter-spacing: 2px; | |
| font-size: 10px; | |
| position: absolute; | |
| left: 10px; | |
| bottom:10px; | |
| z-index: 10; | |
| } | |
| span.link-image:before { | |
| display:block; | |
| height: 26px; | |
| width:26px; | |
| z-index: 11; | |
| position: absolute; | |
| left: 80%; | |
| bottom:10px; | |
| content: ''; | |
| background-image: url('http://i.imgur.com/A9lLO3w.png'); | |
| } | |
| span.link-image:hover { | |
| opacity: 0.75 !important; | |
| } | |
| span.link-text { | |
| color: #333; | |
| text-decoration: none; | |
| cursor: pointer; | |
| font-family: "Economica", sans-serif; | |
| font-size: 30px; | |
| line-height:32px; | |
| font-weight:normal; | |
| letter-spacing: -0.8px; | |
| padding-left:8px; | |
| } | |
| span.link-text:hover { | |
| color: #000000 !important; | |
| } | |
| span.link-sponsor { | |
| position: absolute !important; | |
| left: 260px !important; | |
| bottom: 10px !important; | |
| } | |
| span.link-sponsor:before { | |
| display: block; | |
| content: "Brought To You By"; | |
| float: left; | |
| padding: 10px position: absolute; | |
| color: #999; | |
| font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; | |
| font-size: 16px; | |
| margin-right: 5px; | |
| } | |
| @media only screen and (max-width:520px) { | |
| span.link-image { | |
| width: 100%; | |
| max-width:100%; | |
| position:relative; | |
| } | |
| span.link-image img { | |
| width: 100%; | |
| max-width:100%; | |
| height: 100%; | |
| } | |
| span.link-image:after, span.link-image:after { | |
| top: 90%; | |
| } | |
| span.link-text { | |
| padding-top:10px; | |
| padding-left: 0px; | |
| } | |
| span.link-sponsor { | |
| position:static; | |
| padding-top:10px; | |
| padding-left: 0px; | |
| } | |
| } | |
| @media only screen and (min-width:655px) { | |
| span.link-sponsor { | |
| padding-left:20px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment