diff --git a/blocks/article/article.css b/blocks/article/article.css index fd388d2..5af72d9 100644 --- a/blocks/article/article.css +++ b/blocks/article/article.css @@ -270,6 +270,23 @@ article [data-docs-heading] span { align-items: center; } +.announcement { + padding-bottom: var(--spacing--10); +} + +.announcement p { + color: white; + background-color: #aa0006; + margin: 0; + padding: 15px 10px; +} + +.announcement a { + color: white; + font-weight: bold; + text-decoration: underline; +} + .article-actions { align-items: center; display: flex; diff --git a/blocks/article/article.js b/blocks/article/article.js index f8c9d85..a694dfc 100644 --- a/blocks/article/article.js +++ b/blocks/article/article.js @@ -48,7 +48,8 @@ const TEMPLATE = /* html */ ` - + +