diff --git a/etpgrf_site/typograph/templates/typograph/base.html b/etpgrf_site/typograph/templates/typograph/base.html index a34e1bf..5da0fb3 100644 --- a/etpgrf_site/typograph/templates/typograph/base.html +++ b/etpgrf_site/typograph/templates/typograph/base.html @@ -73,10 +73,61 @@ .result-box .etp-r-dot { margin-right: -0.2em; } .result-box .etp-r-comma { margin-right: -0.2em; } .result-box .etp-r-colon { margin-right: -0.2em; } + + /* --- Стили для Cookie Banner --- */ + #cookie-banner { + backdrop-filter: blur(10px); /* Эффект размытия фона */ + border-top: 1px solid var(--bs-border-color); + z-index: 1050; /* Поверх всего */ + } + /* Светлая тема: темная плашка */ + [data-bs-theme="light"] #cookie-banner { + background-color: rgba(33, 37, 41, 0.85); /* bg-dark с прозрачностью */ + color: #fff; + } + [data-bs-theme="light"] #cookie-banner a { + color: #fff; + text-decoration: none; + border-bottom: 1px dotted #fff; + } + [data-bs-theme="light"] #cookie-banner a:hover { + border-bottom-style: solid; + } + [data-bs-theme="light"] #cookie-accept { + color: #fff; + border: 1px dashed #fff; + background: transparent; + } + [data-bs-theme="light"] #cookie-accept:hover { + background: rgba(255,255,255, 0.2); + } + + /* Темная тема: светлая плашка */ + [data-bs-theme="dark"] #cookie-banner { + background-color: rgba(248, 249, 250, 0.85); /* bg-light с прозрачностью */ + color: #000; + } + [data-bs-theme="dark"] #cookie-banner a { + color: #000; + text-decoration: none; + border-bottom: 1px dotted #000; + } + [data-bs-theme="dark"] #cookie-banner a:hover { + border-bottom-style: solid; + } + [data-bs-theme="dark"] #cookie-accept { + color: #000; + border: 1px dashed #000; + background: transparent; + } + [data-bs-theme="dark"] #cookie-accept:hover { + background: rgba(0,0,0, 0.1); + } +{# ШАПКА и главное меню #}
- {% block content %}{% endblock %} + {% block content %}{% endblock %} +
+ +{# Плашка о куках #} + {# Bootstrap JS #} + +{# Логика куки-баннера и счетчиков #} + +