waifuism.life
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waifuism/styles.css

47 lines
763 B

7 months ago
body, html {
7 months ago
height: 100%;
margin: 0;
overflow: hidden;
}
#main{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
7 months ago
body {
7 months ago
display: flex;
justify-content: center;
align-items: center;
}
.logo img {
transition: transform 0.5s ease-in-out;
7 months ago
}
7 months ago
#text {
opacity: 0;
transition: opacity 0.5s ease-in-out;
display: flex;
justify-content: center;
align-items: center;
width: 50vw;
7 months ago
}
7 months ago
#main:hover .logo img {
7 months ago
transform: scale(1.5) rotate(360deg);
7 months ago
}
#main:hover #text {
opacity: 1;
}
body, html{
font-family: CustomFont, sans-serif; /* Use the custom font as the fallback */
}
@font-face {
font-family: CustomFont;
7 months ago
src: url('static/fonts/c1-kenangan.regular.otf') format('truetype');