135 lines
2.4 KiB
CSS
135 lines
2.4 KiB
CSS
body, html {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Arial, sans-serif;
|
|
height: 100%;
|
|
background-color: #111;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.login-box {
|
|
background-color: #111;
|
|
border: 2px solid #5865F2;
|
|
border-radius: 8px;
|
|
padding: 40px;
|
|
box-shadow: 4px 4px #5865F2;
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
}
|
|
|
|
.logo {
|
|
width: 150px;
|
|
height: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.title {
|
|
color: #ffffff;
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #b9bbbe;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.discord-btn {
|
|
background-color: #5865F2;
|
|
border: 2px solid #5865F2;
|
|
color: #ffffff;
|
|
padding: 12px 20px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.discord-btn:hover {
|
|
background-color: #4752C4;
|
|
border-color: #4752C4;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.discord-btn:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.discord-btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 5px;
|
|
height: 5px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
opacity: 0;
|
|
border-radius: 100%;
|
|
transform: scale(1, 1) translate(-50%);
|
|
transform-origin: 50% 50%;
|
|
}
|
|
|
|
@keyframes ripple {
|
|
0% {
|
|
transform: scale(0, 0);
|
|
opacity: 1;
|
|
}
|
|
20% {
|
|
transform: scale(25, 25);
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
transform: scale(40, 40);
|
|
}
|
|
}
|
|
|
|
.discord-btn:focus:not(:active)::after {
|
|
animation: ripple 1s ease-out;
|
|
}
|
|
|
|
.discord-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-right: 8px;
|
|
fill: currentColor;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.discord-btn {
|
|
font-size: 14px;
|
|
padding: 10px 16px;
|
|
}
|
|
|
|
.discord-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 6px;
|
|
}
|
|
} |