@@include('./parts/head.html', { "plugin_fa_icons": true, "plugin_mdi_icons": true, "plugin_ion_icons": true, "plugin_wi_icons": true, "plugin_rickshaw": false, "plugin_nvd3": false, "plugin_flot": false, "plugin_sparkline": false, "plugin_markitup": false, "plugin_ckeditor": false, "plugin_select2": false, "plugin_dropzone": false, "plugin_tagsinput": false, "plugin_clockpicker": false, "plugin_pikaday": false, "plugin_spectrum": false, "plugin_inputmask": false, "plugin_parsley": false, "plugin_gmaps": false, "plugin_jvectormap": false, "plugin_datatables": false, "plugin_fullcalendar": false, "plugin_simpleweather": false, "plugin_prettify": true }) @@include('./parts/top-navbar.html') @@include('./parts/sidebar.html', { "page": "css-typography", "classes": "yay-shrink yay-hide-to-small yay-gestures" })
@@include('./parts/title.html', { "title": "Typography", "crumbs": "
  • Dashboard
  • CSS
  • Typography
  • " })

    Headings

    All HTML headings, <h1> through <h6>, are available. .h1 through .h6 classes are also available, for when you want to match the font styling of a heading but still want your text to be displayed inline.

    Heading h1

    Heading h2

    Heading h3

    Heading h4

    Heading h5
    Heading h6
    <h1>Heading h1</h1>
    <h2>Heading h2</h2>
    <h3>Heading h3</h3>
    <h4>Heading h4</h4>
    <h5>Heading h5</h5>
    <h6>Heading h6</h6>

    Light

    Use .light classname to set font-weight: 300 on element.

    Heading h1

    Heading h2

    Heading h3

    Heading h4

    Heading h5
    Heading h6
    <h1 class="light">Heading h1</h1>
    <h2 class="light">Heading h2</h2>
    <h3 class="light">Heading h3</h3>
    <h4 class="light">Heading h4</h4>
    <h5 class="light">Heading h5</h5>
    <h6 class="light">Heading h6</h6>

    Secondary

    Create lighter, secondary text in any heading with a generic <small> tag or the .small class.

    Heading h1 Secondary text

    Heading h2 Secondary text

    Heading h3 Secondary text

    Heading h4 Secondary text

    Heading h5 Secondary text
    Heading h6 Secondary text
    <h1>Heading h1 <small>Secondary text</small></h1>
    <h2>Heading h2 <small>Secondary text</small></h2>
    <h3>Heading h3 <small>Secondary text</small></h3>
    <h4>Heading h4 <small>Secondary text</small></h4>
    <h5>Heading h5 <small>Secondary text</small></h5>
    <h6>Heading h6 <small>Secondary text</small></h6>

    Alignment

    Easily realign text to components with text alignment classes.

    Left aligned text.

    Center aligned text.

    Right aligned text.

    Justified text.

    <p class="left-align">Left aligned text.</p>
    <p class="center-align">Center aligned text.</p>
    <p class="right-align">Right aligned text.</p>
    <p class="justify-align">Justified text.</p>

    Blockquotes

    Blockquotes are mainly used to give emphasis to a quote or citation. You can also use these for some extra text hierarchy and emphasis.

    This is an example quotation that uses the blockquote tag.
    Here is another line with small text.

    This is an example quotation that uses the blockquote tag.
    Here is another line with small text.

    This is an example quotation that uses the blockquote tag.
    Here is another line with small text.

    <blockquote>
      <p>
        This is an example quotation that uses the blockquote tag.
        <br>
        <small>Here is another line with small text.</small>
      </p>
    </blockquote>
    
    <blockquote class="red-text">
      <p>
        This is an example quotation that uses the blockquote tag.
        <br>
        <small>Here is another line with small text.</small>
      </p>
    </blockquote>
    
    <blockquote class="orange-text">
      <p>
        This is an example quotation that uses the blockquote tag.
        <br>
        <small>Here is another line with small text.</small>
      </p>
    </blockquote>

    Flow Text

    One common flaw we've seen in many frameworks is a lack of support for truly responsive text. While elements on the page resize fluidly, text still resizes on a fixed basis. To ameliorate this problem, for text heavy pages, we've created a class that fluidly scales text size and line-height to optimize readability for the user. Line length stays between 45-80 characters and line height scales to be larger on smaller screens.

    To see Flow Text in action, slowly resize your browser and watch the size of this text body change! Use the button above to toggle off/on flow-text to see the difference!

    <p class="flow-text">I am Flow Text</p>

    To use flow-text on a body of text, simply just add the class flow-text to a tag, see the code blow.

    Toggle flow-text
    @@include('./parts/search-bar.html') @@include('./parts/chat.html') @@include('./parts/foot.html', { "copyright": true })