Sha256: df181500dd2fb4c4d4708a646bfc4983faf8c0f1366ebea3786a332565b01877

Contents?: true

Size: 853 Bytes

Versions: 7

Compression:

Stored size: 853 Bytes

Contents

// Text Align
.align-center
  text-align: center

.align-right
  text-align: right


// PC & SP
.sp
  display: none

// SmartPhone
+mediaquery-smartphone
  .pc
    display: none

  .sp
    display: block


// Margin, Padding (px)
@for $i from 0 through 20
  // margin-top
  .mt#{$i * 5}
    margin-top: $i * 5 + px

  // margin-bottom
  .mb#{$i * 5}
    margin-bottom: $i * 5 + px

  // padding-top
  .pt#{$i * 5}
    padding-top: $i * 5 + px

  // padding-bottom
  .pb#{$i * 5}
    padding-bottom: $i * 5 + px


// Margin, Padding (em)
@for $i from 0 through 20
  // margin-top
  .mt#{$i * 5}em
    margin-top: ($i * 5 / 10) + em

  // margin-bottom
  .mb#{$i * 5}em
    margin-bottom: ($i * 5 / 10) + em

  // padding-top
  .pt#{$i * 5}em
    padding-top: ($i * 5 / 10) + em

  // padding-bottom
  .pb#{$i * 5}em
    padding-bottom: ($i * 5 / 10) + em

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
middleman-ganbaruzoi-0.0.8 lib/middleman-ganbaruzoi/template/source/css/_module.sass
middleman-ganbaruzoi-0.0.7 lib/middleman-ganbaruzoi/template/source/css/_module.sass
middleman-ganbaruzoi-0.0.6 lib/middleman-ganbaruzoi/template/source/css/_module.sass
middleman-ganbaruzoi-0.0.5 lib/middleman-ganbaruzoi/template/source/css/_module.sass
middleman-ganbaruzoi-0.0.4 lib/middleman-ganbaruzoi/template/source/css/_module.sass
middleman-ganbaruzoi-0.0.3 lib/middleman-ganbaruzoi/template/source/css/_module.sass
middleman-ganbaruzoi-0.0.2 lib/middleman-ganbaruzoi/template/source/css/_module.sass