app/assets/stylesheets/woo/partials/_block.scss in woo-0.1.12 vs app/assets/stylesheets/woo/partials/_block.scss in woo-0.2.0

- old
+ new

@@ -1,30 +1,31 @@ // // BLOCK // ****************************************************************** -$styleguide-padding: 20px 0; - #woo-styleguide { dl.styleguide { + box-shadow: inset 0 0 0 2px $black; margin: 0; - padding: $styleguide-padding; + margin-bottom: 1em; + padding: 2px; position: relative; a[name] { height: 0; padding: 0; margin: 0; } + dt.page-title { - background-color: rgba($white, .95); - color: $black; + background-color: $black; + color: $white; display: block; font-size: 2em; font-weight: 100; - margin: 2em 0 0; + margin: 0; padding: 10px 0; text-align: center; } dd { @@ -34,16 +35,18 @@ position: relative; overflow: hidden; &.notes { background: $notes-section-background-color; - padding-top: 2em; - padding-bottom: 2em; + padding-top: 0; + padding-bottom: 0; + .wrapper { background: $notes-background-color; padding: 4em; } + .notes-title { box-shadow: 0 1px 0 0 rgba($black, .08); color: rgba($black, .35); font-size: rem-calc(14); font-weight: 100; @@ -54,17 +57,17 @@ h1, h2, h3, h4, h5, h6, p { color: lighten($black, 15%); font-weight: 200; } - } + &.preview { background: $body-background-color; } + &.location-title { padding: 0; } } } - }