Skip to content

Commit

Permalink
#28 enhance media-container and media-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Yago committed Mar 23, 2016
1 parent ebdacd2 commit 05111d3
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions assets/sass/organisms/_media-details.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
@charset "UTF-8";

.article-container {
padding: 4em 1em;
font-size: $font-size-large;
padding: 4em 1em;
}

.media-container{
.media-container {
position: relative;
.media-action{

&:not(.article-container) {background: $tundora;}

img {
margin: 0 auto;
max-height: 60vh;
}

.media-action {
position: absolute;
top: -1.5rem;
right: 1em;
right: 0;
bottom: 100%;

a {
margin-bottom: 0;
border-radius: $btn-border-radius-small $btn-border-radius-small 0 0;
box-shadow: inset 0 -1px 3px 0 rgba(0, 0, 0, 0.5);
}
}
}

0 comments on commit 05111d3

Please sign in to comment.