From 4697556cac819c47d068819b9fc9c3b4ea84e279 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Thu, 14 Aug 2025 18:07:12 +0100 Subject: Merge confplanner-web and replace fiber with native net/http --- web/assets/css/main.css | 102 +++++++++++++++++++++++++++++++++++++++++++++++ web/assets/css/reset.css | 48 ++++++++++++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 web/assets/css/main.css create mode 100644 web/assets/css/reset.css (limited to 'web/assets') diff --git a/web/assets/css/main.css b/web/assets/css/main.css new file mode 100644 index 0000000..320bedb --- /dev/null +++ b/web/assets/css/main.css @@ -0,0 +1,102 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); +@import url('./reset.css'); + +:root { + --color-accent: #6366f1; + --color-primary: #4f46e5; + --color-primary-dark: #4338ca; + --color-primary-light: #cdcde9; + --color-favourite: #f6e05e; + --color-error: #cf2f27; + --color-error-light: #f8d7da; + --color-error-dark: #ad1f2b; + --color-success-light: #d1e7dd; + + --color-text: #000; + --color-text-error: #cf2f27; + --color-text-success: #3d9970; + --color-text-muted: #4b5563; + --color-text-muted-light: #6b7280; + --color-background: #fff; + --color-background-muted: #f3f4f6; + --color-background-primary: var(--color-primary-light); + --color-background-error: var(--color-error-light); + --color-background-error-muted: #f8d7da; + --color-background-success: var(--color-success-light); + --color-background-success-muted: #b5d0c4; + --color-border: #d1d9e0; + --color-border-error-light: #f1aeb5; + --color-border-success-light: #a3cfbb; + --color-border-primary-light: #c4b5fd; + + --color-hover: rgba(0, 0, 0, 0.04); + + --text-smaller: 0.75rem; + --text-small: 0.875rem; + --text-normal: 1rem; + --text-large: 1.25rem; + --text-larger: 1.5rem; + --text-x-large: 1.875rem; + --text-xx-large: 2.25rem; + + --font-sans-seif: 'Inter', sans-serif; +} + +html, body { + font-family: var(--font-sans-seif); + font-optical-sizing: auto; + font-style: normal; +} + +a { + color: var(--color-primary); + text-decoration: none; + transition: color 0.2s ease; +} + +.register-link:hover { + color: var(--color-primary-dark); +} + +h1 { + font-size: var(--text-xx-large); + font-weight: 700; + line-height: 1.2; +} + +h2 { + font-size: var(--text-x-large); + font-weight: 700; + line-height: 1.2; +} + +h3 { + font-size: var(--text-large); + font-weight: 700; + line-height: 1.2; +} + +h4 { + font-size: var(--text-normal); + font-weight: 700; + line-height: 1.2; +} + +p { + font-size: var(--text-normal); + line-height: 1.3; + margin-bottom: 0.5rem; +} + +ul { + list-style-type: disc; + list-style-position: inside; + margin: 0.5rem 0 1rem 1rem; + line-height: 1.3; +} + +span.text-icon { + display: flex; + align-items: center; + gap: 0.4em; +} \ No newline at end of file diff --git a/web/assets/css/reset.css b/web/assets/css/reset.css new file mode 100644 index 0000000..af94440 --- /dev/null +++ b/web/assets/css/reset.css @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file -- cgit v1.2.3-70-g09d2