Skip to content

Commit

Permalink
Added Juno filter
Browse files Browse the repository at this point in the history
  • Loading branch information
milacarrera committed Oct 6, 2016
1 parent fe0ee2b commit 3858178
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions site/css/juno.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions source/css/juno.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* Juno
*
*/

.juno:before,
.juno:after {
content: '';
display: block;
height: 100%;
width: 100%;
top: 0;
left: 0;
position: absolute;
pointer-events: none; }


.juno {
position: relative; }

.juno img {
width: 100%;
z-index: 1; }

.juno:before {
z-index: 2; }

.juno:after {
z-index: 3; }


.juno {
-webkit-filter: contrast(1.2) saturate(0.8);
filter: contrast(1.2) saturate(0.8); }

.juno:before {
background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.2), rgba(74, 195, 111, 0.2), transparent);
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(74, 195, 111, 0.2), transparent);
mix-blend-mode: overlay; }
1 change: 1 addition & 0 deletions source/css/juno.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3858178

Please sign in to comment.