yuki / src /modules /homepage /HomePage.css
OhMyDitzzy
anything
6c75f16
.homepage {
position: relative;
overflow: hidden;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #f5f5f5;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.homepage::before {
content: "";
position: absolute;
width: 500px;
height: 500px;
background: radial-gradient(
circle at top left,
#fdbb58,
#ff8fab,
transparent 70%
);
top: -150px;
left: -150px;
filter: blur(60px);
opacity: 0.6;
}
.homepage::after {
content: "";
position: absolute;
width: 400px;
height: 400px;
background: radial-gradient(
circle at bottom right,
#7dd3fc,
#c084fc,
transparent 70%
);
bottom: -120px;
right: -120px;
filter: blur(60px);
opacity: 0.6;
}
.card {
background: white;
border: 1px solid black;
box-shadow: 4px 4px 0 black;
border-radius: 5px;
padding: 40px;
max-width: 400px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
position: relative;
z-index: 1;
}
.profile-section {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
text-align: center;
}
.profile-image {
width: 120px;
height: 120px;
border-radius: 50%;
border: 2px solid black;
object-fit: cover;
}
.profile-name {
font-size: 24px;
font-weight: 700;
color: #333;
}
.profile-description {
font-size: 16px;
color: #666;
line-height: 1.5;
}
.version-badge {
background: #e8e8e8;
border: 1px solid black;
border-radius: 5px;
padding: 8px 16px;
font-size: 14px;
font-weight: 600;
}
.version-badge span {
color: #333;
}
.chat-button {
background: #fdbb58;
border-radius: 5px;
border: 1px solid black;
box-shadow: 4px 4px 0 black;
padding: 10px 30px;
cursor: pointer;
font-weight: 600;
font-size: 16px;
transition: all 0.1s ease;
-webkit-tap-highlight-color: transparent;
width: 100%;
max-width: 250px;
}
.chat-button:hover {
transform: translateY(-2px);
}
.chat-button:active {
box-shadow: 0px 0px 0 black;
border: 2px solid black;
transform: translateY(2px);
}
@media (max-width: 480px) {
.card {
padding: 30px 20px;
}
.profile-image {
width: 100px;
height: 100px;
}
.profile-name {
font-size: 20px;
}
.profile-description {
font-size: 14px;
}
}