Sha256: f2d2d8ed04022745bcc9fc331de40b4db24476725ecc0cc157673c745205b4af
Contents?: true
Size: 1.86 KB
Versions: 17
Compression:
Stored size: 1.86 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: ()) { 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(); } // IME @if(not index($exclude, reset-ime)) { @include base-normalize-ime(); } }
Version data entries
17 entries across 17 versions & 1 rubygems