Sha256: 2f40400df00c04ce3af7484881cf4fbb44588cbd1599816716798848a5186ba6
Contents?: true
Size: 1.79 KB
Versions: 2
Compression:
Stored size: 1.79 KB
Contents
// @category base // leverage the Compass reset functions // this is an adaptation of global-reset() // @mixin base-reset // @param $exclude {List} the list of features to exclude from the reset [html5|page|lists|typography|quotes|embeds|quotes|ime] // @link http://compass-style.org/reference/compass/reset/utilities/#mixin-global-reset @mixin base-reset($exclude: ()) { $exclude: -archetype-list($exclude); html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { // PAGE @if(not index($exclude, reset-page)) { @include reset-box-model; } // TYPOGRAPHY @if(not index($exclude, reset-typography)) { @include reset-font; } } // PAGE @if(not index($exclude, reset-page)) { body { @include reset-body; } } // LISTS @if(not index($exclude, reset-lists)) { ol, ul { @include reset-list-style; } } // TABLES @if(not index($exclude, reset-tables)) { table { @include reset-table; } caption, th, td { @include reset-table-cell; } } // QUOTES @if(not index($exclude, reset-quotes)) { q, blockquote { @include reset-quotation; } } // EMBEDS @if(not index($exclude, reset-embeds)) { a img { @include reset-image-anchor-border; } } // HTML5 @if(not index($exclude, reset-html5)) { @include reset-html5; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
archetype-base-reset-1.0.0.alpha.5 | stylesheets/archetype/base/_reset.scss |
archetype-base-reset-1.0.0.alpha.4 | stylesheets/archetype/base/_reset.scss |