aboutsummaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/css/main.css80
-rw-r--r--assets/css/reset.css48
2 files changed, 128 insertions, 0 deletions
diff --git a/assets/css/main.css b/assets/css/main.css
new file mode 100644
index 0000000..88b8e3e
--- /dev/null
+++ b/assets/css/main.css
@@ -0,0 +1,80 @@
+@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-error: #ff4136;
+ --color-text: #000;
+ --color-text-muted: #4b5563;
+ --color-background-muted: #f3f4f6;
+ --color-background: #fff;
+ --color-background-error: #cf2f27;
+ --color-background-error-dark: #c12820;
+ --color-border: #d1d9e0;
+ --color-favourite: #f6e05e;
+
+ --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;
+} \ No newline at end of file
diff --git a/assets/css/reset.css b/assets/css/reset.css
new file mode 100644
index 0000000..af94440
--- /dev/null
+++ b/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