music: wip music page
This commit is contained in:
parent
17e4d93a97
commit
a1921bf27e
2 changed files with 32 additions and 7 deletions
|
|
@ -240,6 +240,14 @@ body {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
animation: marquee 8s linear infinite;
|
animation: marquee 8s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cute-container {
|
||||||
|
background-image: url(assets/images/tiledbgpink.webp);
|
||||||
|
width: 70svw;
|
||||||
|
height: 70svh;
|
||||||
|
border: 5px solid var(--darker-pink);
|
||||||
|
padding: 1rem 2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* CRT Effect */
|
/* CRT Effect */
|
||||||
|
|
@ -623,23 +631,40 @@ home-content {
|
||||||
|
|
||||||
/* Music */
|
/* Music */
|
||||||
music {
|
music {
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
video-bg {
|
video-bg {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 100lvh;
|
height: 100%;
|
||||||
width: 100lvw;
|
width: 100%;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
|
|
||||||
video {
|
video {
|
||||||
height: 100lvh;
|
height: 100%;
|
||||||
width: 100lvw;
|
width: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
box {
|
box {
|
||||||
|
border-radius: 0.4rem;
|
||||||
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
>cute-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
</video>
|
</video>
|
||||||
</video-bg>
|
</video-bg>
|
||||||
|
|
||||||
<box>
|
<cute-container>
|
||||||
<p>Salut</p>
|
<img src="/static/assets/gifs/music.gif" alt="Animated text 'Music'" />
|
||||||
</box>
|
</cute-container>
|
||||||
</music>
|
</music>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue