From 95c0c937b1bfb4502ea90fcd471b9bf6a37257d9 Mon Sep 17 00:00:00 2001 From: Julie Turner Date: Tue, 1 Oct 2024 13:55:22 +0000 Subject: [PATCH] Added deprecation styling to older docs --- docs/v1/documentation/css/extra.css | 41 ++++++++++++++++++++++++----- docs/v2/css/extra.css | 29 ++++++++++++++++++++ docs/v3/css/extra.css | 29 ++++++++++++++++++++ 3 files changed, 93 insertions(+), 6 deletions(-) diff --git a/docs/v1/documentation/css/extra.css b/docs/v1/documentation/css/extra.css index 6391b1ff7..4d693ca20 100644 --- a/docs/v1/documentation/css/extra.css +++ b/docs/v1/documentation/css/extra.css @@ -4,15 +4,15 @@ padding: 0 0.25 0.5 !important; } -.md-header{ +.md-header { height: 75px; } -.md-container{ +.md-container { padding-top: 70px; } -.md-sidebar[data-md-state="lock"]{ +.md-sidebar[data-md-state="lock"] { padding-top: 75px; } @@ -27,7 +27,36 @@ } @media only screen and (max-width: 76.1875em) { - .md-nav--primary .md-nav__title--site .md-nav__button { - width: 150px; - } + .md-nav--primary .md-nav__title--site .md-nav__button { + width: 150px; + } +} + +body { + min-height: 100vh; + min-width: 100vw; + margin: 0; + background-color: light-dark(whitesmoke, black); + + &:before { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + content: "V1 \A Deprecated"; + white-space: pre-wrap; + display: block; + box-sizing: border-box; + padding: 20vh; + font-size: clamp(4rem, 20vh, 10rem); + height: 100vh; + width: 100vw; + text-align: center; + z-index: -1; + color: silver; + font-weight: 900; + font-family: sans-serif; + text-transform: uppercase; + } } \ No newline at end of file diff --git a/docs/v2/css/extra.css b/docs/v2/css/extra.css index 6391b1ff7..81c8ef41b 100644 --- a/docs/v2/css/extra.css +++ b/docs/v2/css/extra.css @@ -30,4 +30,33 @@ .md-nav--primary .md-nav__title--site .md-nav__button { width: 150px; } +} + +body { + min-height: 100vh; + min-width: 100vw; + margin: 0; + background-color: light-dark(whitesmoke, black); + + &:before { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + content: "V2 \A Deprecated"; + white-space: pre-wrap; + display: block; + box-sizing: border-box; + padding: 20vh; + font-size: clamp(4rem, 20vh, 10rem); + height: 100vh; + width: 100vw; + text-align: center; + z-index: -1; + color: silver; + font-weight: 900; + font-family: sans-serif; + text-transform: uppercase; + } } \ No newline at end of file diff --git a/docs/v3/css/extra.css b/docs/v3/css/extra.css index 6391b1ff7..0193615dd 100644 --- a/docs/v3/css/extra.css +++ b/docs/v3/css/extra.css @@ -30,4 +30,33 @@ .md-nav--primary .md-nav__title--site .md-nav__button { width: 150px; } +} + +body { + min-height: 100vh; + min-width: 100vw; + margin: 0; + background-color: light-dark(whitesmoke, black); + + &:before { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + content: "V3 \A Deprecated"; + white-space: pre-wrap; + display: block; + box-sizing: border-box; + padding: 20vh; + font-size: clamp(4rem, 20vh, 10rem); + height: 100vh; + width: 100vw; + text-align: center; + z-index: -1; + color: silver; + font-weight: 900; + font-family: sans-serif; + text-transform: uppercase; + } } \ No newline at end of file