Skip to content

Commit be038d7

Browse files
jan-buresCopilot
andcommitted
Another unification pass
Co-authored-by: Copilot <copilot@github.com>
1 parent b951bd7 commit be038d7

7 files changed

Lines changed: 680 additions & 195 deletions

File tree

astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export default defineConfig({
1313
integrations: [
1414
starlight({
1515
plugins: [starlightBlog({
16+
title: 'DEV BLOG',
17+
recentPostCount: Infinity,
1618
authors: {
1719
redux: {
1820
name: 'Redux Team',

src/components/StarlightHero.astro

Lines changed: 39 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ const hasMedia = Boolean(darkImage || lightImage || rawHtml);
8383
overflow: hidden;
8484
background:
8585
linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.82) 58%, rgba(10, 10, 10, 0.68) 100%),
86-
linear-gradient(180deg, rgba(223, 22, 1, 0.08) 0%, rgba(10, 10, 10, 0) 55%),
87-
url('/background.png') center / cover no-repeat;
86+
linear-gradient(180deg, rgba(223, 22, 1, 0.08) 0%, rgba(10, 10, 10, 0) 55%);
8887
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
8988
isolation: isolate;
9089
}
@@ -119,6 +118,11 @@ const hasMedia = Boolean(darkImage || lightImage || rawHtml);
119118
color: #ffffff;
120119
}
121120

121+
.redux-hero__title :global(span) {
122+
display: block;
123+
color: #df1601;
124+
}
125+
122126
.redux-hero__tagline {
123127
max-width: 42rem;
124128
color: #d1d5db;
@@ -135,38 +139,55 @@ const hasMedia = Boolean(darkImage || lightImage || rawHtml);
135139
.redux-hero__button {
136140
display: inline-flex;
137141
align-items: center;
138-
gap: 0.55rem;
139-
padding: 0.8rem 1.25rem;
142+
justify-content: center;
143+
gap: 0.7rem;
144+
min-height: 3.35rem;
145+
padding: 0.9rem 1.45rem;
140146
border: 1px solid transparent;
141147
border-radius: 999px;
142148
font-size: 0.98rem;
143149
font-weight: 700;
144150
line-height: 1.2;
151+
letter-spacing: 0.01em;
145152
text-decoration: none;
146-
transition: background-color 0.2s, border-color 0.2s, color 0.2s;
153+
transition:
154+
transform 0.2s ease,
155+
border-color 0.2s ease,
156+
background-color 0.2s ease,
157+
box-shadow 0.2s ease,
158+
color 0.2s ease;
147159
}
148160

149161
.redux-hero__button--primary {
150-
background: #df1601;
151-
border-color: #df1601;
162+
background: linear-gradient(180deg, #f02c16 0%, #df1601 100%);
163+
box-shadow:
164+
0 16px 32px rgba(223, 22, 1, 0.24),
165+
inset 0 1px 0 rgba(255, 255, 255, 0.18);
152166
color: #ffffff;
153167
}
154168

155169
.redux-hero__button--primary:hover {
156-
background: #c41301;
157-
border-color: #c41301;
170+
transform: translateY(-2px);
171+
background: linear-gradient(180deg, #ff4029 0%, #e41901 100%);
172+
box-shadow:
173+
0 22px 38px rgba(223, 22, 1, 0.3),
174+
inset 0 1px 0 rgba(255, 255, 255, 0.22);
158175
color: #ffffff;
159176
}
160177

161178
.redux-hero__button--secondary {
162-
border-color: rgba(255, 255, 255, 0.24);
163-
background: rgba(255, 255, 255, 0.04);
179+
border-color: rgba(255, 255, 255, 0.14);
180+
background: rgba(255, 255, 255, 0.05);
181+
box-shadow:
182+
inset 0 1px 0 rgba(255, 255, 255, 0.08),
183+
0 10px 24px rgba(0, 0, 0, 0.18);
164184
color: #ffffff;
165185
}
166186

167187
.redux-hero__button--secondary:hover {
168-
border-color: rgba(255, 255, 255, 0.4);
169-
background: rgba(255, 255, 255, 0.08);
188+
transform: translateY(-2px);
189+
border-color: rgba(223, 22, 1, 0.4);
190+
background: rgba(255, 255, 255, 0.1);
170191
}
171192

172193
.redux-hero__button--minimal {
@@ -180,6 +201,11 @@ const hasMedia = Boolean(darkImage || lightImage || rawHtml);
180201
color: #ff7f6b;
181202
}
182203

204+
.redux-hero__button:focus-visible {
205+
outline: 2px solid rgba(255, 255, 255, 0.9);
206+
outline-offset: 3px;
207+
}
208+
183209
.redux-hero__media {
184210
width: min(100%, 22rem);
185211
height: auto;

src/content/docs/guides/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Documentation
2+
title: Docs & Guides
33
description: Installation, troubleshooting, roadmap, and contribution notes for KSP2 Redux.
44
hero:
55
tagline: Installation, troubleshooting, roadmap, and contribution notes for KSP2 Redux.
Lines changed: 80 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,84 @@
11
---
22
title: Linux Support
3-
description: Tips on running KSP2 Redux on Linux.
3+
description: Tips for running KSP2 Redux on Linux.
44
---
55

6-
This page will contain tips and instructions for running KSP2 Redux on Linux. We will cover both running the installer and the game itself.
6+
import { Aside } from '@astrojs/starlight/components';
7+
8+
KSP2 Redux can run on Linux through Proton. This page focuses on launching and troubleshooting the game itself.
9+
10+
<Aside type="tip" title="Steam Launch Required">
11+
If you are using the Linux version of the Updater, open **Settings** and enable **Launch through Steam** if you want to be able to launch the game from the Updater.
12+
</Aside>
13+
14+
## Recommended Setup
15+
16+
- Add or launch Redux through Steam.
17+
- Force a Proton compatibility setup for the game.
18+
- If the game is unstable at startup, start with windowed launch options first.
19+
20+
Reported working Proton versions include:
21+
22+
- `GE-Proton`
23+
- `GE-Proton 10-27`
24+
- `Proton Experimental`
25+
- `Proton 10`
26+
27+
If one Proton version gives video or startup issues, try `GE-Proton` first.
28+
29+
## Launch Options That Help
30+
31+
Some Linux users reported better stability when forcing windowed startup.
32+
33+
Recommended launch arguments to try:
34+
35+
```text
36+
-popupwindow
37+
```
38+
39+
Other reported working options:
40+
41+
```text
42+
-window-mode exclusive -screen-fullscreen 0
43+
```
44+
45+
Notes:
46+
47+
- `-popupwindow` was reported to reduce startup crashes on some systems.
48+
- Some users needed the game to start windowed first, even if it later switched into fullscreen successfully.
49+
- If the game crashes immediately or opens to a black screen, test one of the options above before changing anything else.
50+
51+
## Known Working Reports
52+
53+
The following Linux environments were reported to work by community members:
54+
55+
- Arch Linux with Hyprland using GE-Proton
56+
- Nobara using GE-Proton
57+
- Bazzite / Fedora Atomic using Proton
58+
- Linux Mint 22.3 using GE-Proton 10-27
59+
- Pop!_OS 24 using Proton 10
60+
61+
## Troubleshooting
62+
63+
### Startup Crashes
64+
65+
Try these steps in order:
66+
67+
1. Force `GE-Proton`, for example `GE-Proton 10-27`.
68+
2. Add `-popupwindow` to launch options.
69+
3. If that does not help, try `-window-mode exclusive -screen-fullscreen 0`.
70+
71+
### Videos or Intro Playback Issues
72+
73+
Some Linux users reported that default Proton builds had trouble with videos, while `GE-Proton` worked correctly. If the game launches poorly or hangs early, switch Proton versions before deeper troubleshooting.
74+
75+
## Reporting Linux Issues
76+
77+
When reporting a Linux-specific problem, include:
78+
79+
- your distro
80+
- desktop environment or window manager
81+
- kernel version
82+
- GPU and driver version
83+
- Proton version
84+
- launch options used

0 commit comments

Comments
 (0)