Add divider color to home footer

This commit is contained in:
Soitora 2023-09-08 23:02:20 +02:00
parent aee92f4873
commit 87b40fb6c4
No known key found for this signature in database
GPG Key ID: A6D711EB4F2CCD97
2 changed files with 7 additions and 1 deletions

View File

@ -47,7 +47,7 @@ const themeConfig: DefaultTheme.Config = {
],
footer: {
message: "<a href=\"https://www.apache.org/licenses/LICENSE-2.0\" target=\"_blank\">Open-source Apache Licensed</a> | <a href=\"/privacy/\">Privacy policy</a> | Powered by <a target=\"_blank\" href=\"https://www.netlify.com/\">Netlify <img src=\"/img/logo-netlify.svg\" alt=\"Netlify Logo\" height=\"12px\" width=\"12px\" style=\"display: inline-block\"></a>",
message: "<a href=\"https://www.apache.org/licenses/LICENSE-2.0\" target=\"_blank\">Open-source Apache Licensed</a> <span class=\"divider\">|</span> <a href=\"/privacy/\">Privacy policy</a> <span class=\"divider\">|</span> Powered by <a target=\"_blank\" href=\"https://www.netlify.com/\">Netlify <img src=\"/img/logo-netlify.svg\" alt=\"Netlify Logo\" height=\"12px\" width=\"12px\" style=\"display: inline-block\"></a>",
copyright: `Copyright © 2015 - ${new Date().getFullYear()} Javier Tomás`,
},

View File

@ -79,6 +79,12 @@ html:not(.dark) {
}
}
.VPFooter {
.divider {
color: var(--vp-c-divider)
}
}
/**
* Component: Custom Block
* -------------------------------------------------------------------------- */