From 7c520a6ef44a644e2cb6715fcd8df315670197fe Mon Sep 17 00:00:00 2001 From: everypizza1 Date: Tue, 6 May 2025 21:30:54 -0500 Subject: [PATCH 1/5] WIP: redo the welcome page --- server/static/index.html | 169 ++++--- server/static/styles.css | 937 +++++++++++++++++++++++++++++++++------ 2 files changed, 917 insertions(+), 189 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 6372e8e..33cfd19 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -1,57 +1,102 @@ - + - - - - Amnezichat - - - -
-

Download Amnezichat

-

Anti-forensic and secure messaging. Download it now and get started.

- Download Now + + + + Amnezichat + + + +
+

Amnezichat

+

+ Anti-forensic and secure messaging. Download it now and get + started. Intended for secure chats that disappear when you're + done. +

+
+ Download Now +
+
+ + +
+ +
+ Terms of Service +

+ By using Amnezichat, you agree to the following + terms: +

+
    +
  • Use for lawful purposes only.
  • +
  • Do not share illegal content.
  • +
  • Respect others while using the platform.
  • +
+

+ Amnezichat reserves the right to modify or + discontinue the service without notice. +

+ + We can't actually enforce these. Please keep them + in mind though. + +

Contact: nemesisuks@protonmail.com

+
- - -
- Terms of Service -

By using Amnezichat, you agree to the following terms:

-
    -
  • Use for lawful purposes only.
  • -
  • Do not share illegal content.
  • -
  • Respect others while using the platform.
  • -
-

Amnezichat reserves the right to modify or discontinue the service without notice.

-

Contact: nemesisuks@protonmail.com

-
+ - - - +

Or:

