style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887
  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 p,
  260. .message .content li,
  261. .message .content code {
  262. font-size: 15px;
  263. line-height: 1.3;
  264. }
  265. .message .content pre {
  266. white-space: pre-wrap;
  267. }
  268. .message .user i {
  269. position: absolute;
  270. bottom: -6px;
  271. right: -6px;
  272. z-index: 1000;
  273. }
  274. .message .assistant i {
  275. position: absolute;
  276. bottom: -6px;
  277. right: -6px;
  278. z-index: 1000;
  279. }
  280. .new_convo {
  281. padding: 8px 12px;
  282. display: flex;
  283. gap: 18px;
  284. align-items: center;
  285. cursor: pointer;
  286. user-select: none;
  287. background: transparent;
  288. border: 1px solid var(--conversations);
  289. border-radius: var(--border-radius-1);
  290. transition: all 0.2s ease;
  291. }
  292. .new_convo:hover {
  293. box-shadow: inset 0px 0px 20px var(--conversations-hover);
  294. }
  295. .new_convo span {
  296. color: var(--colour-3);
  297. font-size: 14px;
  298. }
  299. .stop_generating, .regenerate {
  300. position: absolute;
  301. bottom: 158px;
  302. left: 50%;
  303. transform: translateX(-50%);
  304. z-index: 1000000;
  305. }
  306. .stop_generating button, .regenerate button{
  307. backdrop-filter: blur(20px);
  308. -webkit-backdrop-filter: blur(20px);
  309. background-color: var(--blur-bg);
  310. border-radius: var(--border-radius-1);
  311. border: 1px solid var(--blur-border);
  312. padding: 10px 15px;
  313. color: var(--colour-3);
  314. display: flex;
  315. justify-content: center;
  316. align-items: center;
  317. gap: 12px;
  318. cursor: pointer;
  319. animation: show_popup 0.4s;
  320. }
  321. @keyframes show_popup {
  322. from {
  323. opacity: 0;
  324. transform: translateY(10px);
  325. }
  326. }
  327. @keyframes hide_popup {
  328. to {
  329. opacity: 0;
  330. transform: translateY(10px);
  331. }
  332. }
  333. .stop_generating-hidden #cancelButton, .regenerate-hidden #regenerateButton {
  334. animation: hide_popup 0.4s;
  335. display: none;
  336. }
  337. .typing {
  338. position: absolute;
  339. top: -25px;
  340. left: 0;
  341. font-size: 14px;
  342. animation: show_popup 0.4s;
  343. }
  344. .typing-hiding {
  345. animation: hide_popup 0.4s;
  346. }
  347. .typing-hidden {
  348. display: none;
  349. }
  350. input[type="checkbox"] {
  351. height: 0;
  352. width: 0;
  353. display: none;
  354. }
  355. label {
  356. cursor: pointer;
  357. text-indent: -9999px;
  358. width: 50px;
  359. height: 30px;
  360. backdrop-filter: blur(20px);
  361. -webkit-backdrop-filter: blur(20px);
  362. background-color: var(--blur-bg);
  363. border-radius: var(--border-radius-1);
  364. border: 1px solid var(--blur-border);
  365. display: block;
  366. border-radius: 100px;
  367. position: relative;
  368. overflow: hidden;
  369. transition: 0.33s;
  370. }
  371. label:after {
  372. content: "";
  373. position: absolute;
  374. top: 50%;
  375. transform: translateY(-50%);
  376. left: 5px;
  377. width: 20px;
  378. height: 20px;
  379. background: var(--colour-3);
  380. border-radius: 90px;
  381. transition: 0.33s;
  382. }
  383. input:checked+label {
  384. background: var(--blur-border);
  385. }
  386. input:checked+label:after {
  387. left: calc(100% - 5px - 20px);
  388. }
  389. .buttons {
  390. display: flex;
  391. align-items: center;
  392. justify-content: left;
  393. width: 100%;
  394. }
  395. .field {
  396. height: fit-content;
  397. display: flex;
  398. align-items: center;
  399. gap: 16px;
  400. padding-right: 15px
  401. }
  402. .field .about {
  403. font-size: 14px;
  404. color: var(--colour-3);
  405. }
  406. select {
  407. -webkit-border-radius: 8px;
  408. -moz-border-radius: 8px;
  409. border-radius: 8px;
  410. -webkit-backdrop-filter: blur(20px);
  411. backdrop-filter: blur(20px);
  412. cursor: pointer;
  413. background-color: var(--blur-bg);
  414. border: 1px solid var(--blur-border);
  415. color: var(--colour-3);
  416. display: block;
  417. position: relative;
  418. overflow: hidden;
  419. outline: none;
  420. padding: 8px 16px;
  421. appearance: none;
  422. }
  423. .input-box {
  424. display: flex;
  425. align-items: center;
  426. padding-right: 15px;
  427. cursor: pointer;
  428. }
  429. .info {
  430. padding: 8px 12px;
  431. display: flex;
  432. gap: 18px;
  433. align-items: center;
  434. user-select: none;
  435. background: transparent;
  436. border-radius: var(--border-radius-1);
  437. width: 100%;
  438. cursor: default;
  439. border: 1px dashed var(--conversations)
  440. }
  441. .bottom_buttons {
  442. width: 100%;
  443. display: flex;
  444. flex-direction: column;
  445. gap: 10px;
  446. }
  447. .bottom_buttons button {
  448. padding: 8px 12px;
  449. display: flex;
  450. gap: 18px;
  451. align-items: center;
  452. cursor: pointer;
  453. user-select: none;
  454. background: transparent;
  455. border: 1px solid var(--conversations);
  456. border-radius: var(--border-radius-1);
  457. width: 100%;
  458. }
  459. .bottom_buttons button span {
  460. color: var(--colour-3);
  461. font-size: 14px;
  462. }
  463. .conversations .top {
  464. display: flex;
  465. flex-direction: column;
  466. gap: 16px;
  467. overflow: auto;
  468. }
  469. #cursor {
  470. line-height: 17px;
  471. margin-left: 3px;
  472. -webkit-animation: blink 0.8s infinite;
  473. animation: blink 0.8s infinite;
  474. width: 7px;
  475. height: 15px;
  476. }
  477. @keyframes blink {
  478. 0% {
  479. background: #ffffff00;
  480. }
  481. 50% {
  482. background: white;
  483. }
  484. 100% {
  485. background: #ffffff00;
  486. }
  487. }
  488. @-webkit-keyframes blink {
  489. 0% {
  490. background: #ffffff00;
  491. }
  492. 50% {
  493. background: white;
  494. }
  495. 100% {
  496. background: #ffffff00;
  497. }
  498. }
  499. ol,
  500. ul {
  501. padding-left: 20px;
  502. }
  503. @keyframes spinner {
  504. to {
  505. transform: rotate(360deg);
  506. }
  507. }
  508. .spinner:before {
  509. content: '';
  510. box-sizing: border-box;
  511. position: absolute;
  512. top: 50%;
  513. left: 45%;
  514. width: 20px;
  515. height: 20px;
  516. border-radius: 50%;
  517. border: 1px solid var(--conversations);
  518. border-top-color: white;
  519. animation: spinner .6s linear infinite;
  520. }
  521. .grecaptcha-badge {
  522. visibility: hidden;
  523. }
  524. .mobile-sidebar {
  525. display: none !important;
  526. position: absolute;
  527. z-index: 100000;
  528. top: 0;
  529. left: 0;
  530. margin: 10px;
  531. font-size: 20px;
  532. cursor: pointer;
  533. backdrop-filter: blur(20px);
  534. -webkit-backdrop-filter: blur(20px);
  535. background-color: var(--blur-bg);
  536. border-radius: 10px;
  537. border: 1px solid var(--blur-border);
  538. width: 40px;
  539. height: 40px;
  540. justify-content: center;
  541. align-items: center;
  542. transition: 0.33s;
  543. }
  544. .mobile-sidebar i {
  545. transition: 0.33s;
  546. }
  547. .rotated {
  548. transform: rotate(360deg);
  549. }
  550. @media screen and (max-width: 990px) {
  551. .conversations {
  552. display: none;
  553. width: 100%;
  554. max-width: none;
  555. }
  556. .buttons {
  557. align-items: flex-start;
  558. flex-wrap: wrap;
  559. gap: 15px;
  560. }
  561. .field {
  562. width: fit-content;
  563. }
  564. .mobile-sidebar {
  565. display: flex !important;
  566. }
  567. }
  568. .shown {
  569. display: flex;
  570. }
  571. a:-webkit-any-link {
  572. color: var(--accent);
  573. }
  574. .conversation .user-input textarea {
  575. font-size: 15px;
  576. width: 100%;
  577. height: 100%;
  578. padding: 12px 15px;
  579. background: none;
  580. border: none;
  581. outline: none;
  582. color: var(--colour-3);
  583. resize: vertical;
  584. max-height: 150px;
  585. min-height: 80px;
  586. }
  587. /* style for hljs copy */
  588. .hljs-copy-wrapper {
  589. position: relative;
  590. overflow: hidden
  591. }
  592. .hljs-copy-wrapper:hover .hljs-copy-button,
  593. .hljs-copy-button:focus {
  594. transform: translateX(0)
  595. }
  596. .hljs-copy-button {
  597. position: absolute;
  598. transform: translateX(calc(100% + 1.125em));
  599. top: 1em;
  600. right: 1em;
  601. width: 2rem;
  602. height: 2rem;
  603. text-indent: -9999px;
  604. color: #fff;
  605. border-radius: .25rem;
  606. border: 1px solid #ffffff22;
  607. background-color: #2d2b57;
  608. 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>');
  609. background-repeat: no-repeat;
  610. background-position: center;
  611. transition: background-color 200ms ease, transform 200ms ease-out
  612. }
  613. .hljs-copy-button:hover {
  614. border-color: #ffffff44
  615. }
  616. .hljs-copy-button:active {
  617. border-color: #ffffff66
  618. }
  619. .hljs-copy-button[data-copied="true"] {
  620. text-indent: 0;
  621. width: auto;
  622. background-image: none
  623. }
  624. @media(prefers-reduced-motion) {
  625. .hljs-copy-button {
  626. transition: none
  627. }
  628. }
  629. .hljs-copy-alert {
  630. clip: rect(0 0 0 0);
  631. clip-path: inset(50%);
  632. height: 1px;
  633. overflow: hidden;
  634. position: absolute;
  635. white-space: nowrap;
  636. width: 1px
  637. }
  638. .visually-hidden {
  639. clip: rect(0 0 0 0);
  640. clip-path: inset(50%);
  641. height: 1px;
  642. overflow: hidden;
  643. position: absolute;
  644. white-space: nowrap;
  645. width: 1px;
  646. }
  647. .color-picker>fieldset {
  648. border: 0;
  649. display: flex;
  650. width: fit-content;
  651. background: var(--colour-1);
  652. margin-inline: auto;
  653. border-radius: 8px;
  654. -webkit-backdrop-filter: blur(20px);
  655. backdrop-filter: blur(20px);
  656. cursor: pointer;
  657. background-color: var(--blur-bg);
  658. border: 1px solid var(--blur-border);
  659. color: var(--colour-3);
  660. display: block;
  661. position: relative;
  662. overflow: hidden;
  663. outline: none;
  664. padding: 6px 16px;
  665. }
  666. .color-picker input[type="radio"]:checked {
  667. background-color: var(--radio-color);
  668. }
  669. .color-picker input[type="radio"]#light {
  670. --radio-color: gray;
  671. }
  672. .color-picker input[type="radio"]#pink {
  673. --radio-color: white;
  674. }
  675. .color-picker input[type="radio"]#blue {
  676. --radio-color: blue;
  677. }
  678. .color-picker input[type="radio"]#green {
  679. --radio-color: green;
  680. }
  681. .color-picker input[type="radio"]#dark {
  682. --radio-color: #232323;
  683. }
  684. .pink {
  685. --colour-1: #ffffff;
  686. --colour-2: #000000;
  687. --colour-3: #000000;
  688. --colour-4: #000000;
  689. --colour-5: #000000;
  690. --colour-6: #000000;
  691. --accent: #ffffff;
  692. --blur-bg: #98989866;
  693. --blur-border: #00000040;
  694. --user-input: #000000;
  695. --conversations: #000000;
  696. }
  697. .blue {
  698. --colour-1: hsl(209 50% 90%);
  699. --clr-card-bg: hsl(209 50% 100%);
  700. --colour-3: hsl(209 50% 15%);
  701. --conversations: hsl(209 50% 25%);
  702. }
  703. .green {
  704. --colour-1: hsl(109 50% 90%);
  705. --clr-card-bg: hsl(109 50% 100%);
  706. --colour-3: hsl(109 50% 15%);
  707. --conversations: hsl(109 50% 25%);
  708. }
  709. .dark {
  710. --colour-1: hsl(209 50% 10%);
  711. --clr-card-bg: hsl(209 50% 5%);
  712. --colour-3: hsl(209 50% 90%);
  713. --conversations: hsl(209 50% 80%);
  714. }
  715. :root:has(#pink:checked) {
  716. --colour-1: #ffffff;
  717. --colour-2: #000000;
  718. --colour-3: #000000;
  719. --colour-4: #000000;
  720. --colour-5: #000000;
  721. --colour-6: #000000;
  722. --accent: #ffffff;
  723. --blur-bg: #98989866;
  724. --blur-border: #00000040;
  725. --user-input: #000000;
  726. --conversations: #000000;
  727. }
  728. :root:has(#blue:checked) {
  729. --colour-1: hsl(209 50% 90%);
  730. --clr-card-bg: hsl(209 50% 100%);
  731. --colour-3: hsl(209 50% 15%);
  732. --conversations: hsl(209 50% 25%);
  733. }
  734. :root:has(#green:checked) {
  735. --colour-1: hsl(109 50% 90%);
  736. --clr-card-bg: hsl(109 50% 100%);
  737. --colour-3: hsl(109 50% 15%);
  738. --conversations: hsl(109 50% 25%);
  739. }
  740. :root:has(#dark:checked) {
  741. --colour-1: hsl(209 50% 10%);
  742. --clr-card-bg: hsl(209 50% 5%);
  743. --colour-3: hsl(209 50% 90%);
  744. --conversations: hsl(209 50% 80%);
  745. }
  746. #send-button {
  747. border: 1px dashed #e4d4ffa6;
  748. border-radius: 4px;
  749. cursor: pointer;
  750. padding-left: 8px;
  751. padding-right: 5px;
  752. padding-top: 2px;
  753. padding-bottom: 2px;
  754. top: 20px;
  755. left: 8px;
  756. }
  757. #send-button:hover {
  758. border: 1px solid #e4d4ffc9;
  759. }