Created
February 8, 2014 01:30
-
-
Save benknight/8875270 to your computer and use it in GitHub Desktop.
"See all photos" tweaks
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
// ---- | |
// Sass (v3.3.0.rc.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@import "compass/css3/images"; | |
.showcase .show-all-overlay { | |
text-shadow: | |
1px 1px 0 black, | |
0 0 20px black, | |
0 0 20px black, | |
0 0 20px black; | |
&, &:hover { | |
@include background(linear-gradient(to bottom, transparent, rgba(0, 0, 0, .75) 58%, rgba(0,0,0,.1))); | |
} | |
} |
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
.showcase .show-all-overlay { | |
text-shadow: 1px 1px 0 black, 0 0 20px black, 0 0 20px black, 0 0 20px black; | |
} | |
.showcase .show-all-overlay, .showcase .show-all-overlay:hover { | |
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1)); | |
background: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1)); | |
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1)); | |
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75) 58%, rgba(0, 0, 0, 0.1)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment