style.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917
  1. @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
  2. .adsbox {
  3. backdrop-filter: blur(20px);
  4. -webkit-backdrop-filter: blur(20px);
  5. background-color: var(--blur-bg);
  6. height: 100%;
  7. width: 100%;
  8. border-radius: var(--border-radius-1);
  9. border: 1px solid var(--blur-border);
  10. }
  11. .ads {
  12. align-items: center;
  13. margin: auto;
  14. display: flex;
  15. flex-direction: column;
  16. gap: 16px;
  17. max-width: 200px;
  18. padding: var(--section-gap);
  19. overflow: none;
  20. flex-shrink: 0;
  21. display: flex;
  22. flex-direction: column;
  23. justify-content: space-between;
  24. }
  25. @media screen and (max-width: 728px) {
  26. .ads {
  27. display: none;
  28. }
  29. }
  30. /* :root {
  31. --colour-1: #ffffff;
  32. --colour-2: #000000;
  33. --colour-3: #000000;
  34. --colour-4: #000000;
  35. --colour-5: #000000;
  36. --colour-6: #000000;
  37. --accent: #ffffff;
  38. --blur-bg: #98989866;
  39. --blur-border: #00000040;
  40. --user-input: #000000;
  41. --conversations: #000000;
  42. } */
  43. :root {
  44. --colour-1: #000000;
  45. --colour-2: #ccc;
  46. --colour-3: #e4d4ff;
  47. --colour-4: #f0f0f0;
  48. --colour-5: #181818;
  49. --colour-6: #242424;
  50. --accent: #8b3dff;
  51. --blur-bg: #16101b66;
  52. --blur-border: #84719040;
  53. --user-input: #ac87bb;
  54. --conversations: #c7a2ff;
  55. --conversations-hover: #c7a2ff4d;
  56. }
  57. :root {
  58. --font-1: "Inter", sans-serif;
  59. --section-gap: 25px;
  60. --border-radius-1: 8px;
  61. }
  62. * {
  63. margin: 0;
  64. padding: 0;
  65. box-sizing: border-box;
  66. position: relative;
  67. font-family: var(--font-1);
  68. }
  69. html,
  70. body {
  71. scroll-behavior: smooth;
  72. overflow: hidden;
  73. }
  74. body {
  75. padding: var(--section-gap);
  76. background: var(--colour-1);
  77. color: var(--colour-3);
  78. height: 100vh;
  79. }
  80. .row {
  81. display: flex;
  82. gap: var(--section-gap);
  83. height: 100%;
  84. }
  85. .box {
  86. backdrop-filter: blur(20px);
  87. -webkit-backdrop-filter: blur(20px);
  88. background-color: var(--blur-bg);
  89. height: 100%;
  90. width: 100%;
  91. border-radius: var(--border-radius-1);
  92. border: 1px solid var(--blur-border);
  93. }
  94. .conversations {
  95. max-width: 260px;
  96. padding: var(--section-gap);
  97. overflow: auto;
  98. flex-shrink: 0;
  99. display: flex;
  100. flex-direction: column;
  101. justify-content: space-between;
  102. }
  103. .conversation {
  104. width: 100%;
  105. display: flex;
  106. flex-direction: column;
  107. gap: 15px;
  108. }
  109. .conversation #messages {
  110. width: 100%;
  111. height: 100%;
  112. display: flex;
  113. flex-direction: column;
  114. overflow: auto;
  115. overflow-wrap: break-word;
  116. padding-bottom: 50px;
  117. }
  118. .conversation .user-input {
  119. max-height: 200px;
  120. }
  121. .conversation .user-input input {
  122. font-size: 15px;
  123. width: 100%;
  124. height: 100%;
  125. padding: 12px 15px;
  126. background: none;
  127. border: none;
  128. outline: none;
  129. color: var(--colour-3);
  130. }
  131. .conversation .user-input input::placeholder {
  132. color: var(--user-input)
  133. }
  134. .gradient:nth-child(1) {
  135. --top: 0;
  136. --right: 0;
  137. --size: 70vw;
  138. --blur: calc(0.5 * var(--size));
  139. --opacity: 0.3;
  140. animation: zoom_gradient 6s infinite;
  141. }
  142. .gradient {
  143. position: absolute;
  144. z-index: -1;
  145. border-radius: calc(0.5 * var(--size));
  146. background-color: var(--accent);
  147. background: radial-gradient(circle at center, var(--accent), var(--accent));
  148. width: 70vw;
  149. height: 70vw;
  150. top: 50%;
  151. right: 0;
  152. transform: translateY(-50%);
  153. filter: blur(calc(0.5 * 70vw)) opacity(var(--opacity));
  154. }
  155. .conversations {
  156. display: flex;
  157. flex-direction: column;
  158. gap: 16px;
  159. }
  160. .conversations .title {
  161. font-size: 14px;
  162. font-weight: 500;
  163. }
  164. .conversations .convo {
  165. padding: 8px 12px;
  166. display: flex;
  167. gap: 10px;
  168. align-items: center;
  169. user-select: none;
  170. justify-content: space-between;
  171. border: 1px dashed var(--conversations);
  172. border-radius: var(--border-radius-1);
  173. }
  174. .conversations .convo .left {
  175. cursor: pointer;
  176. display: flex;
  177. align-items: center;
  178. gap: 10px;
  179. }
  180. .conversations i {
  181. color: var(--conversations);
  182. cursor: pointer;
  183. }
  184. .convo-title {
  185. color: var(--colour-3);
  186. font-size: 14px;
  187. text-overflow: ellipsis;
  188. overflow: hidden;
  189. white-space: nowrap;
  190. }
  191. .message {
  192. width: 100%;
  193. overflow-wrap: break-word;
  194. display: flex;
  195. gap: var(--section-gap);
  196. padding: var(--section-gap);
  197. padding-bottom: 0;
  198. }
  199. .message:last-child {
  200. animation: 0.6s show_message;
  201. }
  202. @keyframes show_message {
  203. from {
  204. transform: translateY(10px);
  205. opacity: 0;
  206. }
  207. }
  208. .message .user {
  209. max-width: 48px;
  210. max-height: 48px;
  211. flex-shrink: 0;
  212. }
  213. .message .user img {
  214. width: 100%;
  215. height: 100%;
  216. object-fit: cover;
  217. border-radius: 8px;
  218. outline: 1px solid var(--blur-border);
  219. }
  220. .message .user:after {
  221. content: "63";
  222. position: absolute;
  223. bottom: 0;
  224. right: 0;
  225. height: 60%;
  226. width: 60%;
  227. background: var(--colour-3);
  228. filter: blur(10px) opacity(0.5);
  229. z-index: 10000;
  230. }
  231. .message .assistant{
  232. max-width: 48px;
  233. max-height: 48px;
  234. flex-shrink: 0;
  235. }
  236. .message .assistant img {
  237. width: 100%;
  238. height: 100%;
  239. object-fit: cover;
  240. border-radius: 8px;
  241. outline: 1px solid var(--blur-border);
  242. }
  243. .message .assistant:after {
  244. content: "63";
  245. position: absolute;
  246. bottom: 0;
  247. right: 0;
  248. height: 60%;
  249. width: 60%;
  250. background: var(--colour-3);
  251. filter: blur(10px) opacity(0.5);
  252. z-index: 10000;
  253. }
  254. .message .content {
  255. display: flex;
  256. flex-direction: column;
  257. gap: 18px;
  258. }
  259. .message .content,
  260. .message .content a:link,
  261. .message .content a:visited{
  262. font-size: 15px;
  263. line-height: 1.3;
  264. color: var(--colour-3);
  265. }
  266. .message .content pre{
  267. white-space: pre-wrap;
  268. }
  269. .message .content img{
  270. max-width: 400px;
  271. }
  272. .message .user i {
  273. position: absolute;
  274. bottom: -6px;
  275. right: -6px;
  276. z-index: 1000;
  277. }
  278. .message .assistant i {
  279. position: absolute;
  280. bottom: -6px;
  281. right: -6px;
  282. z-index: 1000;
  283. }
  284. .new_convo {
  285. padding: 8px 12px;
  286. display: flex;
  287. gap: 18px;
  288. align-items: center;
  289. cursor: pointer;
  290. user-select: none;
  291. background: transparent;
  292. border: 1px solid var(--conversations);
  293. border-radius: var(--border-radius-1);
  294. transition: all 0.2s ease;
  295. }
  296. .new_convo:hover {
  297. box-shadow: inset 0px 0px 20px var(--conversations-hover);
  298. }
  299. .new_convo span {
  300. color: var(--colour-3);
  301. font-size: 14px;
  302. }
  303. .stop_generating, .regenerate {
  304. position: absolute;
  305. bottom: 158px;
  306. left: 50%;
  307. transform: translateX(-50%);
  308. z-index: 1000000;
  309. }
  310. .stop_generating button, .regenerate button{
  311. backdrop-filter: blur(20px);
  312. -webkit-backdrop-filter: blur(20px);
  313. background-color: var(--blur-bg);
  314. border-radius: var(--border-radius-1);
  315. border: 1px solid var(--blur-border);
  316. padding: 10px 15px;
  317. color: var(--colour-3);
  318. display: flex;
  319. justify-content: center;
  320. align-items: center;
  321. gap: 12px;
  322. cursor: pointer;
  323. animation: show_popup 0.4s;
  324. }
  325. @keyframes show_popup {
  326. from {
  327. opacity: 0;
  328. transform: translateY(10px);
  329. }
  330. }
  331. @keyframes hide_popup {
  332. to {
  333. opacity: 0;
  334. transform: translateY(10px);
  335. }
  336. }
  337. .stop_generating-hidden #cancelButton, .regenerate-hidden #regenerateButton {
  338. animation: hide_popup 0.4s;
  339. display: none;
  340. }
  341. .typing {
  342. position: absolute;
  343. top: -25px;
  344. left: 0;
  345. font-size: 14px;
  346. animation: show_popup 0.4s;
  347. }
  348. .typing-hiding {
  349. animation: hide_popup 0.4s;
  350. }
  351. .typing-hidden {
  352. display: none;
  353. }
  354. #image, #file {
  355. display: none;
  356. }
  357. label[for="image"]:has(> input:valid){
  358. color: var(--accent);
  359. }
  360. label[for="file"]:has(> input:valid){
  361. color: var(--accent);
  362. }
  363. label[for="image"], label[for="file"] {
  364. cursor: pointer;
  365. position: absolute;
  366. top: 10px;
  367. left: 10px;
  368. }
  369. label[for="file"] {
  370. top: 32px;
  371. left: 10px;
  372. }
  373. .buttons input[type="checkbox"] {
  374. height: 0;
  375. width: 0;
  376. display: none;
  377. }
  378. .buttons label {
  379. cursor: pointer;
  380. text-indent: -9999px;
  381. width: 50px;
  382. height: 30px;
  383. backdrop-filter: blur(20px);
  384. -webkit-backdrop-filter: blur(20px);
  385. background-color: var(--blur-bg);
  386. border-radius: var(--border-radius-1);
  387. border: 1px solid var(--blur-border);
  388. display: block;
  389. border-radius: 100px;
  390. position: relative;
  391. overflow: hidden;
  392. transition: 0.33s;
  393. }
  394. .buttons label:after {
  395. content: "";
  396. position: absolute;
  397. top: 50%;
  398. transform: translateY(-50%);
  399. left: 5px;
  400. width: 20px;
  401. height: 20px;
  402. background: var(--colour-3);
  403. border-radius: 90px;
  404. transition: 0.33s;
  405. }
  406. .buttons input:checked+label {
  407. background: var(--accent);
  408. }
  409. .buttons input:checked+label:after {
  410. left: calc(100% - 5px - 20px);
  411. }
  412. .buttons {
  413. display: flex;
  414. align-items: center;
  415. justify-content: left;
  416. width: 100%;
  417. }
  418. .field {
  419. height: fit-content;
  420. display: flex;
  421. align-items: center;
  422. gap: 16px;
  423. padding-right: 15px
  424. }
  425. .field .about {
  426. font-size: 14px;
  427. color: var(--colour-3);
  428. }
  429. select {
  430. -webkit-border-radius: 8px;
  431. -moz-border-radius: 8px;
  432. border-radius: 8px;
  433. -webkit-backdrop-filter: blur(20px);
  434. backdrop-filter: blur(20px);
  435. cursor: pointer;
  436. background-color: var(--blur-bg);
  437. border: 1px solid var(--blur-border);
  438. color: var(--colour-3);
  439. display: block;
  440. position: relative;
  441. overflow: hidden;
  442. outline: none;
  443. padding: 8px 16px;
  444. appearance: none;
  445. width: 250px;
  446. }
  447. .input-box {
  448. display: flex;
  449. align-items: center;
  450. padding-right: 15px;
  451. cursor: pointer;
  452. }
  453. .info {
  454. padding: 8px 12px;
  455. display: flex;
  456. gap: 18px;
  457. align-items: center;
  458. user-select: none;
  459. background: transparent;
  460. border-radius: var(--border-radius-1);
  461. width: 100%;
  462. cursor: default;
  463. border: 1px dashed var(--conversations)
  464. }
  465. .bottom_buttons {
  466. width: 100%;
  467. display: flex;
  468. flex-direction: column;
  469. gap: 10px;
  470. }
  471. .bottom_buttons button {
  472. padding: 8px 12px;
  473. display: flex;
  474. gap: 18px;
  475. align-items: center;
  476. cursor: pointer;
  477. user-select: none;
  478. background: transparent;
  479. border: 1px solid var(--conversations);
  480. border-radius: var(--border-radius-1);
  481. width: 100%;
  482. }
  483. .bottom_buttons button span {
  484. color: var(--colour-3);
  485. font-size: 14px;
  486. }
  487. .conversations .top {
  488. display: flex;
  489. flex-direction: column;
  490. gap: 16px;
  491. overflow: auto;
  492. }
  493. #cursor {
  494. line-height: 17px;
  495. margin-left: 3px;
  496. -webkit-animation: blink 0.8s infinite;
  497. animation: blink 0.8s infinite;
  498. width: 7px;
  499. height: 15px;
  500. display: inline-block;
  501. }
  502. @keyframes blink {
  503. 0% {
  504. background: #ffffff00;
  505. }
  506. 50% {
  507. background: white;
  508. }
  509. 100% {
  510. background: #ffffff00;
  511. }
  512. }
  513. @-webkit-keyframes blink {
  514. 0% {
  515. background: #ffffff00;
  516. }
  517. 50% {
  518. background: white;
  519. }
  520. 100% {
  521. background: #ffffff00;
  522. }
  523. }
  524. ol,
  525. ul {
  526. padding-left: 20px;
  527. }
  528. @keyframes spinner {
  529. to {
  530. transform: rotate(360deg);
  531. }
  532. }
  533. .spinner:before {
  534. content: '';
  535. box-sizing: border-box;
  536. position: absolute;
  537. top: 50%;
  538. left: 45%;
  539. width: 20px;
  540. height: 20px;
  541. border-radius: 50%;
  542. border: 1px solid var(--conversations);
  543. border-top-color: white;
  544. animation: spinner .6s linear infinite;
  545. }
  546. .grecaptcha-badge {
  547. visibility: hidden;
  548. }
  549. .mobile-sidebar {
  550. display: none !important;
  551. position: absolute;
  552. z-index: 100000;
  553. top: 0;
  554. left: 0;
  555. margin: 10px;
  556. font-size: 20px;
  557. cursor: pointer;
  558. backdrop-filter: blur(20px);
  559. -webkit-backdrop-filter: blur(20px);
  560. background-color: var(--blur-bg);
  561. border-radius: 10px;
  562. border: 1px solid var(--blur-border);
  563. width: 40px;
  564. height: 40px;
  565. justify-content: center;
  566. align-items: center;
  567. transition: 0.33s;
  568. }
  569. .mobile-sidebar i {
  570. transition: 0.33s;
  571. }
  572. .rotated {
  573. transform: rotate(360deg);
  574. }
  575. @media screen and (max-width: 990px) {
  576. .conversations {
  577. display: none;
  578. width: 100%;
  579. max-width: none;
  580. }
  581. .buttons {
  582. align-items: flex-start;
  583. flex-wrap: wrap;
  584. gap: 15px;
  585. }
  586. .field {
  587. width: fit-content;
  588. }
  589. .mobile-sidebar {
  590. display: flex !important;
  591. }
  592. }
  593. .shown {
  594. display: flex;
  595. }
  596. a:-webkit-any-link {
  597. color: var(--accent);
  598. }
  599. .conversation .user-input textarea {
  600. font-size: 15px;
  601. width: 100%;
  602. height: 100%;
  603. padding: 12px 15px;
  604. background: none;
  605. border: none;
  606. outline: none;
  607. color: var(--colour-3);
  608. resize: vertical;
  609. max-height: 150px;
  610. min-height: 80px;
  611. }
  612. /* style for hljs copy */
  613. .hljs-copy-wrapper {
  614. position: relative;
  615. overflow: hidden
  616. }
  617. .hljs-copy-wrapper:hover .hljs-copy-button,
  618. .hljs-copy-button:focus {
  619. transform: translateX(0)
  620. }
  621. .hljs-copy-button {
  622. position: absolute;
  623. transform: translateX(calc(100% + 1.125em));
  624. top: 1em;
  625. right: 1em;
  626. width: 2rem;
  627. height: 2rem;
  628. text-indent: -9999px;
  629. color: #fff;
  630. border-radius: .25rem;
  631. border: 1px solid #ffffff22;
  632. background-color: #2d2b57;
  633. background-image: url('data:image/svg+xml;utf-8,<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5C5.73478 5 5.48043 5.10536 5.29289 5.29289C5.10536 5.48043 5 5.73478 5 6V20C5 20.2652 5.10536 20.5196 5.29289 20.7071C5.48043 20.8946 5.73478 21 6 21H18C18.2652 21 18.5196 20.8946 18.7071 20.7071C18.8946 20.5196 19 20.2652 19 20V6C19 5.73478 18.8946 5.48043 18.7071 5.29289C18.5196 5.10536 18.2652 5 18 5H16C15.4477 5 15 4.55228 15 4C15 3.44772 15.4477 3 16 3H18C18.7956 3 19.5587 3.31607 20.1213 3.87868C20.6839 4.44129 21 5.20435 21 6V20C21 20.7957 20.6839 21.5587 20.1213 22.1213C19.5587 22.6839 18.7957 23 18 23H6C5.20435 23 4.44129 22.6839 3.87868 22.1213C3.31607 21.5587 3 20.7957 3 20V6C3 5.20435 3.31607 4.44129 3.87868 3.87868C4.44129 3.31607 5.20435 3 6 3H8C8.55228 3 9 3.44772 9 4C9 4.55228 8.55228 5 8 5H6Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 3C7 1.89543 7.89543 1 9 1H15C16.1046 1 17 1.89543 17 3V5C17 6.10457 16.1046 7 15 7H9C7.89543 7 7 6.10457 7 5V3ZM15 3H9V5H15V3Z" fill="white"/></svg>');
  634. background-repeat: no-repeat;
  635. background-position: center;
  636. transition: background-color 200ms ease, transform 200ms ease-out
  637. }
  638. .hljs-copy-button:hover {
  639. border-color: #ffffff44
  640. }
  641. .hljs-copy-button:active {
  642. border-color: #ffffff66
  643. }
  644. .hljs-copy-button[data-copied="true"] {
  645. text-indent: 0;
  646. width: auto;
  647. background-image: none
  648. }
  649. @media(prefers-reduced-motion) {
  650. .hljs-copy-button {
  651. transition: none
  652. }
  653. }
  654. .hljs-copy-alert {
  655. clip: rect(0 0 0 0);
  656. clip-path: inset(50%);
  657. height: 1px;
  658. overflow: hidden;
  659. position: absolute;
  660. white-space: nowrap;
  661. width: 1px
  662. }
  663. .visually-hidden {
  664. clip: rect(0 0 0 0);
  665. clip-path: inset(50%);
  666. height: 1px;
  667. overflow: hidden;
  668. position: absolute;
  669. white-space: nowrap;
  670. width: 1px;
  671. }
  672. .color-picker>fieldset {
  673. border: 0;
  674. display: flex;
  675. width: fit-content;
  676. background: var(--colour-1);
  677. margin-inline: auto;
  678. border-radius: 8px;
  679. -webkit-backdrop-filter: blur(20px);
  680. backdrop-filter: blur(20px);
  681. cursor: pointer;
  682. background-color: var(--blur-bg);
  683. border: 1px solid var(--blur-border);
  684. color: var(--colour-3);
  685. display: block;
  686. position: relative;
  687. overflow: hidden;
  688. outline: none;
  689. padding: 6px 16px;
  690. }
  691. .color-picker input[type="radio"]:checked {
  692. background-color: var(--radio-color);
  693. }
  694. .color-picker input[type="radio"]#light {
  695. --radio-color: gray;
  696. }
  697. .color-picker input[type="radio"]#pink {
  698. --radio-color: white;
  699. }
  700. .color-picker input[type="radio"]#blue {
  701. --radio-color: blue;
  702. }
  703. .color-picker input[type="radio"]#green {
  704. --radio-color: green;
  705. }
  706. .color-picker input[type="radio"]#dark {
  707. --radio-color: #232323;
  708. }
  709. .pink {
  710. --colour-1: #ffffff;
  711. --colour-2: #000000;
  712. --colour-3: #000000;
  713. --colour-4: #000000;
  714. --colour-5: #000000;
  715. --colour-6: #000000;
  716. --accent: #ffffff;
  717. --blur-bg: #98989866;
  718. --blur-border: #00000040;
  719. --user-input: #000000;
  720. --conversations: #000000;
  721. }
  722. .blue {
  723. --colour-1: hsl(209 50% 90%);
  724. --clr-card-bg: hsl(209 50% 100%);
  725. --colour-3: hsl(209 50% 15%);
  726. --conversations: hsl(209 50% 25%);
  727. }
  728. .green {
  729. --colour-1: hsl(109 50% 90%);
  730. --clr-card-bg: hsl(109 50% 100%);
  731. --colour-3: hsl(109 50% 15%);
  732. --conversations: hsl(109 50% 25%);
  733. }
  734. .dark {
  735. --colour-1: hsl(209 50% 10%);
  736. --clr-card-bg: hsl(209 50% 5%);
  737. --colour-3: hsl(209 50% 90%);
  738. --conversations: hsl(209 50% 80%);
  739. }
  740. :root:has(#pink:checked) {
  741. --colour-1: #ffffff;
  742. --colour-2: #000000;
  743. --colour-3: #000000;
  744. --colour-4: #000000;
  745. --colour-5: #000000;
  746. --colour-6: #000000;
  747. --accent: #ffffff;
  748. --blur-bg: #98989866;
  749. --blur-border: #00000040;
  750. --user-input: #000000;
  751. --conversations: #000000;
  752. }
  753. :root:has(#blue:checked) {
  754. --colour-1: hsl(209 50% 90%);
  755. --clr-card-bg: hsl(209 50% 100%);
  756. --colour-3: hsl(209 50% 15%);
  757. --conversations: hsl(209 50% 25%);
  758. }
  759. :root:has(#green:checked) {
  760. --colour-1: hsl(109 50% 90%);
  761. --clr-card-bg: hsl(109 50% 100%);
  762. --colour-3: hsl(109 50% 15%);
  763. --conversations: hsl(109 50% 25%);
  764. }
  765. :root:has(#dark:checked) {
  766. --colour-1: hsl(209 50% 10%);
  767. --clr-card-bg: hsl(209 50% 5%);
  768. --colour-3: hsl(209 50% 90%);
  769. --conversations: hsl(209 50% 80%);
  770. }
  771. #send-button {
  772. border: 1px dashed #e4d4ffa6;
  773. border-radius: 4px;
  774. cursor: pointer;
  775. padding-left: 8px;
  776. padding-right: 5px;
  777. padding-top: 2px;
  778. padding-bottom: 2px;
  779. top: 20px;
  780. left: 8px;
  781. }
  782. #send-button:hover {
  783. border: 1px solid #e4d4ffc9;
  784. }