From: RafiBomb Date: Tue, 21 Jun 2016 17:33:18 +0000 (-0700) Subject: adds kitchen sink example for magellan X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76c7fcdaa6c6b4439f5756cc6e9c20398975401b;p=thirdparty%2Ffoundation%2Ffoundation-sites.git adds kitchen sink example for magellan --- diff --git a/docs/pages/cheatsheet.md b/docs/pages/cheatsheet.md index 676b16bee..9929e8f60 100644 --- a/docs/pages/cheatsheet.md +++ b/docs/pages/cheatsheet.md @@ -262,49 +262,7 @@ description: Get coding faster with this cheatsheet. It contains CSS classes, ac - -Add the `.badge` class to an element to create a badge. In the below example, we're using ``, but any tag will work fine. - -```html_example -1 -``` - -
- -A badge will typically be describing another element on the page. To bind the two elements together, give the badge a unique ID, and reference that ID in an `aria-describedby` attribute on the main element. - -```html -

Unread Messages

-1 -``` - -Finally, the content itself might need more context for users that use screen readers. You can add extra text inside the badge using the `.show-for-sr` class. - -```html -1 unread message -``` - --- -## Coloring - -Badges can be colored with the same classes used for buttons and other components. - -```html_example -2 -3 -A -B -``` - ---- - -### With Icons - -An icon can be used in place of text. We're using the [Foundation icon font](http://zurb.com/playground/foundation-icon-fonts-3) here, but any icon fonts or image-based icons will work fine. +## Breakpoints and Media Queries -```html_example - - - -``` \ No newline at end of file diff --git a/docs/pages/kitchen-sink.md b/docs/pages/kitchen-sink.md index 0b9d17376..64c91d715 100644 --- a/docs/pages/kitchen-sink.md +++ b/docs/pages/kitchen-sink.md @@ -568,7 +568,7 @@ description: Everything but. ## Magellan -```html +```html_example