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>
html, body {
height: 100%;
overflow: hidden;
}
body {
background-color: #fff;
@ -18,68 +17,43 @@
line-height: 1.5;
margin: 0;
display: flex;
justify-content: flex-start;
justify-content: center;
align-items: center;
height: 100vh;
position: relative;
padding-left: 10vw;
}
main {
padding: 1rem;
text-align: center;
position: absolute;
animation: moveText 5s infinite linear alternate;
}
h1 {
font-size: 2.5rem;
line-height: 1.1;
margin: 0;
position: relative;
display: inline-block;
animation: shakeText 0.2s infinite alternate ease-in-out;
}
.crazy-underline {
position: absolute;
width: 100%;
h1::after {
content: "";
display: block;
height: 0.5rem;
background: repeating-linear-gradient(45deg, #ffe800, #ffe800 0.5rem, #222 0.5rem, #222 1.0rem);
animation: moveUnderline 3s infinite linear, spinUnderline 1s infinite linear;
margin-top: 1rem;
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 {
0% { top: 10%; left: 5%; }
25% { top: 80%; left: 15%; }
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); }
@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>
<div class="crazy-underline"></div>
</main>
</body>
</html>