84 lines
1.8 KiB
CSS
84 lines
1.8 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--font-dm: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
|
|
}
|
|
|
|
@layer base {
|
|
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: #070b14;
|
|
color: #e2e8f0;
|
|
font-family: var(--font-dm), 'DM Sans', ui-sans-serif, system-ui, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Inputs e selects sempre com texto escuro, independente do tema do body */
|
|
input, textarea, select, option {
|
|
color: #111b21;
|
|
}
|
|
|
|
/* Premium scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 999px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
/* Selection */
|
|
::selection {
|
|
background: rgba(59, 130, 246, 0.3);
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
/* Glassmorphism */
|
|
.glass {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
.glass-elevated {
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(24px);
|
|
}
|
|
|
|
/* Shimmer line */
|
|
.shimmer-line {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.shimmer-line::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
|
|
animation: shimmer 3s linear infinite;
|
|
}
|
|
}
|