Skip to content

Commit

Permalink
for home page
Browse files Browse the repository at this point in the history
  • Loading branch information
lschatzkin committed Sep 6, 2019
1 parent 4836059 commit e56580d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
17 changes: 9 additions & 8 deletions app/assets/stylesheets/welcome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,19 @@ section.more-actions {
@media screen and (min-width: $md) {
padding: 0 2rem 0 0;
}
a {
border: none;
&:hover {
color: $off-white;
}
}
&:hover {
opacity: 0.7;
}
}
h3 {
font-size: $base-font-size * 1.2;
padding: 0 0 0.3rem;
&:hover,
&:focus {
color: $gray-dark;
}
}
}

Expand All @@ -110,10 +115,6 @@ section.more-actions {
img {
max-width: 100%;
}
&:hover,
&:focus {
opacity: 0.7;
}
}

.see-all {
Expand Down
4 changes: 3 additions & 1 deletion app/views/welcome/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@
</h5>
<% end %>
<div class="more-actions-text">

<h3><%= actionPage.title -%>
<%= link_to action_page_path(actionPage) do%>
<h3><%= actionPage.title -%></h3>
</h3>
<p> <%= markdown actionPage.summary -%></p>
<% end %>
</div>
Expand Down

0 comments on commit e56580d

Please sign in to comment.