Spaces:
Running
Running
Update assets/site.css
Browse files- assets/site.css +102 -44
assets/site.css
CHANGED
|
@@ -1,67 +1,125 @@
|
|
| 1 |
-
/* assets/site.css
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
:root {
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
body {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
background-clip:text;
|
| 12 |
-
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
-
|
|
|
|
| 16 |
background:
|
| 17 |
radial-gradient(circle at 25% 15%, rgba(99,102,241,0.20), transparent 42%),
|
| 18 |
radial-gradient(circle at 70% 70%, rgba(236,72,153,0.12), transparent 46%),
|
| 19 |
radial-gradient(circle at 50% 45%, rgba(139,92,246,0.10), transparent 55%);
|
| 20 |
}
|
| 21 |
|
| 22 |
-
|
| 23 |
-
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
|
| 28 |
-
.
|
| 29 |
-
|
|
|
|
|
|
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
scrollbar-width: thin;
|
| 33 |
scrollbar-color: #4f46e5 #1e1b4b;
|
| 34 |
}
|
| 35 |
-
.thin-scroll::-webkit-scrollbar{
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
background-position:center;
|
| 45 |
}
|
| 46 |
|
| 47 |
-
/* Chat
|
| 48 |
-
.
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
| 60 |
}
|
| 61 |
|
| 62 |
-
/*
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
.
|
| 66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
}
|
|
|
|
| 1 |
+
/* assets/site.css
|
| 2 |
+
SILENTPATTERN — shared site styles
|
| 3 |
+
Keep page-specific styling in Tailwind classes when possible.
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
:root {
|
| 7 |
+
--bg: #000000;
|
| 8 |
+
--panel: rgba(17, 24, 39, 0.35); /* gray-900-ish with alpha */
|
| 9 |
+
--border: rgba(31, 41, 55, 0.85); /* gray-800-ish */
|
| 10 |
+
--indigo: rgba(99, 102, 241, 1);
|
| 11 |
+
--purple: rgba(139, 92, 246, 1);
|
| 12 |
+
--pink: rgba(236, 72, 153, 1);
|
| 13 |
+
--ring: rgba(99, 102, 241, 0.65);
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
html, body {
|
| 17 |
+
height: 100%;
|
| 18 |
}
|
| 19 |
|
| 20 |
+
body {
|
| 21 |
+
background: var(--bg);
|
| 22 |
+
color: #ffffff;
|
| 23 |
+
font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
| 24 |
+
}
|
| 25 |
|
| 26 |
+
/* Gradient text used in hero headings */
|
| 27 |
+
.gradient-text {
|
| 28 |
+
background: linear-gradient(90deg, var(--indigo), var(--purple), var(--pink));
|
| 29 |
+
-webkit-background-clip: text;
|
| 30 |
+
background-clip: text;
|
| 31 |
+
color: transparent;
|
| 32 |
}
|
| 33 |
|
| 34 |
+
/* Subtle “lab aura” background treatment for panels/cards */
|
| 35 |
+
.aura {
|
| 36 |
background:
|
| 37 |
radial-gradient(circle at 25% 15%, rgba(99,102,241,0.20), transparent 42%),
|
| 38 |
radial-gradient(circle at 70% 70%, rgba(236,72,153,0.12), transparent 46%),
|
| 39 |
radial-gradient(circle at 50% 45%, rgba(139,92,246,0.10), transparent 55%);
|
| 40 |
}
|
| 41 |
|
| 42 |
+
/* Lab surface grid */
|
| 43 |
+
.lab-grid {
|
| 44 |
+
background-image:
|
| 45 |
+
linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px),
|
| 46 |
+
linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
|
| 47 |
+
background-size: 44px 44px;
|
| 48 |
+
background-position: center;
|
| 49 |
+
}
|
| 50 |
|
| 51 |
+
/* Micro-interaction */
|
| 52 |
+
.conscious-element {
|
| 53 |
+
transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease;
|
| 54 |
+
}
|
| 55 |
+
.conscious-element:hover {
|
| 56 |
+
transform: translateY(-2px);
|
| 57 |
+
}
|
| 58 |
|
| 59 |
+
/* Accessible focus ring */
|
| 60 |
+
.focus-ring:focus {
|
| 61 |
+
outline: none;
|
| 62 |
+
box-shadow: 0 0 0 2px var(--ring);
|
| 63 |
+
}
|
| 64 |
|
| 65 |
+
/* Modal animation helpers */
|
| 66 |
+
.modal {
|
| 67 |
+
transition: opacity 0.3s ease, transform 0.3s ease;
|
| 68 |
+
}
|
| 69 |
+
.modal-hidden {
|
| 70 |
+
opacity: 0;
|
| 71 |
+
transform: translateY(20px);
|
| 72 |
+
pointer-events: none;
|
| 73 |
+
}
|
| 74 |
+
.modal-visible {
|
| 75 |
+
opacity: 1;
|
| 76 |
+
transform: translateY(0);
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
/* Thin scrollbars (Firefox + WebKit) */
|
| 80 |
+
.thin-scroll {
|
| 81 |
scrollbar-width: thin;
|
| 82 |
scrollbar-color: #4f46e5 #1e1b4b;
|
| 83 |
}
|
| 84 |
+
.thin-scroll::-webkit-scrollbar {
|
| 85 |
+
width: 6px;
|
| 86 |
+
}
|
| 87 |
+
.thin-scroll::-webkit-scrollbar-track {
|
| 88 |
+
background: #1e1b4b;
|
| 89 |
+
}
|
| 90 |
+
.thin-scroll::-webkit-scrollbar-thumb {
|
| 91 |
+
background-color: #4f46e5;
|
| 92 |
+
border-radius: 3px;
|
|
|
|
| 93 |
}
|
| 94 |
|
| 95 |
+
/* Chat container standard height */
|
| 96 |
+
.chat-container {
|
| 97 |
+
height: 520px;
|
| 98 |
+
overflow-y: auto;
|
| 99 |
+
scrollbar-width: thin;
|
| 100 |
+
scrollbar-color: #4f46e5 #1e1b4b;
|
| 101 |
+
}
|
| 102 |
+
.chat-container::-webkit-scrollbar {
|
| 103 |
+
width: 6px;
|
| 104 |
+
}
|
| 105 |
+
.chat-container::-webkit-scrollbar-track {
|
| 106 |
+
background: #1e1b4b;
|
| 107 |
+
}
|
| 108 |
+
.chat-container::-webkit-scrollbar-thumb {
|
| 109 |
+
background-color: #4f46e5;
|
| 110 |
+
border-radius: 3px;
|
| 111 |
}
|
| 112 |
|
| 113 |
+
/* Typing indicator used in chat.html */
|
| 114 |
+
.typing-indicator::after {
|
| 115 |
+
content: "...";
|
| 116 |
+
animation: typing 1.5s infinite;
|
| 117 |
+
display: inline-block;
|
| 118 |
+
width: 20px;
|
| 119 |
+
text-align: left;
|
| 120 |
+
}
|
| 121 |
+
@keyframes typing {
|
| 122 |
+
0% { content: "."; }
|
| 123 |
+
33% { content: ".."; }
|
| 124 |
+
66% { content: "..."; }
|
| 125 |
}
|