Skip to content

Commit

Permalink
Added deprecation styling to older docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Julie Turner committed Oct 1, 2024
1 parent a847721 commit 95c0c93
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 6 deletions.
41 changes: 35 additions & 6 deletions docs/v1/documentation/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}
}
29 changes: 29 additions & 0 deletions docs/v2/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
29 changes: 29 additions & 0 deletions docs/v3/css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 95c0c93

Please sign in to comment.