fix: everything

This commit is contained in:
Nova
2025-08-19 03:47:26 -07:00
parent 0a46ac6a90
commit e5bb4944f6
31 changed files with 425 additions and 74 deletions

View File

View File

@@ -1,23 +1,27 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stardust XR Docs</title> <title>Stardust XR Docs</title>
<link rel="stylesheet" href="../style.css" /> <link rel="stylesheet" href="../style.css" />
<link rel="icon" type="image/png" href="../static/img/icon.png" /> <link rel="icon" type="image/png" href="../img/icon.png" />
<script src="../js/marked.min.js"></script> <script src="../js/marked.min.js"></script>
<script src="docs.js" defer></script> <script src="docs.js" defer></script>
</head> </head>
<body> <body>
<header> <header>
<h1><a href="../index.html" style="color:inherit;text-decoration:none;">Stardust XR Docs</a></h1> <h1>
<nav> <a href="../index.html" style="color: inherit; text-decoration: none"
<a href="../index.html">Home</a> >Stardust XR Docs</a
</nav> >
</header> </h1>
<main> <nav>
<div id="content">Loading...</div> <a href="../index.html">Home</a>
</main> </nav>
</body> </header>
<main>
<div id="content">Loading...</div>
</main>
</body>
</html> </html>

View File

Before

Width:  |  Height:  |  Size: 3.8 MiB

After

Width:  |  Height:  |  Size: 3.8 MiB

View File

Before

Width:  |  Height:  |  Size: 476 KiB

After

Width:  |  Height:  |  Size: 476 KiB

View File

Before

Width:  |  Height:  |  Size: 872 KiB

After

Width:  |  Height:  |  Size: 872 KiB

View File

Before

Width:  |  Height:  |  Size: 39 MiB

After

Width:  |  Height:  |  Size: 39 MiB

View File

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 242 KiB

After

Width:  |  Height:  |  Size: 242 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 308 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 412 KiB

After

Width:  |  Height:  |  Size: 412 KiB

View File

Before

Width:  |  Height:  |  Size: 616 B

After

Width:  |  Height:  |  Size: 616 B

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 45 MiB

After

Width:  |  Height:  |  Size: 45 MiB

View File

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.8 MiB

View File

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 234 KiB

View File

Before

Width:  |  Height:  |  Size: 895 KiB

After

Width:  |  Height:  |  Size: 895 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 38 MiB

After

Width:  |  Height:  |  Size: 38 MiB

View File

Before

Width:  |  Height:  |  Size: 11 MiB

After

Width:  |  Height:  |  Size: 11 MiB

View File

Before

Width:  |  Height:  |  Size: 18 MiB

After

Width:  |  Height:  |  Size: 18 MiB

View File

@@ -1,30 +1,173 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stardust XR</title> <title>Stardust XR</title>
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="style.css" />
<link rel="icon" type="image/png" href="static/img/icon.png" /> <style>
</head> .sr-only {
<body> position: absolute;
<header> width: 1px;
<h1>Stardust XR</h1> height: 1px;
<p>Stardust... We Fight For the Users!</p> padding: 0;
<nav> margin: -1px;
<a href="index.html">Home</a> overflow: hidden;
<a href="docs/">Docs</a> clip: rect(0, 0, 0, 0);
<a href="https://github.com/StardustXR" target="_blank" rel="noopener">GitHub</a> white-space: nowrap;
</nav> border: 0;
</header> }
<main> </style>
<section> <link
<h2>Get Started</h2> rel="stylesheet"
<p>Check out the <a href="docs/#01-get-started/01-What-is-Stardust">What is Stardust?</a> guide to learn more.</p> href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
</section> />
</main> <link rel="icon" type="image/png" href="img/icon.png" />
<footer> </head>
<p>&copy; 2024 Stardust XR</p> <body>
</footer> <header>
</body> <div class="header-content">
<div class="logo-container">
<img
src="img/icon.webp"
alt="Stardust XR logo, a yellow star with smaller white stars around it in a purple cosmic background"
class="logo"
/>
<h1>Stardust XR</h1>
</div>
<p class="tagline">Stardust... We Fight For the Users!</p>
<nav>
<div class="nav-right">
<a
href="https://discord.gg/A9w7fKE"
target="_blank"
rel="noopener"
class="nav-icon"
>
<i class="fab fa-discord" aria-hidden="true"></i>
<span class="sr-only">Join our Discord server</span>
</a>
<a
href="https://matrix.to/#/#stardustxr:matrix.org"
target="_blank"
rel="noopener"
class="nav-text matrix-link"
>
<span aria-label="Join our Matrix space">[matrix]</span>
</a>
<a
href="https://bsky.app/profile/stardustxr.org"
target="_blank"
rel="noopener"
class="nav-icon"
>
<i class="fa-brands fa-bluesky" aria-hidden="true"></i>
<span class="sr-only">Follow us on Bluesky</span>
</a>
<a
href="https://twitter.com/stardustxr"
target="_blank"
rel="noopener"
class="nav-icon"
>
<i class="fab fa-twitter" aria-hidden="true"></i>
<span class="sr-only">Follow us on Twitter</span>
</a>
<a
href="https://github.com/StardustXR"
target="_blank"
rel="noopener"
class="nav-icon"
>
<i class="fab fa-github" aria-hidden="true"></i>
<span class="sr-only">View our GitHub repositories</span>
</a>
<a
href="https://github.com/sponsors/technobaboo"
target="_blank"
rel="noopener"
class="nav-icon sponsor-link"
>
<i class="fas fa-heart" aria-hidden="true"></i>
<span class="sr-only">Sponsor Stardust XR development</span>
</a>
</div>
</nav>
</div>
</header>
<main>
<section class="hero">
<h2>Welcome to Stardust XR</h2>
<p class="lead">
Experience the next generation of XR computing. Build immersive
experiences that transcend reality.
</p>
<div class="cta-buttons">
<a href="docs/index.html" class="cta-primary">Get Started</a>
<a href="https://github.com/StardustXR" class="cta-secondary"
>View on GitHub</a
>
</div>
</section>
</main>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>Community</h3>
<ul>
<li>
<a
href="https://discord.gg/A9w7fKE"
target="_blank"
rel="noopener"
>Discord</a
>
</li>
<li>
<a
href="https://matrix.to/#/#stardustxr:matrix.org"
target="_blank"
rel="noopener"
>Matrix</a
>
</li>
<li>
<a
href="https://bsky.app/profile/stardustxr.org"
target="_blank"
rel="noopener"
>Bluesky</a
>
</li>
<li>
<a
href="https://twitter.com/stardustxr"
target="_blank"
rel="noopener"
>Twitter</a
>
</li>
<li>
<a
href="https://github.com/StardustXR"
target="_blank"
rel="noopener"
>GitHub</a
>
</li>
<li>
<a
href="https://github.com/sponsors/technobaboo"
target="_blank"
rel="noopener"
>Sponsor This</a
>
</li>
</ul>
</div>
</div>
</footer>
</body>
</html> </html>

