globals.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. @import "tailwindcss";
  2. @plugin '../hero.ts';
  3. @source '../node_modules/@heroui/theme/dist/**/*.{js,ts,jsx,tsx}';
  4. @custom-variant dark (&:is(.dark *));
  5. @theme {
  6. --font-sans: "font", sans-serif;
  7. --font-mono: "monospace", monospace;
  8. --color-midnight: #eef0f7;
  9. --color-knight: #2a2f35;
  10. --color-darkBg: #0f1217;
  11. --color-cardBlue: #8cc9fe;
  12. --color-cardGreen: #63ccae;
  13. --color-cardPink: #ffbfd1;
  14. --color-cardYellow: #ffdf9a;
  15. --font-oleo: var(--font-oleo);
  16. --animate-fade: fade 1s ease-in-out;
  17. }
  18. @keyframes fade {
  19. 0% { opacity: 0; }
  20. 100% { opacity: 1; }
  21. }
  22. /* react-grid-layout styles */
  23. .react-grid-item.react-grid-placeholder {
  24. background: gray;
  25. transition-duration: 300ms;
  26. border-radius: 1.5rem;
  27. z-index: 0;
  28. }
  29. .react-grid-item {
  30. transition-duration: 400ms;
  31. }
  32. /* Hide grid and disable item transitions until layout settles with correct width */
  33. .layout-initializing {
  34. opacity: 0;
  35. }
  36. .layout-initializing .react-grid-item {
  37. transition: none !important;
  38. }
  39. /* Fade in smoothly once layout is correct */
  40. .layout-settled {
  41. animation: fade 0.4s ease-out;
  42. }
  43. .react-grid-item > .react-resizable-handle {
  44. display: none;
  45. }
  46. /* Mapbox */
  47. .mapboxgl-control-container {
  48. display: none !important;
  49. }
  50. /* Notion styles */
  51. .medium-zoom-image {
  52. border-radius: 2rem;
  53. }
  54. .notion-code {
  55. border-radius: 1rem;
  56. }
  57. .notion-code-copy-button {
  58. display: none;
  59. }
  60. iframe.notion-asset-object-fit {
  61. background-color: transparent;
  62. border-radius: 1rem;
  63. }
  64. .video-stream html5-main-video {
  65. border-radius: 1rem;
  66. background-color: transparent;
  67. }
  68. .notion-yt-lite {
  69. border-radius: 1rem;
  70. background-color: transparent;
  71. }