Testing347 commited on
Commit
52247e1
·
verified ·
1 Parent(s): cb60c5d

Update assets/site.css

Browse files
Files changed (1) hide show
  1. assets/site.css +102 -44
assets/site.css CHANGED
@@ -1,67 +1,125 @@
1
- /* assets/site.css */
 
 
 
 
2
  :root {
3
- color-scheme: dark;
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- body { font-family: 'Inter', sans-serif; }
 
 
 
 
7
 
8
- .gradient-text{
9
- background: linear-gradient(90deg,#6366f1,#8b5cf6,#ec4899);
10
- -webkit-background-clip:text;
11
- background-clip:text;
12
- color:transparent;
 
13
  }
14
 
15
- .aura{
 
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
- .conscious-element{ transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.28s ease; }
23
- .conscious-element:hover{ transform: translateY(-2px); }
 
 
 
 
 
 
24
 
25
- .focus-ring:focus{ outline:none; box-shadow:0 0 0 2px rgba(99,102,241,0.65); }
 
 
 
 
 
 
26
 
27
- .modal{ transition: opacity 0.3s ease, transform 0.3s ease; }
28
- .modal-hidden{ opacity:0; transform: translateY(20px); pointer-events:none; }
29
- .modal-visible{ opacity:1; transform: translateY(0); }
 
 
30
 
31
- .thin-scroll{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  scrollbar-width: thin;
33
  scrollbar-color: #4f46e5 #1e1b4b;
34
  }
35
- .thin-scroll::-webkit-scrollbar{ width:6px; }
36
- .thin-scroll::-webkit-scrollbar-track{ background:#1e1b4b; }
37
- .thin-scroll::-webkit-scrollbar-thumb{ background-color:#4f46e5; border-radius:3px; }
38
-
39
- .lab-grid{
40
- background-image:
41
- linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px),
42
- linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
43
- background-size:44px 44px;
44
- background-position:center;
45
  }
46
 
47
- /* Chat typing indicator: robust (no animating `content`) */
48
- .typing-dots{ display:inline-flex; gap:4px; align-items:center; }
49
- .typing-dots span{
50
- width:4px; height:4px; border-radius:999px;
51
- background: currentColor;
52
- opacity:0.35;
53
- animation: sp-dot 1.2s infinite;
54
- }
55
- .typing-dots span:nth-child(2){ animation-delay: 0.2s; }
56
- .typing-dots span:nth-child(3){ animation-delay: 0.4s; }
57
- @keyframes sp-dot{
58
- 0%, 100%{ opacity:0.25; transform: translateY(0); }
59
- 50%{ opacity:1; transform: translateY(-2px); }
 
 
 
60
  }
61
 
62
- /* Respect reduced motion */
63
- @media (prefers-reduced-motion: reduce){
64
- .conscious-element{ transition:none; }
65
- .modal{ transition:none; }
66
- .typing-dots span{ animation:none; }
 
 
 
 
 
 
 
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
  }