OpChan/src/index.css

170 lines
3.4 KiB
CSS
Raw Normal View History

2025-04-24 17:35:31 +05:30
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
2025-04-15 16:28:03 +05:30
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
2025-08-30 18:34:50 +05:30
--background: 226 20% 12%;
--foreground: 0 0% 95%;
2025-04-15 16:28:03 +05:30
2025-08-30 18:34:50 +05:30
--card: 226 20% 12%;
2025-04-15 16:28:03 +05:30
--card-foreground: 0 0% 94%;
--popover: 226 20% 18%;
--popover-foreground: 0 0% 94%;
2025-08-30 18:34:50 +05:30
--primary: 195 82% 42%;
2025-04-15 16:28:03 +05:30
--primary-foreground: 0 0% 98%;
2025-08-30 18:34:50 +05:30
--secondary: 226 20% 18%;
2025-04-15 16:28:03 +05:30
--secondary-foreground: 0 0% 94%;
2025-08-30 18:34:50 +05:30
--muted: 226 13% 27%;
--muted-foreground: 225 6% 57%;
2025-04-15 16:28:03 +05:30
2025-08-30 18:34:50 +05:30
--accent: 195 82% 42%;
2025-04-15 16:28:03 +05:30
--accent-foreground: 0 0% 98%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 98%;
2025-08-30 18:34:50 +05:30
--border: 226 13% 27%;
2025-04-15 16:28:03 +05:30
--input: 226 13% 27%;
--ring: 195 82% 42%;
2025-08-30 18:34:50 +05:30
--radius: 0.25rem;
2025-04-15 16:28:03 +05:30
--sidebar-background: 226 20% 14%;
--sidebar-foreground: 0 0% 94%;
--sidebar-primary: 195 82% 42%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 226 20% 18%;
--sidebar-accent-foreground: 0 0% 94%;
--sidebar-border: 226 13% 27%;
--sidebar-ring: 195 82% 42%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-mono;
2025-08-30 18:34:50 +05:30
font-family:
'IBM Plex Mono',
'Inter',
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
2025-04-15 16:28:03 +05:30
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: hsl(var(--secondary));
}
::-webkit-scrollbar-thumb {
background: hsl(var(--muted));
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground));
}
.text-glow {
text-shadow: 0 0 8px rgba(15, 160, 206, 0.5);
}
*:focus-visible {
@apply outline-none ring-2 ring-primary/70 ring-offset-1 ring-offset-background;
}
2025-08-30 18:34:50 +05:30
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea {
2025-04-15 16:28:03 +05:30
@apply font-mono;
}
2025-08-30 18:34:50 +05:30
2025-04-15 16:28:03 +05:30
.btn {
@apply inline-flex items-center justify-center rounded-sm px-4 py-2 text-sm font-medium transition-colors focus-visible:outline-none disabled:opacity-50;
}
}
@layer components {
.thread-card {
@apply border border-cyber-muted bg-cyber-dark hover:bg-cyber-muted/20 transition-colors rounded-sm p-4 mb-4;
}
2025-08-30 18:34:50 +05:30
2025-04-15 16:28:03 +05:30
.board-card {
2025-04-24 17:35:31 +05:30
@apply border border-cyber-muted bg-cyber-dark hover:bg-cyber-muted/20 transition-colors rounded-sm p-3 mb-3;
2025-04-15 16:28:03 +05:30
}
2025-08-30 18:34:50 +05:30
2025-04-15 16:28:03 +05:30
.comment-card {
2025-04-24 17:35:31 +05:30
@apply border-l-2 border-muted pl-3 py-2 my-2 hover:border-primary transition-colors;
2025-04-15 16:28:03 +05:30
}
}
@keyframes cyber-flicker {
2025-08-30 18:34:50 +05:30
0%,
100% {
opacity: 1;
filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.8));
}
2025-08-30 18:34:50 +05:30
8%,
10% {
opacity: 0.8;
filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.8));
}
2025-08-30 18:34:50 +05:30
20%,
25% {
opacity: 1;
filter: drop-shadow(0 0 1px rgba(0, 255, 255, 0.5));
}
30% {
opacity: 0.6;
filter: drop-shadow(0 0 8px rgba(0, 255, 255, 1));
}
2025-08-30 18:34:50 +05:30
40%,
45% {
opacity: 1;
filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.6));
}
2025-08-30 18:34:50 +05:30
50%,
55% {
opacity: 0.9;
filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.8));
}
2025-08-30 18:34:50 +05:30
60%,
100% {
opacity: 1;
filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.6));
}
}
.cyberpunk-glow {
animation: cyber-flicker 8s infinite;
will-change: filter, opacity;
}