@import url("reset.css"); :root { --border-radius: 10px; } html, body { padding: 0; margin: 0; min-height: 100vh; min-height: -webkit-fill-available; height: 100%; } video { width: 100%; height: auto; } main { max-width: 60em; margin: 0 auto; padding-left: 4em; padding-right: 4em; padding-top: 3em; padding-bottom: 3em; font-family: "Recursive"; font-variation-settings: "MONO" 1; font-variation-settings: "CASL" 1; color: #24292e; } h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5em; } header { margin-bottom: 1em; font-size: 1.5rem; font-variation-settings: "MONO" 1; font-variation-settings: "CASL" 1; } .main-nav { margin-bottom: 2em; display: flex; gap: 2em; align-items: center; } .nav-link { color: #0366d6; text-decoration: none; font-weight: 500; padding: 0.5em 1em; border-radius: 6px; transition: all 0.2s ease; border: 1px solid transparent; } .nav-link:hover { background-color: #f6f8fa; border-color: #e1e4e8; text-decoration: none; } i { font-variation-settings: "slnt" -15; } pre>code { width: 100%; padding: 1em; display: block; white-space: pre-wrap; word-wrap: break-word; } code { background-color: #e4e9ee; width: 100%; color: #38424c; padding: 0.2em 0.4em; border-radius: 4px; } b, strong { font-variation-settings: "wght" 600; } blockquote { margin: -1em; padding: 1em; background-color: #f1f1f1; margin-top: 1em; margin-bottom: 1em; border-radius: 4px; & p { font-variation-settings: "CASL" 1; margin: 0; } } p { font-family: Recursive; margin-top: 0; margin-bottom: 1.5em; font-size: 1.1em; font-variation-settings: "wght" 350; } table { width: 100%; border-collapse: collapse; text-align: left; margin-bottom: 1em; font-variation-settings: "mono" 1; font-variation-settings: "casl" 0; th, td { padding: 0.5em; border: 1px solid #ddd; } th { background-color: #f4f4f4; font-weight: bold; } tr:nth-child(even) { background-color: #f9f9f9; } } a { font-variation-settings: "CASL" 0; &:hover { animation: casl-forward 0.2s ease forwards; } &:not(:hover) { /* text-decoration: none; */ animation: casl-reverse 0.2s ease backwards; } } @keyframes casl-forward { from { font-variation-settings: "CASL" 0, "wght" 400; } to { font-variation-settings: "CASL" 1, "wght" 600; } } @keyframes casl-reverse { from { font-variation-settings: "CASL" 1, "wght" 600; } to { font-variation-settings: "CASL" 0, "wght" 400; } } p a { text-decoration: underline; } .dinkus { display: block; text-align: center; font-size: 1.1rem; margin-top: 2em; margin-bottom: 0em; } ol, ul { padding-left: 0; margin-top: 0; font-size: 1rem; & li::marker { color: rgba(0, 0, 0, 0.322); } } img { display: block; margin: 0 auto; } @media (max-width: 600px) { main { padding: 2em; } header { margin-bottom: 1em; } ol { list-style-position: inside; } } /* Some conditional spacing */ table:not(:has(+ p)) { margin-bottom: 2em; } p:has(+ ul) { margin-bottom: 0.5em; } p:has(+ ol) { margin-bottom: 0.5em; } .loading { font-family: "Recursive"; font-variation-settings: "CASL" 1; font-size: 1rem; text-align: center; position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); background-color: #f1f1f1; border: 1px solid #c0c9d1; padding: 0.5em; border-radius: 4px; } /* CANVAS SHENANIGANS */ #toggle-physics, #toggle-canvas { position: fixed; z-index: 999; right: 10px; width: 2.5rem; height: 2.5rem; background: none; border: none; cursor: pointer; opacity: 0.25; &:hover { opacity: 1; } & img { width: 100%; height: 100%; } } #toggle-canvas { top: 10px; } #toggle-physics { top: 60px; display: none; } .tl-html-layer { font-family: "Recursive"; font-variation-settings: "MONO" 1; font-variation-settings: "CASL" 1; & h1, p, span, header, ul, ol { margin: 0; } & header { font-size: 1.5rem; } & p { font-size: 1.1rem; } /* Markdown preview styles */ & h1 { font-size: 2em; margin: 0.67em 0; } & h2 { font-size: 1.5em; margin: 0.75em 0; } & h3 { font-size: 1.17em; margin: 0.83em 0; } & h4 { margin: 1.12em 0; } & h5 { font-size: 0.83em; margin: 1.5em 0; } & h6 { font-size: 0.75em; margin: 1.67em 0; } & ul, & ol { padding-left: 2em; margin: 1em 0; } & p { margin: 1em 0; } & code { background-color: #f5f5f5; padding: 0.2em 0.4em; border-radius: 3px; font-family: monospace; } & pre { background-color: #f5f5f5; padding: 1em; border-radius: 4px; overflow-x: auto; } & blockquote { margin: 1em 0; padding-left: 1em; border-left: 4px solid #ddd; color: #666; } & table { border-collapse: collapse; margin: 1em 0; } & th, & td { border: 1px solid #ddd; padding: 6px 13px; } & tr:nth-child(2n) { background-color: #f8f8f8; } } .transparent { opacity: 0 !important; transition: opacity 0.25s ease-in-out; } .canvas-mode { overflow: hidden; & #toggle-physics { display: block; } } .tldraw__editor { overscroll-behavior: none; position: fixed; inset: 0px; overflow: hidden; touch-action: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; } /* Ensure scrollable elements handle wheel events on the element being hovered */ [style*="overflow-y: auto"], [style*="overflow-y: scroll"], [style*="overflow-x: auto"], [style*="overflow-x: scroll"], [style*="overflow: auto"], [style*="overflow: scroll"], .overflow-y-auto, .overflow-x-auto, .overflow-auto { overscroll-behavior: contain; } .tl-background { background-color: transparent; } .tlui-debug-panel { display: none; } .overflowing { box-shadow: 0 0px 16px rgba(0, 0, 0, 0.15); overflow: hidden; background-color: white; } .lock-indicator { position: absolute; width: 24px; height: 24px; background: white; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1000; transition: transform 0.2s ease; } .lock-indicator:hover { transform: scale(1.1) !important; background: #f0f0f0; } /* Presentations Page Styles */ .presentations-grid { display: grid; grid-template-columns: 1fr; gap: 3em; margin: 2em 0; } .presentation-card { border: 1px solid #e1e4e8; border-radius: 8px; padding: 1.5em; background-color: #fafbfc; transition: all 0.2s ease; } .presentation-card:hover { border-color: #0366d6; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .presentation-card h3 { margin-top: 0; margin-bottom: 0.5em; color: #24292e; font-size: 1.3rem; } .presentation-card p { margin-bottom: 1em; color: #586069; font-size: 1rem; } .presentation-embed { margin: 1.5em 0; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .presentation-embed iframe { display: block; border: none; background-color: #fff; } .presentation-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1em; padding-top: 1em; border-top: 1px solid #e1e4e8; font-size: 0.9rem; } .presentation-meta span { color: #586069; font-style: italic; } .presentation-meta a { color: #0366d6; text-decoration: none; font-weight: 500; } .presentation-meta a:hover { text-decoration: underline; } .presentations-info { margin-top: 3em; padding: 2em; background-color: #f6f8fa; border-radius: 8px; border-left: 4px solid #0366d6; } .presentations-info h3 { margin-top: 0; color: #24292e; } .presentations-info p { margin-bottom: 1em; color: #586069; } .presentations-info a { color: #0366d6; text-decoration: none; } .presentations-info a:hover { text-decoration: underline; } /* Responsive design for presentations */ @media (max-width: 768px) { .presentations-grid { gap: 2em; } .presentation-card { padding: 1em; } .presentation-meta { flex-direction: column; align-items: flex-start; gap: 0.5em; } .presentation-embed iframe { height: 400px; } } /* Resilience page styles */ .presentation-info { margin-bottom: 3rem; padding: 2rem; background-color: #f8f9fa; border-radius: 8px; border-left: 4px solid #0366d6; } .presentation-info h1 { margin-bottom: 1rem; color: #24292e; } .presentation-info p { margin-bottom: 1rem; line-height: 1.6; } .video-clips { margin-top: 3rem; } .video-clips h2 { margin-bottom: 2rem; color: #24292e; } .video-section { margin-bottom: 3rem; } .video-section h3 { margin-bottom: 1rem; color: #24292e; font-size: 1.2rem; } .video-container { position: relative; width: 100%; max-width: 560px; margin: 0 auto; } .video-container iframe { width: 100%; height: 315px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .presentation-embed h2 { margin-bottom: 1rem; color: #24292e; } .presentation-meta { margin-top: 3rem; padding: 2rem; background-color: #f8f9fa; border-radius: 8px; border-top: 4px solid #0366d6; } .presentation-meta p { margin-bottom: 1rem; line-height: 1.6; } .presentation-meta a { color: #0366d6; text-decoration: none; font-weight: 500; } .presentation-meta a:hover { text-decoration: underline; } @media (max-width: 768px) { .video-container iframe { height: 200px; } .presentation-info, .presentation-meta { padding: 1rem; margin-left: -1rem; margin-right: -1rem; } } /* Command Palette Styles */ [cmdk-root] { z-index: 9999 !important; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; } [cmdk-dialog] { padding: 0.5em; width: 100%; max-width: 35em; border: 1px solid #c7c7c7; border-radius: var(--border-radius); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); background-color: white; position: fixed; top: 30%; left: 50%; transform: translate(-50%, 0); z-index: 9999 !important; & input { font-size: 1.4em; width: 100%; background-color: transparent; border: none; outline: none; padding: 0.2em; background-color: #f8f8f8; margin-bottom: 0.2em; &:focus { outline: none; border-radius: 3px; background-color: #f0f0f0; } } } [cmdk-group-heading] { font-size: 1.2em; opacity: 0.5; padding: 0.2em; } [cmdk-item] { padding: 0.2em; font-size: 1.2em; & .tlui-kbd { border: 1px solid #c7c7c7; border-radius: 3px; padding: 0.2em; padding-bottom: 0.1em; font-size: 0.8em; opacity: 0.5; } } [cmdk-item]:hover { border-radius: 3px; background-color: #f0f0f0; } [cmdk-empty] { font-size: 1.2em; opacity: 0.5; padding: 0.2em; } [cmdk-overlay] { z-index: 9998 !important; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; background: rgba(0, 0, 0, 0.5) !important; } /* Ensure command palette renders above Tldraw canvas */ .tldraw__editor [cmdk-root] { position: fixed !important; z-index: 9999 !important; } .tldraw__editor [cmdk-dialog] { position: fixed !important; z-index: 9999 !important; } .tldraw__editor [cmdk-overlay] { position: fixed !important; z-index: 9998 !important; } /* Command Palette Specific Styles */ .command-palette .duration-300 { transition-duration: 0s; /* Set your desired duration */ } .command-palette .duration-200 { transition-duration: 0s; /* Set your desired duration */ } .command-palette .bg-opacity-80 { display: none; } .command-palette .llm-response { display: block; height: 100%; width: 100%; opacity: 1; } .llm-response { margin-top: 0 !important; } .references { opacity: 1 !important; } .command-palette .llm-response div { display: block; height: 100%; width: 100%; } .command-palette .llm-response span { height: 500px; white-space: pre-line; } .references * { color: white; } .reference { color: #40cf66; margin-left: 0.2em !important; padding-right: 0.1em; padding-left: 0.1em; &:hover { background-color: #40cf664d; } border-radius: 3px; } .reference-missing { margin-left: 0.2em !important; padding-right: 0.1em; padding-left: 0.1em; color: #fc8958; }