diff --git a/docs/patterns/tile/index.md b/docs/patterns/tile/index.md new file mode 100644 index 0000000000..c6881dd784 --- /dev/null +++ b/docs/patterns/tile/index.md @@ -0,0 +1,89 @@ +--- +title: Tile +layout: layouts/pages/basic.njk +hasToc: true +order: 120 +tags: + - pattern +importElements: + - rh-tile + - rh-cta + - rh-surface + - rh-code-block +--- + + + + + + +## Overview + +Tiles are flexible layouts with clickable and contained surfaces. + + +## Accented tile + +The accented tile pattern should be used to draw attention to a specifc tile or set of tiles. Be careful not to apply the accented tile pattern to all tiles within a page, otherwise the accent effect will be lost. After all, "if everything is special, then nothing is special." + +
+
+

Example

+ + +

Link

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
+
+
+
+

CSS

+ + + +
+
+View accented tile demo diff --git a/docs/patterns/video-thumbnail/index.md b/docs/patterns/video-thumbnail/index.md index 3077808df2..b80fb5483c 100644 --- a/docs/patterns/video-thumbnail/index.md +++ b/docs/patterns/video-thumbnail/index.md @@ -1,6 +1,6 @@ --- title: Video thumbnail -order: 120 +order: 130 hasToc: true tags: - pattern diff --git a/elements/rh-tile/demo/accented-tiles.html b/elements/rh-tile/demo/accented-tiles.html new file mode 100644 index 0000000000..48e017ea8e --- /dev/null +++ b/elements/rh-tile/demo/accented-tiles.html @@ -0,0 +1,66 @@ + + + +

Link

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
+ + +

Link 2

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
+ + +

Link 2

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
+
+
+ + + + + +