/** * Sass for theme rules. * * Colors, fonts, borders. * * @package WordPress * @subpackage anchorage * @since anchorage 1.0 */ /* Color Pallette */ body, select, input, textarea, .sub-menu, .inverse-color .widget_search input[type="search"], .inverse-color .widget_search input[type="submit"] { background: $bg_color; color: $text_color; } a { color: $accent_text_color; } .inverse-color, .inverse-color a, .editable-content table, .editable-content table thead tr:nth-child(odd) > *, .hentry.format-chat .entry-content, .comments-loop blockquote, .entry-content blockquote, .bypostauthor, figure, .wp-caption, #respond, form, .comments-loop pre, .entry-content pre, #blog-footer { background: $accent_bg_color; color: $accent_text_color; } /* Button-ish links */ a.button, .button { border: 1px solid $transparent_text_color; } input[type='submit'] { box-shadow: none; background: $text_color; color: $accent_bg_color; } /* excepted from mild accent */ .editable-content tr:nth-child(odd) > *, .gallery figure { background: $bg_color; } /* Typograhpy */ body, tt, code, kbd, samp { font-family: 'courier new', 'courier-new', courier, monospace, georgia; } /* Text Shadowing */ .shadowed, .shadowed .search-field { text-shadow: 1px 1px 0 $bg_color, 2px 2px 0 $text_color; padding-left: 2px; letter-spacing: 1px; } /* Breaks */ .footer-widget:after, .editable-content br, .break { border-bottom: 2px dotted $transparent_text_color; } /* Tables */ .editable-content { table > tbody:first-child > tr:first-child, table > tr:first-child { border-top: 1px solid $accent_bg_color; } tr:nth-child(even) > * { border-right: 1px solid $accent_bg_color; } tr:nth-child(even) > :last-child { border-right: none; } tr:nth-child(odd) > * { border-right: 1px solid $accent_bg_color; } tr:nth-child(odd) > :last-child { border-right: none; } } /* Borders & Box Shadow */ fieldset { border: 1px solid $transparent_text_color; } select, input, textarea { border: 1px solid $transparent_text_color; box-shadow: inset -1px 1px 3px $transparent_text_color; } input[ type="submit" ] { border: none; }