Skip to content

Commit c4754da

Browse files
committed
a
1 parent 1c037b8 commit c4754da

File tree

3 files changed

+45
-13
lines changed

3 files changed

+45
-13
lines changed

home/.vitepress/theme/style.css

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,22 +93,39 @@
9393
:root {
9494
--vp-home-hero-name-color: transparent;
9595
--vp-home-hero-name-background: -webkit-linear-gradient(
96-
120deg,
97-
#bd34fe 30%,
96+
45deg,
97+
#acd51f 5%,
9898
#41d1ff
9999
);
100100

101101
--vp-home-hero-image-background-image: linear-gradient(
102-
-45deg,
102+
60deg,
103103
#bd34fe 50%,
104104
#47caff 50%
105105
);
106106
--vp-home-hero-image-filter: blur(44px);
107107
}
108108

109+
/* Light mode - no worky pls help*/
110+
@media (prefers-color-scheme: light) {
111+
:root {
112+
--vp-home-hero-name-background: -webkit-linear-gradient(
113+
45deg,
114+
#ff9a9e 5%,
115+
#fad0c4
116+
);
117+
118+
--vp-home-hero-image-background-image: linear-gradient(
119+
60deg,
120+
#f6d365 50%,
121+
#fda085 50%
122+
);
123+
}
124+
}
125+
109126
@media (min-width: 640px) {
110127
:root {
111-
--vp-home-hero-image-filter: blur(56px);
128+
--vp-home-hero-image-filter: blur(120px);
112129
}
113130
}
114131

@@ -138,17 +155,17 @@
138155
}
139156

140157
:root {
141-
--vp-layout-max-width: 1920px;
158+
--vp-layout-max-width: 2200px;
142159
}
143160

144161
.VPDoc:not(.has-sidebar) .container {
145-
max-width: 1584px !important;
162+
max-width: 1600px !important;
146163
}
147164

148165
.VPDoc:not(.has-sidebar) .content {
149-
max-width: 1264px !important;
166+
max-width: 1500px !important;
150167
}
151168

152169
.VPDoc.has-aside .content-container {
153-
max-width: 1168px !important;
170+
max-width: 1300px !important;
154171
}

home/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Free code signing provided by [SignPath.io], certificate by [SignPath Foundation
115115
[SignPath Foundation]:https://signpath.org
116116
[SignPath.io]:https://signpath.io
117117

118-
## FOSSA Analysis For Key Projects
118+
## License Compliance Analysis For Key Projects
119119
<p align="center" style="vertical-align: top;">
120120
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2FCollapseLauncher%2FCollapse?ref=badge_large&issueType=license" target="_blank" style="display: inline-block; vertical-align: top;">
121121
<img src="https://app.fossa.com/api/projects/git%2Bgithub.com%2FCollapseLauncher%2FCollapse.svg?type=large&issueType=license" alt="Collapse FOSSA Status" width=280/>

home/scripts/features.vue

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ export default {
4949
return {
5050
games
5151
};
52+
},
53+
mounted() {
54+
this.setTooltipColors();
55+
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', this.setTooltipColors);
56+
},
57+
methods: {
58+
setTooltipColors() {
59+
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
60+
document.documentElement.style.setProperty('--tooltip-bg-color', isDarkMode ? '#fff' : '#555');
61+
document.documentElement.style.setProperty('--tooltip-text-color', isDarkMode ? '#000' : '#fff');
62+
document.documentElement.style.setProperty('--tooltip-identifier-color', isDarkMode ? '#fff' : '#000');
63+
}
5264
}
5365
};
5466
</script>
@@ -61,8 +73,10 @@ export default {
6173
.featureTable {
6274
width: 100%;
6375
overflow-x: auto;
64-
max-width: 1200px;
76+
max-width: 1500px;
6577
margin: 0 auto;
78+
justify-self: center;
79+
justify-content: center;
6680
}
6781
6882
.legends {
@@ -75,6 +89,7 @@ export default {
7589
display: flex;
7690
justify-content: center;
7791
margin: 0 auto;
92+
max-width: 1500px;
7893
}
7994
8095
.featureTable table {
@@ -131,8 +146,8 @@ export default {
131146
.tooltip .tooltiptext {
132147
visibility: hidden;
133148
width: 120px;
134-
background-color: #555;
135-
color: #fff;
149+
background-color: var(--tooltip-bg-color, #555);
150+
color: var(--tooltip-text-color, #fff);
136151
text-align: center;
137152
border-radius: 6px;
138153
padding: 5px 0;
@@ -153,6 +168,6 @@ export default {
153168
.tooltip sup {
154169
font-size: 0.6em;
155170
vertical-align: super;
156-
color: #555;
171+
color: var(--tooltip-identifier-color, #000); /* Default to black */
157172
}
158173
</style>

0 commit comments

Comments
 (0)