From 6bb76f18940c8bbbb0b27cee180ae6bb56527fb8 Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Wed, 15 Oct 2014 17:38:19 -0700 Subject: [PATCH] News feed suggestions now using the same site gallery style as the browse page --- sass/_project-sass/_project-Main.scss | 5 ++- .../_project-Website-Gallery.scss | 14 ++++++ views/home.erb | 44 ++++++++++++++----- 3 files changed, 50 insertions(+), 13 deletions(-) diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index ca85cfba..8e323777 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -1080,7 +1080,10 @@ a.tag:hover { .pagination .arrow { vertical-align: 1px; } - +.view-all-sites { + font-size: 1.2em; + margin-top: 1em; +} .interior .header-Outro.with-columns .col.filter { padding-top: 0px; padding-bottom: 4px; diff --git a/sass/_project-sass/_project-Website-Gallery.scss b/sass/_project-sass/_project-Website-Gallery.scss index a4216577..17eb828f 100644 --- a/sass/_project-sass/_project-Website-Gallery.scss +++ b/sass/_project-sass/_project-Website-Gallery.scss @@ -54,6 +54,7 @@ .title { margin-top: 8px; margin-bottom: 2px; + white-space: nowrap; } &.int-Gall{ @@ -73,6 +74,19 @@ width:49% } } + &.suggestions { + padding: .25em 0 0 0; + + li { + margin: 0 1.33% 12px 0; + width: 32%; + @include box-shadow(1px 1px 2px 1px rgba(0, 0, 0, 0.1)); + + @media (max-width:1000px){ + width:48% + } + } + } } } diff --git a/views/home.erb b/views/home.erb index 9e2aa9ae..ce44c116 100644 --- a/views/home.erb +++ b/views/home.erb @@ -29,27 +29,47 @@

Welcome to your Neocities news feed!

- You aren't following any websites yet! Once you do, updates will show up here and you can like and comment on them. + You aren’t following any websites yet! Once you do, updates will show up here and you can like and comment on them. Here are some website suggestions for you. Want to find some sites to follow? Check out all the sites on Neocities!

+ +

View all sites

<% end %>