This commit is contained in:
Strix 2024-05-01 21:24:25 +02:00
commit dd41675a2f
5 changed files with 250 additions and 0 deletions

18
.woodpecker.yml Normal file
View file

@ -0,0 +1,18 @@
when:
- event: push
- event: tag
- event: manual
steps:
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.ixvd.net/${CI_REPO_OWNER}/web
registry: git.ixvd.net
tags: latest
logins:
- registry: https://git.ixvd.net
username:
from_secret: docker_username
password:
from_secret: docker_password

3
Dockerfile Normal file
View file

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

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# Goodbye.
Thanks, this was fun.

25
public/index.html Normal file
View file

@ -0,0 +1,25 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IXVD.</title>
<meta name="description" content="This is goodbye.">
<meta name="author" content="IXVD Team">
<meta name="theme-color" content="#0aa">
<script src="./pub/name.js" defer></script>
<link rel="stylesheet" href="./pub/page.css">
</head>
<body>
<main>
<section>
<h2>Goodbye.</h2>
<div class="space"></div>
<span>I've had a lot of fun running this project, thanks to the people that stuck around.</span>
<span>If you still need something, send a mail to <a href="mailto:usofrmqoy@mozmail.com">usofrmqoy@mozmail.com</a>.</span>
</section>
</main>
</body>
</html>

201
public/pub/page.css Normal file
View file

@ -0,0 +1,201 @@
:root {
font-family: 'Open Sans', sans-serif;
--mono-fonts: 'Jetbrains Mono', 'Courier New', Courier, monospace;
--theme: #0aa;
--theme-100: #088;
--theme-alt: #a0a;
--fg: #000;
--fg-alt: #fff;
--bg: #fff;
--bg-100: #eee;
--bg-200: #ddd;
--bg-300: #ccc;
--bg-400: #bbb;
color: var(--fg);
}
@media (prefers-color-scheme: dark) {
:root {
--fg: #fff;
--bg: #222;
--bg-100: #333;
--bg-200: #444;
--bg-300: #555;
--bg-400: #666;
}
}
body {
margin: 0;
background-color: var(--bg);
width: 100%;
}
nav {
padding: 1em 1em;
display: flex;
justify-content: space-between;
border-top: 5px solid var(--theme);
}
main {
display: flex;
flex-direction: column;
width: 100%;
gap: 1em;
margin-bottom: 4em;
}
footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: .25em .5em;
background-color: #111;
color: #666;
border-top: 2px solid var(--theme-100);
}
a {
color: var(--theme);
transition: color .3s ease-in-out;
&:hover {
color: var(--fg);
}
&.alt {
color: var(--fg);
&:hover {
color: var(--theme);
}
}
}
button,
.button {
outline: none;
border: none;
width: fit-content;
text-decoration: none;
font-weight: 700;
background-color: var(--theme);
color: var(--fg-alt);
font-family: var(--mono-fonts);
text-transform: uppercase;
text-rendering: optimizeLegibility;
border-radius: 5px;
margin: .2em;
padding: 10px 20px;
transition: background-color .3s ease-in-out;
cursor: pointer;
border: 1px solid var(--fg-alt);
&:hover {
background-color: var(--theme-100);
}
&.alt {
border: 2px solid var(--fg-alt);
color: var(--fg-alt);
background-color: var(--theme-alt);
&:hover {
color: var(--bg-400);
background-color: var(--fg-alt);
}
}
}
section {
padding: 2em;
background-color: var(--bg-100);
display: flex;
flex-direction: column;
.tag {
width: fit-content;
background-color: var(--theme);
color: var(--fg-alt);
padding: 3px 8px;
border-radius: 7px;
margin-bottom: 1rem;
margin-right: 1em;
text-transform: uppercase;
text-rendering: optimizeLegibility;
&.alt {
background-color: var(--theme-alt);
}
&.full {
width: 100%;
}
}
&.board {
background-color: var(--theme);
color: var(--fg-alt);
&.glare {
background: linear-gradient(40deg, #a3c, #e2a, #d3c, #a3c);
}
}
}
.landscape {
display: flex;
flex-direction: row;
width: fit-content;
margin: .5em 0;
&.border {
border: 2px solid var(--bg-200);
border-radius: 7px;
padding: 5px;
}
}
div.card {
display: flex;
flex-direction: column;
height: fit-content;
width: fit-content;
margin: 1em;
padding: 1em 1.5em;
border-radius: 7px;
background-color: var(--bg-200);
&.wide {
width: 100%;
}
&.tall {
height: 100%;
}
}
.mono {
font-family: var(--mono-fonts);
}
.uppercase {
text-transform: uppercase;
}
[hidden] {
display: none;
}
div.space { height: 1em; }
h1, h2, h3, h4, h5, h6 { margin: 0; }