The header component has optional navigation links. The class .s-nav-sticky is optional and will add a sticky position.
Cards
Both card variants are block elements, so will take the up the width of their parent container unless provided with rules to limit their width. The examples below show cards that are the width of this page because no additional styling has been placed on their parent containers.
Basic Card
The basic card allows for a title, subtitle, content, and footer - all of which are optional. The following example shows a card that uses all options.
Card Title
Card Subtitle
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum risus odio quis sit mattis in luctus. Dignissim auctor aliquam suspendisse non in ac, purus. Aliquam arcu justo quam lorem at id proin morbi. A arcu accumsan, eu id fringilla non.
Profile Card
The Profile Card is designed to include a photo in the header, an addition to title, subtitle, content, and a button. The example that follows demonstrates how color variants can be achieved using the color utils.
Card Title
Card Subtitle
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum risus odio quis sit mattis in luctus. Dignissim auctor aliquam suspendisse non in ac, purus. Aliquam arcu justo quam lorem at id proin morbi. A arcu accumsan, eu id fringilla non.
Footers
The .s-footer class can be applied to any container element to create a footer. It has accompanying classes for any children it contains. The examples below demonstrate how they can be used in various combinations; but the content presented is not defined.
Simple Footer
Simple footer with paragraph text only. The .s-footer-content class should be used on the container that wraps content.
Footer with Links
Footer with paragraph text and one set of links. Use of the .s-footer-right and .s-footer-link classes ensure proper spacing between links.
Footer with Links and Social Icons
Footer with two set of links; one being social icons. Use of the .s-footer-right and .s-footer-left, and .s-footer-icon and .s-footer-link classes ensure proper spacing between links and icons within their respective containers, as well as vertical alignment.