diff --git a/src/components/call-to-action/_call-to-action.scss b/src/components/call-to-action/_call-to-action.scss index b5b8b1f5a2..102d030e82 100644 --- a/src/components/call-to-action/_call-to-action.scss +++ b/src/components/call-to-action/_call-to-action.scss @@ -1,4 +1,8 @@ .call-to-action { padding: 0.85rem 0; background: $cta-bg; + + &__heading { + padding-right: 0.2rem; + } } diff --git a/src/components/call-to-action/_macro.njk b/src/components/call-to-action/_macro.njk index a09731ebb5..02e6e035c0 100644 --- a/src/components/call-to-action/_macro.njk +++ b/src/components/call-to-action/_macro.njk @@ -4,8 +4,8 @@
-

{{ params.headingText }}

-

{{ params.paragraphText }}

+

{{ params.headingText }}

+

{{ params.paragraphText }}

{{ onsButton({ diff --git a/src/styles/images/_images.scss b/src/components/images/_images.scss similarity index 100% rename from src/styles/images/_images.scss rename to src/components/images/_images.scss diff --git a/src/styles/images/_macro.njk b/src/components/images/_macro.njk similarity index 100% rename from src/styles/images/_macro.njk rename to src/components/images/_macro.njk diff --git a/src/styles/images/examples/image/index.njk b/src/components/images/examples/image/index.njk similarity index 73% rename from src/styles/images/examples/image/index.njk rename to src/components/images/examples/image/index.njk index 39e7d90b36..cdd63fe14b 100644 --- a/src/styles/images/examples/image/index.njk +++ b/src/components/images/examples/image/index.njk @@ -1,4 +1,4 @@ -{% from "styles/images/_macro.njk" import onsImage %} +{% from "components/images/_macro.njk" import onsImage %} {{ onsImage({ "url": '/patternlib-img/photo-1.jpg', diff --git a/src/components/video/examples/video/index.njk b/src/components/video/examples/video/index.njk index 5b71196d2a..8816eee6fa 100644 --- a/src/components/video/examples/video/index.njk +++ b/src/components/video/examples/video/index.njk @@ -1,6 +1,6 @@ {% from "components/video/_macro.njk" import onsVideo %} {{ onsVideo({ - "youtubeUrl": "https://www.youtube.com/watch?v=BiZk2pnSM6w" + "youtubeUrl": "https://www.youtube.com/embed?v=BiZk2pnSM6w" }) }} diff --git a/src/scss/base/_global.scss b/src/scss/base/_global.scss index cdad2940dc..2517155ac2 100644 --- a/src/scss/base/_global.scss +++ b/src/scss/base/_global.scss @@ -23,6 +23,12 @@ img { height: auto; } +hr { + border: 0; + border-top: 1px solid #ddd; + margin: 2rem 0 0; +} + a { color: $color-links; &:hover { diff --git a/src/styles/images/index.njk b/src/styles/images/index.njk index 58a73e58a0..ffc66b1a68 100644 --- a/src/styles/images/index.njk +++ b/src/styles/images/index.njk @@ -5,5 +5,5 @@ title: Images Documentation required {{ - patternlibExample({"path": "styles/images/examples/image/index.njk"}) + patternlibExample({"path": "components/images/examples/image/index.njk"}) }}