Etch component
Subfooter 1
Bar at the bottom of a site footer: the copyright, then the legal links when there are any. It goes in the subfooter slot of Footer 1 or Footer 2; the legal links are a slot with sample content to replace.
Documentation
The bar at the bottom of a footer: the copyright and the legal links. Put it in a footer's subfooter slot; Footer 1, Footer 2 and Footer 3 come with one.
How to use it
- Copyright shows the year and the site's name by default.
- The legal slot holds a list of links, such as the privacy policy. The pasted bar comes with a sample; with the slot empty, only the copyright shows.
- Legal Label names the legal links for screen readers ("Legal" by default).
Good to know
- It takes the footer's colors, and
--mac-subfooter-1-link-hoversets the links' color on hover (Footer 1 sets it to its links' hover color). --mac-subfooter-1-bordersets the line above it,--mac-subfooter-1-padding-blockits top and bottom padding,--mac-subfooter-1-gutterits side padding and--mac-subfooter-1-justifyhow the copyright and the links spread (space-between). Footer 2 sets them to center it without a line or padding.