Created
September 11, 2014 23:19
-
-
Save DrummerHead/a3ce6f62b3332d52ff7e to your computer and use it in GitHub Desktop.
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
/* Moviessss yey! */ | |
/* vars | |
* ========================== */ | |
/* end vars */ | |
/* Mixins | |
* ========================== */ | |
.clearfix:before, dl:before, #movies:before, .rect s:before, .clearfix:after, dl:after, #movies:after, .rect s:after { | |
content: ''; | |
display: table; | |
} | |
.clearfix:after, dl:after, #movies:after, .rect s:after { | |
clear: both; | |
} | |
.unlistify, #movies { | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
.transition-all, .poster img, .rect, .rect s { | |
transition: all 250ms ease-in-out; | |
} | |
/* end Mixins */ | |
/* Baseline | |
* ========================== */ | |
html { | |
font-size: 1.2em; | |
line-height: 1.4; | |
font-family: sans-serif; | |
color: #222222; | |
overflow-y: scroll; | |
} | |
body { | |
margin: 0; | |
background-color: #d7d7d7; | |
} | |
* { | |
box-sizing: border-box; | |
} | |
dl { | |
line-height: 1.2; | |
} | |
dt { | |
float: left; | |
width: 4.75em; | |
clear: left; | |
font-weight: 100; | |
} | |
dd { | |
float: left; | |
width: calc(100% - 4.75em); | |
margin: 0 0 .5em 0; | |
} | |
dd:last-child { | |
margin: 0; | |
} | |
/* end Basline */ | |
/* Persistent | |
* ========================== */ | |
.vessel { | |
padding: 1.4em; | |
} | |
header .vessel { | |
padding-bottom: 0; | |
} | |
#movies { | |
margin: 0 -.75em; | |
} | |
#movies > li { | |
float: left; | |
width: 33.3333333333333333%; | |
padding: .75em; | |
} | |
#movies > li:nth-child(3n+1) { | |
clear: left; | |
} | |
/* end Persistent */ | |
/* Modular | |
* ========================== */ | |
.movie { | |
width: 100%; | |
float: left; | |
position: relative; | |
padding: .75em; | |
background-color: #fff; | |
} | |
.poster, | |
.data { | |
float: left; | |
} | |
.poster { | |
width: 42%; | |
} | |
.poster a { | |
display: block; | |
min-height: 28.7em; | |
} | |
.poster img { | |
position: absolute; | |
width: 40%; | |
z-index: 7; | |
} | |
.poster img:hover { | |
z-index: 77; | |
width: 96.6%; | |
box-shadow: 0 0 1em rgba(0, 0, 0, 0.5); | |
} | |
.data { | |
width: 57%; | |
padding: 0 0 0 .75em; | |
} | |
.data header { | |
margin: .4em 0 .75em 0; | |
} | |
.data header h2 { | |
font-size: 1.4em; | |
line-height: 1.2; | |
margin: 0; | |
} | |
.data header h2 span { | |
font-weight: normal; | |
color: #767676; | |
} | |
.rect { | |
font-size: .2em; | |
background-color: #eee; | |
line-height: 1.6em; | |
} | |
.rect s { | |
display: block; | |
padding: .1em .5em 0; | |
background-color: #00399b; | |
color: rgba(255, 255, 255, 0); | |
text-decoration: none; | |
} | |
.rect u { | |
text-decoration: none; | |
} | |
.rect b { | |
float: right; | |
} | |
.scores:hover .rect, | |
.big-bar { | |
font-size: 1em; | |
text-shadow: 0 0 0.2em rgba(77, 77, 77, 0.37); | |
} | |
.scores:hover .rect s, | |
.big-bar s { | |
color: white; | |
} | |
.text-block { | |
border-bottom: 1px solid #ccc; | |
padding: 0; | |
} | |
.text-block:last-child { | |
border: none; | |
} | |
.text-block p { | |
margin: 1em 0; | |
} | |
.smaller { | |
font-size: .87em; | |
} | |
.details { | |
border-bottom: 1px solid #ccc; | |
padding: 1em 0; | |
} | |
/* end Modular */ | |
/* Responsive | |
* ========================== */ | |
/* end Responsive */ | |
/* x | |
* ========================== */ | |
/* end x */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment