pages/global.css
2025-06-12 00:57:48 +02:00

77 lines
1.4 KiB
CSS

@font-face {
font-family: 'Hack';
src: url('/Fonts/Hack/Hack-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'JetBrainsMono';
src: url('/Fonts/JetBrainsMono/JetBrainsMono-Regular.woff2');
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
margin: 0;
font-size: 1rem;
background-color: #1e1e2e;
color: #cdd6f4;
overflow-x: hidden;
}
* {
font-family: 'Hack', 'JetBrainsMono', monospace;
}
a {
color: #fff;
}
a:hover, svg:hover {
color: #c099ff;
}
.cards {
background-color: #313244;
border: 2px solid #45475a;
padding: 20px;
border-radius: 10px;
width: 600px !important;
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;
}