init: initial commit

This commit is contained in:
Strix 2023-10-16 01:35:05 +02:00
commit 7cbff48066
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
4 changed files with 91 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.vscode

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM nginx
COPY public /usr/share/nginx/html

25
public/index.html Normal file
View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IXVD - Home</title>
<link rel="stylesheet" href="/obj/css/main.css">
</head>
<body>
<main>
<h1>IXVD</h1>
<p>Home of people that love software, games and developing!</p>
<div>
<h2>Links</h2>
<div id="links">
<a href="//pad.ixvd.net">IXVD's cryptpad</a>
<a href="//git.ixvd.net">IXVD's Git Server</a>
<a href="//s.ixvd.net">IXVD's status page</a>
</div>
</div>
<br/>
</main>
</body>
</html>

62
public/obj/css/main.css Normal file
View file

@ -0,0 +1,62 @@
* {
font-family: Arial, Helvetica, sans-serif;
}
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #f0f0f0;
}
main {
padding: 1rem 2rem;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #fff;
}
a {
color: #000;
transition: 0.5s all;
}
a:hover {
color: #333;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
}
main {
border-color: #333;
background-color: #333;
color: #fff;
}
a {
color: #0ff;
}
a:hover {
color: #0aa;
}
}
#links {
display: flex;
flex-direction: column;
}
#links a {
margin-bottom: 0.5rem;
}