aboutsummaryrefslogtreecommitdiffstats
path: root/assets/css/main.css
blob: 1ece5c0103b8cbaebec4008bb11e575f2520a2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@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: #f8d7da;
  --color-success: #d1e7dd;
  --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-border-error: #f1aeb5;
  --color-border-success: #a3cfbb;
  --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;
}

span.text-icon {
  display: flex;
  align-items: centerg;
  gap: 0.4em;
}