+ Download AppImage + Download .deb Package +
+
+ + diff --git a/server/static/styles.css b/server/static/styles.css index e9ccd41..3ea2014 100644 --- a/server/static/styles.css +++ b/server/static/styles.css @@ -1,139 +1,810 @@ -body { - font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; - display: flex; - justify-content: center; - align-items: center; - min-height: 100vh; +/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */ +@layer properties; +@layer theme, base, components, utilities; +@layer theme { + :root, :host { + --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", + "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; + --color-green-400: oklch(79.2% 0.209 151.711); + --color-green-500: oklch(72.3% 0.219 149.579); + --color-blue-300: oklch(80.9% 0.105 251.813); + --color-blue-400: oklch(70.7% 0.165 254.624); + --color-blue-500: oklch(62.3% 0.214 259.815); + --color-blue-600: oklch(54.6% 0.245 262.881); + --color-indigo-400: oklch(67.3% 0.182 276.935); + --color-indigo-600: oklch(51.1% 0.262 276.966); + --color-purple-500: oklch(62.7% 0.265 303.9); + --color-pink-200: oklch(89.9% 0.061 343.231); + --color-pink-500: oklch(65.6% 0.241 354.308); + --color-gray-100: oklch(96.7% 0.003 264.542); + --color-gray-200: oklch(92.8% 0.006 264.531); + --color-gray-500: oklch(55.1% 0.027 264.364); + --color-gray-900: oklch(21% 0.034 264.665); + --color-gray-950: oklch(13% 0.028 261.692); + --color-black: #000; + --color-white: #fff; + --spacing: 0.25rem; + --text-2xl: 1.5rem; + --text-2xl--line-height: calc(2 / 1.5); + --text-6xl: 3.75rem; + --text-6xl--line-height: 1; + --font-weight-semibold: 600; + --font-weight-bold: 700; + --radius-lg: 0.5rem; + --default-transition-duration: 150ms; + --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + --default-font-family: var(--font-sans); + --default-mono-font-family: var(--font-mono); + } +} +@layer base { + *, ::after, ::before, ::backdrop, ::file-selector-button { + box-sizing: border-box; margin: 0; - background: linear-gradient(135deg, #1e3c72, #2a5298); - color: #ecf0f1; - text-align: center; + padding: 0; + border: 0 solid; + } + html, :host { + line-height: 1.5; + -webkit-text-size-adjust: 100%; + tab-size: 4; + font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); + font-feature-settings: var(--default-font-feature-settings, normal); + font-variation-settings: var(--default-font-variation-settings, normal); + -webkit-tap-highlight-color: transparent; + } + hr { + height: 0; + color: inherit; + border-top-width: 1px; + } + abbr:where([title]) { + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; + } + h1, h2, h3, h4, h5, h6 { + font-size: inherit; + font-weight: inherit; + } + a { + color: inherit; + -webkit-text-decoration: inherit; + text-decoration: inherit; + } + b, strong { + font-weight: bolder; + } + code, kbd, samp, pre { + font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); + font-feature-settings: var(--default-mono-font-feature-settings, normal); + font-variation-settings: var(--default-mono-font-variation-settings, normal); + font-size: 1em; + } + small { + font-size: 80%; + } + sub, sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; + } + sub { + bottom: -0.25em; + } + sup { + top: -0.5em; + } + table { + text-indent: 0; + border-color: inherit; + border-collapse: collapse; + } + :-moz-focusring { + outline: auto; + } + progress { + vertical-align: baseline; + } + summary { + display: list-item; + } + ol, ul, menu { + list-style: none; + } + img, svg, video, canvas, audio, iframe, embed, object { + display: block; + vertical-align: middle; + } + img, video { + max-width: 100%; + height: auto; + } + button, input, select, optgroup, textarea, ::file-selector-button { + font: inherit; + font-feature-settings: inherit; + font-variation-settings: inherit; + letter-spacing: inherit; + color: inherit; + border-radius: 0; + background-color: transparent; + opacity: 1; + } + :where(select:is([multiple], [size])) optgroup { + font-weight: bolder; + } + :where(select:is([multiple], [size])) optgroup option { + padding-inline-start: 20px; + } + ::file-selector-button { + margin-inline-end: 4px; + } + ::placeholder { + opacity: 1; + } + @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) { + ::placeholder { + color: currentcolor; + @supports (color: color-mix(in lab, red, red)) { + color: color-mix(in oklab, currentcolor 50%, transparent); + } + } + } + textarea { + resize: vertical; + } + ::-webkit-search-decoration { + -webkit-appearance: none; + } + ::-webkit-date-and-time-value { + min-height: 1lh; + text-align: inherit; + } + ::-webkit-datetime-edit { + display: inline-flex; + } + ::-webkit-datetime-edit-fields-wrapper { + padding: 0; + } + ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { + padding-block: 0; + } + :-moz-ui-invalid { + box-shadow: none; + } + button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button { + appearance: button; + } + ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { + height: auto; + } + [hidden]:where(:not([hidden="until-found"])) { + display: none !important; + } } - -.container { - padding: 30px; - background: rgba(15, 30, 60, 0.95); - border: 1px solid #0f3b5f; - border-radius: 12px; - box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6); - max-width: 600px; - width: 90%; -} - -h1 { - font-size: 2rem; - margin-bottom: 15px; - color: #ffffff; - font-weight: bold; -} - -p { - font-size: 1.1rem; - margin-bottom: 25px; - color: #bdc3c7; -} - -a.download-button { - display: inline-block; - text-decoration: none; - color: #ffffff; - background: linear-gradient(45deg, #2980b9, #1e90ff); - padding: 12px 25px; - border-radius: 6px; - font-size: 1rem; - font-weight: bold; - transition: background 0.3s ease, transform 0.2s ease; -} - -a.download-button:hover { - background: linear-gradient(45deg, #1e90ff, #2980b9); - transform: scale(1.05); -} - -.main-links { - margin: 20px 0; -} - -.main-links a { - text-decoration: none; - color: #2980b9; - margin: 0 8px; - font-size: 1rem; - transition: color 0.3s ease; -} - -.main-links a:hover { - color: #1e90ff; -} - -details { - margin: 10px 0; - text-align: left; -} - -details summary { - cursor: pointer; - font-size: 1.1rem; - font-weight: bold; - color: #ecf0f1; -} - -details p, details ul { - margin: 10px 0; - font-size: 0.95rem; - color: #bdc3c7; -} - -.modal { - display: none; - position: fixed; - z-index: 1000; - left: 0; - top: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.85); -} - -.modal:target { - display: flex; - justify-content: center; - align-items: center; -} - -.modal-content { - background: #0f1e3c; - padding: 20px; - border: 1px solid #0a2b4f; - border-radius: 12px; - width: 90%; - max-width: 600px; - color: #ecf0f1; -} - -.modal-content pre { - background: #0a2b4f; - padding: 15px; - border-radius: 8px; - color: #ecf0f1; - font-size: 0.9rem; - overflow-x: auto; -} - -.close-button { - color: #e74c3c; - text-decoration: none; - font-size: 1.5rem; +@layer utilities { + .collapse { + visibility: collapse; + } + .invisible { + visibility: hidden; + } + .visible { + visibility: visible; + } + .absolute { position: absolute; - top: 15px; - right: 15px; - font-weight: bold; + } + .fixed { + position: fixed; + } + .relative { + position: relative; + } + .relative\! { + position: relative !important; + } + .static { + position: static; + } + .container { + width: 100%; + @media (width >= 40rem) { + max-width: 40rem; + } + @media (width >= 48rem) { + max-width: 48rem; + } + @media (width >= 64rem) { + max-width: 64rem; + } + @media (width >= 80rem) { + max-width: 80rem; + } + @media (width >= 96rem) { + max-width: 96rem; + } + } + .m-5 { + margin: calc(var(--spacing) * 5); + } + .m-10 { + margin: calc(var(--spacing) * 10); + } + .m-auto { + margin: auto; + } + .block { + display: block; + } + .contents { + display: contents; + } + .flex { + display: flex; + } + .hidden { + display: none; + } + .inline { + display: inline; + } + .inline-block { + display: inline-block; + } + .table { + display: table; + } + .h-4 { + height: calc(var(--spacing) * 4); + } + .h-14 { + height: calc(var(--spacing) * 14); + } + .h-screen { + height: 100vh; + } + .flex-shrink { + flex-shrink: 1; + } + .shrink { + flex-shrink: 1; + } + .flex-grow { + flex-grow: 1; + } + .grow { + flex-grow: 1; + } + .border-collapse { + border-collapse: collapse; + } + .transform { + transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,); + } + .cursor-pointer { + cursor: pointer; + } + .resize { + resize: both; + } + .flex-col { + flex-direction: column; + } + .items-center { + align-items: center; + } + .justify-center { + justify-content: center; + } + .space-y-2 { + :where(& > :not(:last-child)) { + --tw-space-y-reverse: 0; + margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse)); + margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse))); + } + } + .truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .rounded { + border-radius: 0.25rem; + } + .rounded-full { + border-radius: calc(infinity * 1px); + } + .rounded-lg { + border-radius: var(--radius-lg); + } + .rounded-t-lg { + border-top-left-radius: var(--radius-lg); + border-top-right-radius: var(--radius-lg); + } + .border { + border-style: var(--tw-border-style); + border-width: 1px; + } + .bg-blue-300 { + background-color: var(--color-blue-300); + } + .bg-blue-500 { + background-color: var(--color-blue-500); + } + .bg-gray-100 { + background-color: var(--color-gray-100); + } + .bg-gray-900 { + background-color: var(--color-gray-900); + } + .bg-gray-950 { + background-color: var(--color-gray-950); + } + .bg-linear-65 { + --tw-gradient-position: 65deg; + @supports (background-image: linear-gradient(in lab, red, red)) { + --tw-gradient-position: 65deg in oklab; + } + background-image: linear-gradient(var(--tw-gradient-stops)); + } + .bg-gradient-to-r { + --tw-gradient-position: to right in oklab; + background-image: linear-gradient(var(--tw-gradient-stops)); + } + .from-green-500 { + --tw-gradient-from: var(--color-green-500); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .from-pink-200 { + --tw-gradient-from: var(--color-pink-200); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .from-purple-500 { + --tw-gradient-from: var(--color-purple-500); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .via-indigo-400 { + --tw-gradient-via: var(--color-indigo-400); + --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position); + --tw-gradient-stops: var(--tw-gradient-via-stops); + } + .to-indigo-600 { + --tw-gradient-to: var(--color-indigo-600); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .to-pink-500 { + --tw-gradient-to: var(--color-pink-500); + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .to-transparent { + --tw-gradient-to: transparent; + --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position)); + } + .bg-clip-text { + background-clip: text; + } + .p-0 { + padding: calc(var(--spacing) * 0); + } + .p-3 { + padding: calc(var(--spacing) * 3); + } + .p-6 { + padding: calc(var(--spacing) * 6); + } + .p-9 { + padding: calc(var(--spacing) * 9); + } + .px-6 { + padding-inline: calc(var(--spacing) * 6); + } + .py-2 { + padding-block: calc(var(--spacing) * 2); + } + .pt-3 { + padding-top: calc(var(--spacing) * 3); + } + .text-2xl { + font-size: var(--text-2xl); + line-height: var(--tw-leading, var(--text-2xl--line-height)); + } + .text-6xl { + font-size: var(--text-6xl); + line-height: var(--tw-leading, var(--text-6xl--line-height)); + } + .font-bold { + --tw-font-weight: var(--font-weight-bold); + font-weight: var(--font-weight-bold); + } + .font-semibold { + --tw-font-weight: var(--font-weight-semibold); + font-weight: var(--font-weight-semibold); + } + .text-black { + color: var(--color-black); + } + .text-gray-200 { + color: var(--color-gray-200); + } + .text-gray-500 { + color: var(--color-gray-500); + } + .text-gray-900 { + color: var(--color-gray-900); + } + .text-green-400 { + color: var(--color-green-400); + } + .text-transparent { + color: transparent; + } + .text-white { + color: var(--color-white); + } + .lowercase { + text-transform: lowercase; + } + .uppercase { + text-transform: uppercase; + } + .italic { + font-style: italic; + } + .ordinal { + --tw-ordinal: ordinal; + font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,); + } + .underline { + text-decoration-line: underline; + } + .shadow { + --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); + box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); + } + .outline { + outline-style: var(--tw-outline-style); + outline-width: 1px; + } + .invert { + --tw-invert: invert(100%); + filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,); + } + .filter { + filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,); + } + .transition { + transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events; + transition-timing-function: var(--tw-ease, var(--default-transition-timing-function)); + transition-duration: var(--tw-duration, var(--default-transition-duration)); + } + .duration-300 { + --tw-duration: 300ms; + transition-duration: 300ms; + } + .hover\:bg-blue-400 { + &:hover { + @media (hover: hover) { + background-color: var(--color-blue-400); + } + } + } + .hover\:bg-blue-600 { + &:hover { + @media (hover: hover) { + background-color: var(--color-blue-600); + } + } + } + .sm\:flex-row { + @media (width >= 40rem) { + flex-direction: row; + } + } + .sm\:space-y-0 { + @media (width >= 40rem) { + :where(& > :not(:last-child)) { + --tw-space-y-reverse: 0; + margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse)); + margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse))); + } + } + } + .sm\:space-x-2 { + @media (width >= 40rem) { + :where(& > :not(:last-child)) { + --tw-space-x-reverse: 0; + margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse)); + margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse))); + } + } + } } - -.close-button:hover { - color: #c0392b; +@property --tw-rotate-x { + syntax: "*"; + inherits: false; } - -.modal-content a.download-button { - margin-left: 15px; +@property --tw-rotate-y { + syntax: "*"; + inherits: false; +} +@property --tw-rotate-z { + syntax: "*"; + inherits: false; +} +@property --tw-skew-x { + syntax: "*"; + inherits: false; +} +@property --tw-skew-y { + syntax: "*"; + inherits: false; +} +@property --tw-space-y-reverse { + syntax: "*"; + inherits: false; + initial-value: 0; +} +@property --tw-border-style { + syntax: "*"; + inherits: false; + initial-value: solid; +} +@property --tw-gradient-position { + syntax: "*"; + inherits: false; +} +@property --tw-gradient-from { + syntax: ""; + inherits: false; + initial-value: #0000; +} +@property --tw-gradient-via { + syntax: ""; + inherits: false; + initial-value: #0000; +} +@property --tw-gradient-to { + syntax: ""; + inherits: false; + initial-value: #0000; +} +@property --tw-gradient-stops { + syntax: "*"; + inherits: false; +} +@property --tw-gradient-via-stops { + syntax: "*"; + inherits: false; +} +@property --tw-gradient-from-position { + syntax: ""; + inherits: false; + initial-value: 0%; +} +@property --tw-gradient-via-position { + syntax: ""; + inherits: false; + initial-value: 50%; +} +@property --tw-gradient-to-position { + syntax: ""; + inherits: false; + initial-value: 100%; +} +@property --tw-font-weight { + syntax: "*"; + inherits: false; +} +@property --tw-ordinal { + syntax: "*"; + inherits: false; +} +@property --tw-slashed-zero { + syntax: "*"; + inherits: false; +} +@property --tw-numeric-figure { + syntax: "*"; + inherits: false; +} +@property --tw-numeric-spacing { + syntax: "*"; + inherits: false; +} +@property --tw-numeric-fraction { + syntax: "*"; + inherits: false; +} +@property --tw-shadow { + syntax: "*"; + inherits: false; + initial-value: 0 0 #0000; +} +@property --tw-shadow-color { + syntax: "*"; + inherits: false; +} +@property --tw-shadow-alpha { + syntax: ""; + inherits: false; + initial-value: 100%; +} +@property --tw-inset-shadow { + syntax: "*"; + inherits: false; + initial-value: 0 0 #0000; +} +@property --tw-inset-shadow-color { + syntax: "*"; + inherits: false; +} +@property --tw-inset-shadow-alpha { + syntax: ""; + inherits: false; + initial-value: 100%; +} +@property --tw-ring-color { + syntax: "*"; + inherits: false; +} +@property --tw-ring-shadow { + syntax: "*"; + inherits: false; + initial-value: 0 0 #0000; +} +@property --tw-inset-ring-color { + syntax: "*"; + inherits: false; +} +@property --tw-inset-ring-shadow { + syntax: "*"; + inherits: false; + initial-value: 0 0 #0000; +} +@property --tw-ring-inset { + syntax: "*"; + inherits: false; +} +@property --tw-ring-offset-width { + syntax: ""; + inherits: false; + initial-value: 0px; +} +@property --tw-ring-offset-color { + syntax: "*"; + inherits: false; + initial-value: #fff; +} +@property --tw-ring-offset-shadow { + syntax: "*"; + inherits: false; + initial-value: 0 0 #0000; +} +@property --tw-outline-style { + syntax: "*"; + inherits: false; + initial-value: solid; +} +@property --tw-blur { + syntax: "*"; + inherits: false; +} +@property --tw-brightness { + syntax: "*"; + inherits: false; +} +@property --tw-contrast { + syntax: "*"; + inherits: false; +} +@property --tw-grayscale { + syntax: "*"; + inherits: false; +} +@property --tw-hue-rotate { + syntax: "*"; + inherits: false; +} +@property --tw-invert { + syntax: "*"; + inherits: false; +} +@property --tw-opacity { + syntax: "*"; + inherits: false; +} +@property --tw-saturate { + syntax: "*"; + inherits: false; +} +@property --tw-sepia { + syntax: "*"; + inherits: false; +} +@property --tw-drop-shadow { + syntax: "*"; + inherits: false; +} +@property --tw-drop-shadow-color { + syntax: "*"; + inherits: false; +} +@property --tw-drop-shadow-alpha { + syntax: ""; + inherits: false; + initial-value: 100%; +} +@property --tw-drop-shadow-size { + syntax: "*"; + inherits: false; +} +@property --tw-duration { + syntax: "*"; + inherits: false; +} +@property --tw-space-x-reverse { + syntax: "*"; + inherits: false; + initial-value: 0; +} +@layer properties { + @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) { + *, ::before, ::after, ::backdrop { + --tw-rotate-x: initial; + --tw-rotate-y: initial; + --tw-rotate-z: initial; + --tw-skew-x: initial; + --tw-skew-y: initial; + --tw-space-y-reverse: 0; + --tw-border-style: solid; + --tw-gradient-position: initial; + --tw-gradient-from: #0000; + --tw-gradient-via: #0000; + --tw-gradient-to: #0000; + --tw-gradient-stops: initial; + --tw-gradient-via-stops: initial; + --tw-gradient-from-position: 0%; + --tw-gradient-via-position: 50%; + --tw-gradient-to-position: 100%; + --tw-font-weight: initial; + --tw-ordinal: initial; + --tw-slashed-zero: initial; + --tw-numeric-figure: initial; + --tw-numeric-spacing: initial; + --tw-numeric-fraction: initial; + --tw-shadow: 0 0 #0000; + --tw-shadow-color: initial; + --tw-shadow-alpha: 100%; + --tw-inset-shadow: 0 0 #0000; + --tw-inset-shadow-color: initial; + --tw-inset-shadow-alpha: 100%; + --tw-ring-color: initial; + --tw-ring-shadow: 0 0 #0000; + --tw-inset-ring-color: initial; + --tw-inset-ring-shadow: 0 0 #0000; + --tw-ring-inset: initial; + --tw-ring-offset-width: 0px; + --tw-ring-offset-color: #fff; + --tw-ring-offset-shadow: 0 0 #0000; + --tw-outline-style: solid; + --tw-blur: initial; + --tw-brightness: initial; + --tw-contrast: initial; + --tw-grayscale: initial; + --tw-hue-rotate: initial; + --tw-invert: initial; + --tw-opacity: initial; + --tw-saturate: initial; + --tw-sepia: initial; + --tw-drop-shadow: initial; + --tw-drop-shadow-color: initial; + --tw-drop-shadow-alpha: 100%; + --tw-drop-shadow-size: initial; + --tw-duration: initial; + --tw-space-x-reverse: 0; + } + } } -- 2.47.2 From 581b804b850fd68e49da0ea0bd8127ac551c55d6 Mon Sep 17 00:00:00 2001 From: everypizza1 <82726593+everypizza1@users.noreply.github.com> Date: Wed, 7 May 2025 00:16:14 -0500 Subject: [PATCH 2/5] re-arrange a bit --- server/static/index.html | 208 +++++++++++++++++++++------------------ server/static/styles.css | 114 ++++++++++----------- 2 files changed, 165 insertions(+), 157 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 33cfd19..2cd4e34 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -13,90 +13,111 @@
-

Amnezichat

-

- Anti-forensic and secure messaging. Download it now and get - started. Intended for secure chats that disappear when you're - done. -

-
- Download Now + Amnezichat + +

+ Anti-forensic and secure messaging. Download it now and get + started. Intended for secure chats that + disappear when you're done. -
-
- -

-
- -
- Terms of Service -

- By using Amnezichat, you agree to the following - terms: -

-
    -
  • Use for lawful purposes only.
  • -
  • Do not share illegal content.
  • -
  • Respect others while using the platform.
  • -
-

- Amnezichat reserves the right to modify or - discontinue the service without notice. -

- - We can't actually enforce these. Please keep them - in mind though. - -

Contact: nemesisuks@protonmail.com

-
+

+
+ Download Now +
+
+ +
+ +
+ + Terms of Service + +

By using Amnezichat, you agree to the following terms:

+
    +
  • Use for lawful purposes only.
  • +
  • Do not share illegal content.
  • +
  • Respect others while using the platform.
  • +
+

+ Amnezichat reserves the right to modify or discontinue the + service without notice. +

+ + We can't actually enforce these. Please keep them in mind + though. + +

Contact: nemesisuks@protonmail.com

+
-
- Privacy Policy -

We value your privacy:

-
    -
  • - No personal information or chat logs are stored. -
  • -
  • Messages are encrypted and temporary.
  • -
-
-
+
+ + Privacy Policy + +

We value your privacy:

+
    +
  • No personal information or chat logs are stored.
  • +
  • + Messages are + encrypted and + temporary. +
  • +
+
+
+ + + -
Date: Wed, 7 May 2025 14:27:59 -0500 Subject: [PATCH 4/5] colors --- server/static/index.html | 2 +- server/static/styles.css | 80 +--------------------------------------- 2 files changed, 3 insertions(+), 79 deletions(-) diff --git a/server/static/index.html b/server/static/index.html index 245b9c3..b689ae8 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -11,7 +11,7 @@

Date: Wed, 7 May 2025 14:29:41 -0500 Subject: [PATCH 5/5] gitignore, add input.css --- .gitignore | 2 ++ server/static/input.css | 1 + 2 files changed, 3 insertions(+) create mode 100644 .gitignore create mode 100644 server/static/input.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..84b02e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +server/node_modules +client/node_modules \ No newline at end of file diff --git a/server/static/input.css b/server/static/input.css new file mode 100644 index 0000000..f1d8c73 --- /dev/null +++ b/server/static/input.css @@ -0,0 +1 @@ +@import "tailwindcss"; -- 2.47.2