Update global.css

This commit is contained in:
zyqunix 2025-06-12 00:57:48 +02:00 committed by GitHub
parent 82f9ecffd5
commit ad5afe2cf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,8 +16,8 @@ body {
min-height: 100vh; min-height: 100vh;
margin: 0; margin: 0;
font-size: 1rem; font-size: 1rem;
background-color: #2a2a2a; background-color: #1e1e2e;
color: #f0f0f0; color: #cdd6f4;
overflow-x: hidden; overflow-x: hidden;
} }
@ -33,14 +33,45 @@ a:hover, svg:hover {
color: #c099ff; color: #c099ff;
} }
.card { .cards {
background-color: #252525; background-color: #313244;
border: 2px solid #45475a;
padding: 20px; padding: 20px;
border-radius: 10px; border-radius: 10px;
width: 600px !important; width: 600px !important;
text-align: center; text-align: left;
transition: border 0.1s;
}
.cards:hover {
border: 2px solid #585b70;
} }
.shadow { .shadow {
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
} }
.tooltip {
display: flex;
justify-content: center;
position: relative;
}
.tooltip::after {
content: attr(data-tooltip);
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 125%;
background-color: #1e1e2e;
border: 1px solid #6c7086;
color: #cdd6f4;
padding: 5px 10px;
border-radius: 5px;
font-size: 14px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
cursor: default;
}