254
style.css
View File

@@ -1,36 +1,240 @@
:root {
--primary: #ffe44d;
--background: #13111a;
--background-light: #1a1725;
--text: #ffffff;
--text-muted: #a094c7;
--accent: #6b4595;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body { body {
margin: 0; margin: 0;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
line-height: 1.6; background: var(--background);
background: #fdfdfd; color: var(--text);
color: #333; line-height: 1.6;
} }
/* Header */
header { header {
background: #222; background: var(--background-light);
color: #fff; padding: 1rem 2rem;
text-align: center;
padding: 1rem 0.5rem;
} }
header nav a {
color: #ffd400; .header-content {
margin: 0 0.5rem; max-width: 1200px;
text-decoration: none; margin: 0 auto;
display: flex;
align-items: center;
gap: 2rem;
} }
header nav a:hover {
text-decoration: underline; .logo-container {
display: flex;
align-items: center;
gap: 1rem;
} }
.logo {
width: 40px;
height: 40px;
}
.logo-container h1 {
margin: 0;
font-size: 1.5rem;
}
.tagline {
color: var(--primary);
font-style: italic;
font-size: 1rem;
}
/* Navigation */
nav {
margin-left: auto;
}
.nav-right {
display: flex;
align-items: center;
gap: 1.5rem;
}
.nav-icon {
color: var(--text);
text-decoration: none;
font-size: 1.5rem;
transition: color 0.2s ease;
}
.nav-icon:hover {
color: var(--primary);
}
.nav-text {
color: var(--text);
text-decoration: none;
font-size: 1.1rem;
}
.matrix-link {
font-weight: bold;
}
.sponsor-link {
color: var(--primary) !important;
}
.sponsor-link:hover {
color: #ff6b6b !important;
}
/* Main content */
main { main {
max-width: 800px; max-width: 1200px;
margin: auto; margin: 0 auto;
padding: 1rem; padding: 4rem 2rem;
} }
.hero {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
color: var(--primary);
}
.lead {
font-size: 1.2rem;
margin-bottom: 2rem;
color: var(--text-muted);
}
.cta-buttons {
display: flex;
justify-content: center;
gap: 1rem;
}
.cta-primary,
.cta-secondary {
padding: 0.8rem 1.5rem;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: all 0.2s ease;
}
.cta-primary {
background: var(--primary);
color: var(--background);
}
.cta-primary:hover {
background: #ffe44d;
}
.cta-secondary {
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
}
.cta-secondary:hover {
background: rgba(255, 215, 0, 0.1);
}
/* Footer */
footer { footer {
text-align: center; background: var(--background-light);
padding: 1rem; padding: 3rem 2rem 1rem;
color: #666; margin-top: 4rem;
} }
pre {
background: #f4f4f4; .footer-content {
padding: 0.5rem; max-width: 1200px;
overflow-x: auto; margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-section h3 {
color: var(--primary);
margin-bottom: 1rem;
}
.footer-section ul {
list-style: none;
}
.footer-section li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: var(--text-muted);
text-decoration: none;
transition: color 0.2s ease;
}
.footer-section a:hover {
color: var(--text);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
margin-top: 2rem;
border-top: 1px solid var(--accent);
color: var(--text-muted);
}
/* Responsive */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 1rem;
text-align: center;
}
nav {
margin: 0;
}
.nav-right {
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
main {
padding: 2rem 1rem;
}
.hero h2 {
font-size: 2rem;
}
.cta-buttons {
flex-direction: column;
align-items: stretch;
}
.cta-primary,
.cta-secondary {
text-align: center;
}
} }