Compare commits

..

2 Commits
main ... main

Author SHA1 Message Date
eb7868e77e
add dev dockerfile 2025-02-21 11:24:46 +01:00
ecbe3c2b5c
add fancy ahh animation 2025-02-17 12:36:55 +01:00
3 changed files with 70 additions and 81 deletions

3
Dockerfile.dev Normal file
View File

@ -0,0 +1,3 @@
FROM nginx:latest
CMD ["nginx", "-g", "daemon off;"]

12
compose.yml Normal file
View 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'

View File

@ -7,7 +7,6 @@
<style> <style>
html, body { html, body {
height: 100%; height: 100%;
overflow: hidden;
} }
body { body {
background-color: #fff; background-color: #fff;
@ -18,68 +17,43 @@
line-height: 1.5; line-height: 1.5;
margin: 0; margin: 0;
display: flex; display: flex;
justify-content: flex-start; justify-content: center;
align-items: center; align-items: center;
height: 100vh;
position: relative;
padding-left: 10vw;
} }
main { main {
padding: 1rem; padding: 1rem;
text-align: center; text-align: center;
position: absolute;
animation: moveText 5s infinite linear alternate;
} }
h1 { h1 {
font-size: 2.5rem; font-size: 2.5rem;
line-height: 1.1; line-height: 1.1;
margin: 0; margin: 0;
position: relative;
display: inline-block;
animation: shakeText 0.2s infinite alternate ease-in-out;
} }
.crazy-underline { h1::after {
position: absolute; content: "";
width: 100%; display: block;
height: 0.5rem; height: 0.5rem;
background: repeating-linear-gradient(45deg, #ffe800, #ffe800 0.5rem, #222 0.5rem, #222 1.0rem); margin-top: 1rem;
animation: moveUnderline 3s infinite linear, spinUnderline 1s infinite linear; background: repeating-linear-gradient(
45deg,
#ff8c00, /* Orange */
#ff8c00 1rem,
#222 1rem,
#222 2rem
);
background-size: 300% 100%; /* Makes animation smooth */
animation: moveStripes 3s linear infinite;
} }
@keyframes moveText { @keyframes moveStripes {
0% { top: 10%; left: 5%; } 0% { background-position: 0 0; }
25% { top: 80%; left: 15%; } 100% { background-position: -4rem 0; } /* Moves further to ensure smooth loop */
50% { top: 30%; left: 50%; }
75% { top: 90%; left: 30%; }
100% { top: 10%; left: 5%; }
}
@keyframes shakeText {
0% { transform: translateX(0) rotate(0deg); }
25% { transform: translateX(-3px) rotate(-2deg); }
50% { transform: translateX(3px) rotate(2deg); }
75% { transform: translateX(-2px) rotate(-1deg); }
100% { transform: translateX(2px) rotate(1deg); }
}
@keyframes moveUnderline {
0% { top: 0%; left: 5%; }
25% { top: 80%; left: 10%; }
50% { top: 30%; left: 45%; }
75% { top: 90%; left: 25%; }
100% { top: 10%; left: 5%; }
}
@keyframes spinUnderline {
0% { transform: rotate(0deg); }
100% { transform: rotate(720deg); }
} }
</style> </style>
</head> </head>
<body> <body>
<main> <main>
<h1>Our website is under construction.</h1> <h1>Our website is under construction.</h1>
<div class="crazy-underline"></div>
</main> </main>
</body> </body>
</html> </html>