diff --git a/theme/main.html b/theme/main.html index 3aa9b63..a7b164e 100644 --- a/theme/main.html +++ b/theme/main.html @@ -31,6 +31,38 @@ >Developers +
+ + 📋 Help us improve this DHIS2 documentation site by taking our short survey + + +
+ {% endblock %} {% block content %}
For the complete DHIS2 documentation index, see llms.txt. diff --git a/theme/resources/css/mkdocs_dhis2.css b/theme/resources/css/mkdocs_dhis2.css index 8bcd000..e7678f5 100644 --- a/theme/resources/css/mkdocs_dhis2.css +++ b/theme/resources/css/mkdocs_dhis2.css @@ -1370,3 +1370,47 @@ blockquote.nested { color: var(--grey900); border-radius: 8px !important; } + +/* */ +/* Survey announcement banner (dismissible) */ +/* */ + +.survey-banner { + display: flex; + align-items: center; + justify-content: center; + gap: 12px; + background: #1976d2; + padding: 10px 40px; + position: relative; + text-align: center; +} + +.survey-banner-text a { + color: #fff; + font-size: 18px; + text-decoration: underline; +} + +.survey-banner-text a:hover { + color: #fff; + opacity: 0.85; +} + +.survey-banner-close { + position: absolute; + right: 16px; + top: 50%; + transform: translateY(-50%); + background: none; + border: none; + color: #fff; + font-size: 20px; + line-height: 1; + cursor: pointer; + padding: 4px; +} + +.survey-banner-close:hover { + opacity: 0.75; +}