diff --git a/documentation/_static/css/style.css b/documentation/_static/css/style.css index 29083a41..464f1d28 100644 --- a/documentation/_static/css/style.css +++ b/documentation/_static/css/style.css @@ -1,23 +1,23 @@ @import url("https://fonts.googleapis.com/css?family=Roboto:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i&display=swap"); -/* - * HSL(A) NOT TRANSFORMED TO RGB(A) - * - * Is now an accepted proposal: https://github.com/sass/sass/blob/master/accepted/color-4-rgb-hsl.md - * But without implementation, yet. - * - * Use: - * `color: hsl(15deg, 100%, 50%);` - * `--flashy-pink: hsl(15deg, 100%, 50%);` - * `$flashy-pink: hsl(15deg 100% 50%);` - * `--transparent-flashy-pink: hsl(15deg, 100%, 50%, .7);` - * `$transparent-flashy-pink: hsla(15deg, 100%, 50%, .7);` - * `$transparent-flashy-pink: hsla(15deg 100% 50% / .7);` - * - * Parameters: - * parameter 1 (angle | 0): the hue of the color - * parameter 2 (0-100% | 0): the saturation of the color - * parameter 3 (0-100% | 0): the luminosity of the color - * parameter 4 (optional, 1 by default): the alpha channel of the color +/* + * HSL(A) NOT TRANSFORMED TO RGB(A) + * + * Is now an accepted proposal: https://github.com/sass/sass/blob/master/accepted/color-4-rgb-hsl.md + * But without implementation, yet. + * + * Use: + * `color: hsl(15deg, 100%, 50%);` + * `--flashy-pink: hsl(15deg, 100%, 50%);` + * `$flashy-pink: hsl(15deg 100% 50%);` + * `--transparent-flashy-pink: hsl(15deg, 100%, 50%, .7);` + * `$transparent-flashy-pink: hsla(15deg, 100%, 50%, .7);` + * `$transparent-flashy-pink: hsla(15deg 100% 50% / .7);` + * + * Parameters: + * parameter 1 (angle | 0): the hue of the color + * parameter 2 (0-100% | 0): the saturation of the color + * parameter 3 (0-100% | 0): the luminosity of the color + * parameter 4 (optional, 1 by default): the alpha channel of the color */ *, *::before, @@ -2182,8 +2182,8 @@ body.modal--shown { border-right: 4px solid #DE6E26; padding-top: 32px; padding-bottom: 58px; - /* I've opted to hide the before element and use borders for this instead. - I didn't want to update the other base cards as to not break anything + /* I've opted to hide the before element and use borders for this instead. + I didn't want to update the other base cards as to not break anything but I don't think a whole new element is needed. */ } .base-card--new::before { content: none; } @@ -4242,7 +4242,9 @@ a.base-card:hover:before { padding-bottom: 64px; } .layout--single-column { display: grid; - grid-template-areas: "header" "content" "footer"; } + grid-template-areas: "header" + "content" + "footer"; } .layout--single-column .layout__content { max-width: 960px; margin-left: auto; @@ -4254,12 +4256,18 @@ a.base-card:hover:before { width: 100vw; } .layout--two-columns { display: grid; - grid-template-areas: "nav" "header" "content" "footer"; } + grid-template-areas: "nav" + "header" + "content" + "footer"; } @media (min-width: 36em) { .layout--two-columns { grid-template-columns: 320px 1fr; grid-template-rows: auto auto 1fr auto; - grid-template-areas: "nav nav" "header header" "sidebar content" "footer footer"; } } + grid-template-areas: "nav nav" + "header header" + "sidebar content" + "footer footer"; } } .layout--two-columns .layout__nav { grid-area: nav; } .layout--two-columns .layout__header { @@ -4433,3 +4441,14 @@ a.base-card:hover:before { display: flex; justify-content: center; margin-bottom: 48px; } + +.cookie-consent { + padding-top: 0 !important; + width: 450px; + height: 325px; + position: fixed !important; + bottom: 0; + left: 0; + background: #f9e1d3 !important; + z-index: 99; +} diff --git a/documentation/_templates/_parts/cookie-consent.html b/documentation/_templates/_parts/cookie-consent.html new file mode 100644 index 00000000..1b94fab8 --- /dev/null +++ b/documentation/_templates/_parts/cookie-consent.html @@ -0,0 +1,55 @@ + + + + + + +