Skip to content

Commit b21d55e

Browse files
authored
Make the website style a bit more custom (#426)
* Make the website style a bit more custom * remove non-functional code * fix text-shadow
1 parent eb6ff60 commit b21d55e

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

oranda.json

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"repository": "https://github.com/kitsune-soc/kitsune"
1717
},
1818
"styles": {
19+
"additional_css": [
20+
"./web/custom.css"
21+
],
1922
"theme": "hacker"
2023
}
2124
}

web/custom.css

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
@layer overrides {
2+
:root {
3+
--dark1: #0f1026;
4+
--dark2: #051c30;
5+
--dark3: #042f40;
6+
--shade1dark: #53a0c4;
7+
--shade1light: #afd7fa;
8+
--shade2dark: #935d7e;
9+
--shade2light: #d68fbc;
10+
}
11+
12+
body, .repo_banner {
13+
background-color: transparent !important;
14+
}
15+
16+
.artifacts {
17+
background-color: var(--dark2) !important;
18+
}
19+
20+
html {
21+
background: radial-gradient(var(--dark1), black 120%) no-repeat fixed;
22+
}
23+
24+
a:not(.button, .primary) {
25+
color: var(--shade1dark) !important;
26+
text-shadow: 0 0 5px var(--shade1dark) !important;
27+
}
28+
29+
a:hover:not(.button, .primary) {
30+
color: var(--shade1light) !important;
31+
text-shadow: 0 0 5px var(--shade1light) !important;
32+
}
33+
34+
h1, h2, h3, h4 {
35+
color: var(--shade2light) !important;
36+
}
37+
38+
.title::after {
39+
background: var(--shade2light) !important;
40+
}
41+
}

0 commit comments

Comments
 (0)