Make the website style a bit more custom (#426)

* Make the website style a bit more custom

* remove non-functional code

* fix text-shadow
This commit is contained in:
aumetra 2023-11-24 21:43:21 +01:00 committed by GitHub
parent eb6ff60c96
commit b21d55ed79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View File

@ -16,6 +16,9 @@
"repository": "https://github.com/kitsune-soc/kitsune"
},
"styles": {
"additional_css": [
"./web/custom.css"
],
"theme": "hacker"
}
}

41
web/custom.css Normal file
View File

@ -0,0 +1,41 @@
@layer overrides {
:root {
--dark1: #0f1026;
--dark2: #051c30;
--dark3: #042f40;
--shade1dark: #53a0c4;
--shade1light: #afd7fa;
--shade2dark: #935d7e;
--shade2light: #d68fbc;
}
body, .repo_banner {
background-color: transparent !important;
}
.artifacts {
background-color: var(--dark2) !important;
}
html {
background: radial-gradient(var(--dark1), black 120%) no-repeat fixed;
}
a:not(.button, .primary) {
color: var(--shade1dark) !important;
text-shadow: 0 0 5px var(--shade1dark) !important;
}
a:hover:not(.button, .primary) {
color: var(--shade1light) !important;
text-shadow: 0 0 5px var(--shade1light) !important;
}
h1, h2, h3, h4 {
color: var(--shade2light) !important;
}
.title::after {
background: var(--shade2light) !important;
}
}