docs: add ketch management banner (#7503)
* feat: Add Ketch consent management and privacy preference link to docusaurus config * feat: Update Docusaurus footer and Ketch privacy management - Modify Ketch script configuration for better performance - Enhance footer styling with dark theme and copyright - Add dynamic load for region-specific privacy link - Update sitemap configuration to ignore preferences page * Styled footer * fix-merge-error * update script to remove link if in default jurisdiction and handle GA… (#7508) * update script to remove link if in default jurisdiction and handle GA4 tracking * add test ketch property so we can test in feature branch * Fix ketch script issue (#7509) * add new html sidebar item with custom styles and new font * update script to remove link if in default jurisdiction and handle GA4 tracking * add test ketch property so we can test in feature branch * fix script for ketch --------- Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * Fix Ketch script again (#7513) * add new html sidebar item with custom styles and new font * update script to remove link if in default jurisdiction and handle GA4 tracking * add test ketch property so we can test in feature branch * fix script for ketch * Update footer css and fix ketch script * add production logic back in --------- Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com> * remove-region-check * make-footer-not-hide-ad --------- Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com> Co-authored-by: Cole Goldsmith <cole.b.goldsmith@gmail.com>
This commit is contained in:
parent
3f69e38f65
commit
0bf81f0bdc
2 changed files with 148 additions and 38 deletions
|
|
@ -226,7 +226,7 @@ body {
|
|||
max-width: 100%;
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
|
||||
.resized-image {
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
|
|
@ -277,18 +277,77 @@ body {
|
|||
margin-top: 0.15rem !important;
|
||||
}
|
||||
|
||||
/* Footer Styles */
|
||||
.footer {
|
||||
padding: 8px 0;
|
||||
background-color: var(--ifm-navbar-background-color);
|
||||
}
|
||||
|
||||
[data-theme="light"] .footer {
|
||||
border-top: 1px solid var(--ifm-color-emphasis-300);
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 var(--ifm-navbar-padding-horizontal);
|
||||
max-width: var(--ifm-container-width);
|
||||
margin: 0 auto;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.footer__copyright {
|
||||
color: var(--ifm-toc-link-color);
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
color: var(--ifm-toc-link-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footer-links a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.footer .container {
|
||||
padding: 0 5rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
/* Sidebar Styles */
|
||||
.theme-doc-sidebar-container nav.menu {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.theme-doc-sidebar-menu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.theme-doc-sidebar-menu > :nth-last-child(2) {
|
||||
margin-bottom: auto;
|
||||
}
|
||||
|
||||
/* Sidebar Ad Styles */
|
||||
.sidebar-ad {
|
||||
margin-left: -0.5rem;
|
||||
margin-right: -0.5rem;
|
||||
margin-bottom: 0;
|
||||
margin-top: 1rem;
|
||||
border-radius: 0;
|
||||
border-top: 1px solid var(--ifm-color-emphasis-300);
|
||||
border-bottom: 1px solid var(--ifm-color-emphasis-300);
|
||||
background-color: var(--ifm-background-color);
|
||||
position: fixed;
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
width: var(--doc-sidebar-width);
|
||||
}
|
||||
|
||||
[data-theme="dark"] .sidebar-ad {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue