RailsStudyGroup/redditgraphed

View on GitHub
app/assets/stylesheets/home.css.scss

Summary

Maintainability
Test Coverage
// Place all the styles related to the home controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.details-links a {
  padding: 20px;
}

#home {
  background: url('mountains.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.sliding {
    display: none;
    opacity: 0.0;
    position: relative;
    margin-left: -120px;
    width: 100%;
}

.nobgcolor {
  background-color: transparent !important;
  margin-top: 30px;
}

.homepanel {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow:
        0 2px 2px rgba(0,0,0,0.1),        
        0 1px 5px rgba(0,0,0,0.1),        
        0 0 0 12px rgba(255,255,255,0.2); 
}