mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-05 22:10:31 +02:00
Update global.css
This commit is contained in:
parent
82f9ecffd5
commit
ad5afe2cf5
1 changed files with 36 additions and 5 deletions
41
global.css
41
global.css
|
@ -16,8 +16,8 @@ body {
|
|||
min-height: 100vh;
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
background-color: #2a2a2a;
|
||||
color: #f0f0f0;
|
||||
background-color: #1e1e2e;
|
||||
color: #cdd6f4;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
@ -33,14 +33,45 @@ a:hover, svg:hover {
|
|||
color: #c099ff;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #252525;
|
||||
.cards {
|
||||
background-color: #313244;
|
||||
border: 2px solid #45475a;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
width: 600px !important;
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
transition: border 0.1s;
|
||||
}
|
||||
|
||||
.cards:hover {
|
||||
border: 2px solid #585b70;
|
||||
}
|
||||
|
||||
.shadow {
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue