Sha256: 65f74fdc1cd248d428b78291b91371b77d7f9c9fb23109def3f8a98195724981
Contents?: true
Size: 1.81 KB
Versions: 3
Compression:
Stored size: 1.81 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
3 entries across 3 versions & 1 rubygems