Skip to content

Commit

Permalink
Merge pull request #36 from nypublicradio/alt-channel
Browse files Browse the repository at this point in the history
Add stylistic tweaks to the alt show page template
  • Loading branch information
marineb authored Jan 19, 2017
2 parents f06a6ca + af8ebdb commit 94ecb45
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/alt-channel-layout/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

{{#if channel.linkroll}}
{{nav-links
classNames="aligncenter tabs-header--padded alt-channel-links"
classNames="aligncenter alt-channel-links"
defaultSlug=defaultSlug
navRoot=navRoot
links=channel.linkroll
Expand Down
13 changes: 13 additions & 0 deletions app/styles/_alt-channel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@
letter-spacing: 2px;
text-transform: uppercase;
}

.list {
padding: 30px 0;

&:after {
content: " ";
width: 25px;
height: 100%;
background: linear-gradient(90deg, rgba(255, 255, 255, 0),rgba(255, 255, 255,1));
position: absolute;
right: 0;
}
}
}

.alt-channel-footer {
Expand Down
2 changes: 1 addition & 1 deletion app/styles/_box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

&--fullscreen {
&:before {
@include background(linear-gradient(20deg, black, rgba(0, 0, 0, 0.3)));
@include background(linear-gradient(20deg,rgba(0,0,0,.8),rgba(0,0,0,.1)));

@include mq($medium-only) {
@include background(linear-gradient(20deg, black, rgba(0, 0, 0, 0.5)));
Expand Down
14 changes: 13 additions & 1 deletion app/styles/_story-tease.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.story-tease.full-screen {
position: relative;
text-align: center;
padding: 150px 0 50px;
padding: 150px 0 90px;
height: 490px;

@include flexbox((
Expand Down Expand Up @@ -30,6 +30,18 @@
@include mq($small-only) {
width: 90%;

.flag {
@include flexbox((
display: flex,
align-items: center,
justify-content: center
));

&-body {
width: auto;
}
}

.squarebadge {
width: 50px;
height: 50px;
Expand Down

0 comments on commit 94ecb45

Please sign in to comment.