diff --git a/dojo_theme/static/css/custom.css b/dojo_theme/static/css/custom.css index d28c75b7e..93018660c 100644 --- a/dojo_theme/static/css/custom.css +++ b/dojo_theme/static/css/custom.css @@ -207,6 +207,47 @@ p[data-hide="true"] { border-color: #6c757d !important; } +.announcement { + position: fixed; + z-index: 9999; + left: 1rem; + bottom: 1rem; + max-width: 30rem; + margin-right: 1rem; + padding: 2rem; + background-color: #1a1a1a; + display: flex; + align-items: center; + justify-content: center; + + border: 3px solid var(--brand-green); + border-radius: 1rem; + font-size: 1.1rem; +} + +.announcement-btn-wrap { + display: flex; + justify-content: center; + column-gap: 2rem; +} + +.announcement-btn { + padding: 0.5rem; + border-radius: 0.3rem; + border: 2px var(--blue) solid; + width: 100%; +} + +#later-btn { + background: none; + color: var(--blue); +} + +#check-it-out-btn { + background-color: var(--blue); + color: white; +} + .challenge-button { margin-bottom: 1.5rem !important } diff --git a/dojo_theme/templates/base.html b/dojo_theme/templates/base.html index c6b492c6e..2fad92b4a 100644 --- a/dojo_theme/templates/base.html +++ b/dojo_theme/templates/base.html @@ -132,5 +132,39 @@ {{ current_dojo_custom_js | safe }} {% endif %} + +
+