Sha256: 77399fbbee1b57e9257470358ff1d8cf82619fc0410a2add5f05912bb6e5e794

Contents?: true

Size: 940 Bytes

Versions: 2

Compression:

Stored size: 940 Bytes

Contents

// Place all the styles for posts and lists of posts here.  We assume a
// light background color.

.rails_blog_engine_posts {
  .new_post.btn, nav {
    margin-bottom: 20px;
  }
}

.rails_blog_engine_post {
  color: black;
  margin-bottom: 20px;

  // Clear top margins. We'll use the bottom margin for spacing.
  >h1, >p.byline, >.body {
    margin-top: 0;
  }

  >h1 {
    margin-bottom: 0px;
    .btn {
      vertical-align: text-bottom;
    }
  }

  >p.byline {
    margin-bottom: 10px;
    color: grey;
  }

  // This works at both the top level and in nested comments.
  .body {
    >blockquote, >dl, >embed, >h1, >h2, >h3, >h4, >h5, >h6, >hr, >object, >ol,
    >p, >pre, >table, >ul, >aside, >figure, >header, >hgroup, >section {
      margin-bottom: 10px;
    }
  }

  // We use this for moderation warnings.
  >.flash.notice {
    border: 1px solid #049cdb;
    background: #c7eefe;
    padding: 10px;
    max-width: 600px;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_blog_engine-0.0.2 app/assets/stylesheets/rails_blog_engine/posts.css.scss
rails_blog_engine-0.0.1 app/assets/stylesheets/rails_blog_engine/posts.css.scss