Spaces:
Sleeping
Sleeping
File size: 916 Bytes
4bc8463 9dfccd9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | /* highlight.js theme — must be before @tailwind directives */
@import 'highlight.js/styles/github.css';
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--color-brand: theme('colors.brand.DEFAULT');
}
/* Smooth skeleton pulse */
@keyframes skeleton-shimmer {
0% { opacity: 0.6; }
50% { opacity: 1; }
100% { opacity: 0.6; }
}
.skeleton {
animation: skeleton-shimmer 1.8s ease-in-out infinite;
@apply rounded bg-surface-subtle dark:bg-stone-800;
}
/* Code block copy button */
.code-block-wrapper {
@apply relative;
}
.code-block-wrapper .copy-btn {
@apply absolute right-2 top-2 hidden rounded px-2 py-1 text-xs
bg-stone-700 text-white opacity-70 hover:opacity-100;
}
.code-block-wrapper:hover .copy-btn {
@apply block;
}
}
@layer utilities {
.scrollbar-thin {
scrollbar-width: thin;
}
}
|