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

Version Path
archetype-0.0.1.pre.13 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.12 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.11 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.10 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.9 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.8 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.7 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.6 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.5 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.4 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.90263a7 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.6ed259b stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.f9dde24 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.00dfd9a stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.83f0d7a stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.55c4182 stylesheets/archetype/base/_reset.scss
archetype-0.0.1.pre.3.811928f stylesheets/archetype/base/_reset.scss