Adds link to new version

This commit is contained in:
Alicia Sykes 2024-02-11 00:04:38 +00:00
parent e0fd2ca761
commit 3451050e7a
2 changed files with 30 additions and 0 deletions

View File

@ -23,6 +23,10 @@
</head>
<body>
<a href="https://digital-defense.io/" class="new-version">
New version available!<br>
<span class="link">digital-defense.io</span>
</a>
<div id="app"></div>
<script>
window.$docsify = {

View File

@ -234,3 +234,29 @@ a.cover-link:after {
-webkit-transform: translateX(-50%) translateY(-50%) rotate(135deg);
transform: translateX(-50%) translateY(-50%) rotate(135deg);
}
/******************************************************/
/***************** NEW VERSION BANNER *****************/
/******************************************************/
.new-version {
position: fixed;
bottom: 0.5rem;
right: 0.5rem;
z-index: 1;
width: fit-content;
margin: 0.25rem;
padding: 0.5rem 1rem;
background: #060b2b;
color: white;
border-radius: 10px;
font-size: 1.6rem;
font-family: 'Cutive Mono', monospace;
border: 3px solid #ff0078;
opacity: 0.8;
text-decoration: none;
}
.new-version .link {
color: #ff0078 !important;
font-weight: bold;
}