Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wixoaGit committed Dec 30, 2024
0 parents commit 4c8e58b
Show file tree
Hide file tree
Showing 6 changed files with 177 additions and 0 deletions.
14 changes: 14 additions & 0 deletions assets/GitHub_Invertocat_Dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions assets/GitHub_Invertocat_Light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions assets/logo-big.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions assets/logo-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<picture>
<source media="(min-width: 1080px)" srcset="/assets/logo-big.svg" width="580px">
<source media="(min-width: 400px)" srcset="/assets/logo-big.svg" width="54%">
<source media="(max-width: 400px)" srcset="/assets/logo-small.svg" height="100px">
<img src="/assets/logo-big.svg" id="logo" alt="OpenDream logo">
</picture>
<br>
<p style="text-align: center">OpenDream is an open source recreation of the <a href="https://www.byond.com/">BYOND</a> game engine. Current major goals include running <a href="https://spacestation13.com/">Space Station 13</a> and improving the DM development experience.</p>
<div id="links">
<a href="https://www.github.com/OpenDreamProject/OpenDream/"><img id="link-GitHub" class="link-image" alt="OpenDream GitHub"></a>
</div>
</body>
</html>
52 changes: 52 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
:root {
color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
body {
background-color: #fafafa;
}

#link-GitHub {
content: url(/assets/GitHub_Invertocat_Dark.svg);
}
}

@media (prefers-color-scheme: dark) {
body {
background-color: #1b1b1b;
}

#link-GitHub {
content: url(/assets/GitHub_Invertocat_Light.svg);
}
}

#logo {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
}

#links {
display: flex;
justify-content: center;
align-items: center;
}

.link-image {
width: 64px;
}

a:link,a:visited {
text-decoration: none;
}

a:visited {
color: LinkText;
}

a:hover {
text-decoration: underline;
}

0 comments on commit 4c8e58b

Please sign in to comment.