forked from sites/simonis.lol
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
eb7868e77e | |||
ecbe3c2b5c |
3
Dockerfile.dev
Normal file
3
Dockerfile.dev
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
|
||||||
|
CMD ["nginx", "-g", "daemon off;"]
|
12
compose.yml
Normal file
12
compose.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: simonis.lol
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.dev
|
||||||
|
restart: none
|
||||||
|
ports:
|
||||||
|
- '8080:80'
|
||||||
|
volumes:
|
||||||
|
- './src:/usr/share/nginx/html'
|
||||||
|
|
100
src/index.html
100
src/index.html
@ -1,47 +1,59 @@
|
|||||||
<!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">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>⚠️</title>
|
<title>⚠️</title>
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
background: radial-gradient(circle at center, #fff 0%, #f8f8f8 75%, #ebebeb 100%);
|
background: radial-gradient(circle at center, #fff 0%, #f8f8f8 75%, #ebebeb 100%);
|
||||||
color: #222;
|
color: #222;
|
||||||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
|
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2.5rem;
|
font-size: 2.5rem;
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
h1::after {
|
h1::after {
|
||||||
content: "";
|
content: "";
|
||||||
background-color: #ffe800;
|
display: block;
|
||||||
background: repeating-linear-gradient(45deg, #ffe800, #ffe800 0.5rem, #222 0.5rem, #222 1.0rem);
|
height: 0.5rem;
|
||||||
display: block;
|
margin-top: 1rem;
|
||||||
height: 0.5rem;
|
background: repeating-linear-gradient(
|
||||||
margin-top: 1rem;
|
45deg,
|
||||||
}
|
#ff8c00, /* Orange */
|
||||||
</style>
|
#ff8c00 1rem,
|
||||||
</head>
|
#222 1rem,
|
||||||
<body>
|
#222 2rem
|
||||||
<main>
|
);
|
||||||
<h1>Our website is under construction.</h1>
|
background-size: 300% 100%; /* Makes animation smooth */
|
||||||
</main>
|
animation: moveStripes 3s linear infinite;
|
||||||
</body>
|
}
|
||||||
|
|
||||||
|
@keyframes moveStripes {
|
||||||
|
0% { background-position: 0 0; }
|
||||||
|
100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<h1>Our website is under construction.</h1>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user