PopcornPing / frontend /src /index.css
Yash Goyal
Correction
2070fe3
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #0a0a0f;
color: white;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
/* --- Glassy Scrollbar Effect --- */
::-webkit-scrollbar {
width: 12px; /* Slightly wider to show the glass effect */
}
::-webkit-scrollbar-track {
background: transparent; /* Clear background */
}
::-webkit-scrollbar-thumb {
/* Glassy look: Low opacity white + subtle border */
background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 100vh; /* Pill shape */
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
/* Light catches the glass on hover */
background-color: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
}