website: remove the last updated option from footer (#13493)
* really remove the last updated option * fix background colour in different themes Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Tana M Berry <tana@goauthentik.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
We as members, contributors, and leaders pledge to make participation in our
|
We as members, contributors, and leaders pledge to make participation in our
|
||||||
community a harassment-free experience for everyone, regardless of age, body
|
community a harassment-free experience for everyone, regardless of age, body
|
||||||
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
||||||
identity and expression, level of experience, education, socio-economic status,
|
identity and expression, level of experience, education, socioeconomic status,
|
||||||
nationality, personal appearance, race, religion, or sexual identity
|
nationality, personal appearance, race, religion, or sexual identity
|
||||||
and orientation.
|
and orientation.
|
||||||
|
|
||||||
|
|||||||
@ -103,8 +103,7 @@ const createConfig = (): Config => {
|
|||||||
docs: {
|
docs: {
|
||||||
id: "docs",
|
id: "docs",
|
||||||
sidebarPath: "./sidebars.js",
|
sidebarPath: "./sidebars.js",
|
||||||
showLastUpdateTime:
|
showLastUpdateTime: false,
|
||||||
process.env.GIT_UNAVAILABLE != "true",
|
|
||||||
editUrl:
|
editUrl:
|
||||||
"https://github.com/goauthentik/authentik/edit/main/website/",
|
"https://github.com/goauthentik/authentik/edit/main/website/",
|
||||||
docItemComponent: "@theme/ApiItem",
|
docItemComponent: "@theme/ApiItem",
|
||||||
|
|||||||
@ -24,9 +24,17 @@
|
|||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
--edit-this-page-background: var(--ifm-color-secondary-lighter);
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="dark"] {
|
||||||
|
--edit-this-page-background: var(--ifm-color-secondary-contrast-background);
|
||||||
|
}
|
||||||
|
|
||||||
.admonitionContrib {
|
.admonitionContrib {
|
||||||
--ifm-h5-font-size: 1rem;
|
--ifm-h5-font-size: 1rem;
|
||||||
--ifm-alert-background-color: var(--ifm-color-secondary-lighter);
|
--ifm-alert-background-color: var(--edit-this-page-background);
|
||||||
display: block;
|
display: block;
|
||||||
border-left-style: none;
|
border-left-style: none;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user