Sha256: 066eebb67d12db0a7add2a0cc49b9c8112fe0ea8a4b8f6393a2a7c63c18e4fb9

Contents?: true

Size: 1.24 KB

Versions: 62

Compression:

Stored size: 1.24 KB

Contents

#headings.style-guide__subsection

  %h3= link_to_style_guide('typography', 'headings')

  %p Sets up the element to be styled the same as an <code>h1-6</code>, using the <code>heading</code> class in combination with a <code>heading--X</code> modifier, where <code>X</code> is the

  %p Can be used on any inline or block-level element to visually present the element as a heading. Frequently applied when, semantically speaking, using a given <code>h1-6</code> tag wouldn't be appropriate.

  %p In the following examples we have a variety of text-wrapping elements:

  %p should style a variety of elements properly.
  .style-guide__example-block
    %h1 Heading 1
    %span.heading.heading--1 Heading 1
    %h2 Heading 2
    %p.heading.heading--2 Heading 2
    %h3 Heading 3
    %strong.heading.heading--3 Heading 3
    %h4 Heading 4
    %h6.heading.heading--4 Heading 4
    %h5 Heading 5
    %h3.heading.heading--5 Heading 5
    %h6 Heading 6
    %h1.heading.heading--6 Heading 6

#heading--no-margin.style-guide__subsection

  %h3= link_to_style_guide('typography', 'heading__no_margin')

  %p Removes bottom margin from heading

  %p should remove bottom margin:
  .style-guide__example-block
    %span.heading.heading--1.heading--no-margin I should have no margin

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.45 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/style_guides/typography/_headings.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/style_guides/typography/_headings.html.haml