@rileybathurst/paddle 0.0.43 → 0.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.43",
4
+ "version": "0.0.45",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -9,11 +9,11 @@
9
9
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
10
10
  "preview": "vite preview",
11
11
  "start": "storybook dev -p 6006",
12
- "run storybook": "storybook dev -p 6006",
12
+ "storybook": "storybook dev -p 6006",
13
13
  "build-storybook": "storybook build"
14
14
  },
15
15
  "dependencies": {
16
- "color-cards": "^1.0.14",
16
+ "color-cards": "^1.0.15",
17
17
  "gatsby": "^5.13.6",
18
18
  "gatsby-plugin-image": "^3.13.1",
19
19
  "react": "^18.2.0",
@@ -14,6 +14,6 @@ type Story = StoryObj<typeof meta>;
14
14
 
15
15
  export const Primary: Story = {
16
16
  args: {
17
- primary: true,
17
+ backed: true,
18
18
  },
19
19
  };
@@ -4,18 +4,18 @@ import React from 'react';
4
4
  import { faker } from '@faker-js/faker';
5
5
 
6
6
  interface LocationProps {
7
- primary?: boolean;
7
+ backed?: boolean;
8
8
  onClick?: () => void;
9
9
  }
10
10
 
11
11
  export const Location = ({
12
- primary = false,
12
+ backed = true,
13
13
  ...props
14
14
  }: LocationProps) => {
15
15
 
16
16
  return (
17
17
  <a
18
- className={`location ${primary ?? 'backed'}`}
18
+ className={`location ${backed ?? 'backed'}`}
19
19
  href="https://goo.gl/maps/atoK4oyJRbV3EKuK9"
20
20
  rel="noopener noreferrer"
21
21
  >
@@ -0,0 +1,19 @@
1
+ // this is the Name.stories.tsx file
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ import { fn } from '@storybook/test';
4
+ import { Neutrals } from './Neutrals';
5
+
6
+ const meta = {
7
+ component: Neutrals,
8
+ title: 'Atoms/Neutrals',
9
+ args: { onClick: fn() },
10
+ } satisfies Meta<typeof Neutrals>;
11
+
12
+ export default meta;
13
+ type Story = StoryObj<typeof meta>;
14
+
15
+ export const Primary: Story = {
16
+ args: {
17
+ primary: true,
18
+ },
19
+ };
@@ -0,0 +1,31 @@
1
+ // * working on the first implementation of the color cards component
2
+
3
+ // this is the Name.tsx file
4
+ import React from 'react';
5
+ import { ColorCards } from 'color-cards';
6
+
7
+ interface NeutralsProps {
8
+ primary?: boolean;
9
+ onClick?: () => void;
10
+ }
11
+
12
+ export const Neutrals = ({
13
+ primary = false,
14
+ ...props
15
+ }: NeutralsProps) => {
16
+
17
+ return (
18
+ <main>
19
+ <h1>Neutrals</h1>
20
+ <ColorCards
21
+ color='mullen'
22
+ variables={['100', '200']}
23
+ />
24
+ <ColorCards
25
+ color='sand'
26
+ variables={['100', '200']}
27
+ />
28
+
29
+ </main>
30
+ );
31
+ };
@@ -12,4 +12,6 @@
12
12
  @import "links";
13
13
  @import "buttons";
14
14
  @import "lists";
15
+ @import "tables";
16
+ @import "visibility";
15
17
  @import "a11y";
@@ -2,18 +2,19 @@
2
2
  /* #BUTTONS */
3
3
  /*------------------------------------*/
4
4
 
5
+ /* TODO: variables */
5
6
  button,
6
7
  .button,
7
8
  .book-now {
8
9
  background: none;
9
- border-radius: 0.25rem;
10
- padding: 0.5rem 1rem;
11
- font-size: 1rem;
10
+ border-radius: var(--card-radius);
11
+ padding: var(--kosciuszko) var(--vinson);
12
+ font-size: var(--vinson);
12
13
  cursor: pointer;
13
14
  margin-block-end: var(--elbrus);
14
- transition: 0.5s ease;
15
+ transition: var(--slow);
15
16
  display: block;
16
- line-height: 1.5rem;
17
+ line-height: var(--kilimanjaro);
17
18
  text-decoration: none;
18
19
  width: max-content;
19
20
  border: 1px solid;
@@ -32,6 +33,12 @@ button:active {
32
33
  box-shadow: var(--umbra);
33
34
  }
34
35
 
36
+ .book-now {
37
+ margin-block-start: var(--kosciuszko);
38
+ text-align: center;
39
+ display: inline-block; /* same as a button */
40
+ }
41
+
35
42
  /*------------------*/
36
43
  /* #MENU */
37
44
  /*------------------*/
@@ -39,3 +46,25 @@ button:active {
39
46
  menu button {
40
47
  margin: 0;
41
48
  }
49
+
50
+ /*------------------------------------*/
51
+
52
+ .button__double {
53
+ display: flex;
54
+ align-items: center;
55
+ gap: var(--denali);
56
+ }
57
+
58
+ .buttonGroup {
59
+ display: flex;
60
+ flex-flow: row wrap;
61
+ gap: var(--vinson);
62
+ margin-block-end: var(--baseline);
63
+ }
64
+
65
+ /*------------------------------------*/
66
+
67
+ footer .book-now {
68
+ margin-block-start: 0;
69
+ margin-block-end: var(--baseline);
70
+ }
@@ -1,6 +1,11 @@
1
1
  /*------------------*/
2
2
  /* #CARDS */
3
3
  /*------------------*/
4
+
5
+ .deck {
6
+ margin-block-end: var(--aconcagua);
7
+ }
8
+
4
9
  /* TODO: needs sub-grid */
5
10
  .card,
6
11
  .ticket {
@@ -36,7 +41,6 @@
36
41
  }
37
42
 
38
43
  .card__image:where(:hover, :focus) {
39
- /* opacity: 0.8; */
40
44
  filter: brightness(80%);
41
45
  }
42
46
 
@@ -75,12 +79,14 @@
75
79
 
76
80
  .card__details {
77
81
  display: flex;
82
+ gap: var(--vinson);
78
83
  width: calc(100% - var(--kilimanjaro));
79
84
  margin-inline: var(--kosciuszko);
80
85
  margin-block-end: var(--elbrus);
81
86
  justify-content: space-between;
82
87
 
83
88
  > * {
89
+ flex: 1 1;
84
90
  margin: 0;
85
91
  }
86
92
 
@@ -89,7 +95,6 @@
89
95
  h4,
90
96
  h5,
91
97
  h6 {
92
- font-size: var(--denali);
93
98
  font-size: clamp(var(--vinson), 1.667vw, var(--denali));
94
99
  font-weight: normal;
95
100
  line-height: var(--everest);
@@ -141,13 +146,6 @@
141
146
  }
142
147
  }
143
148
 
144
- .card--split {
145
- flex-direction: row !important; /* TODO can I increase the specificity */
146
- > * {
147
- flex: 1 1 50%;
148
- }
149
- }
150
-
151
149
  /*------------------*/
152
150
  /* #RETAIL LOGO */
153
151
  /*------------------*/
@@ -169,48 +167,7 @@
169
167
  }
170
168
 
171
169
  svg {
172
- width: 10rem; /* guess and check */
170
+ width: var(--vulture); /* guess and check */
173
171
  margin-block-end: var(--kosciuszko);
174
172
  }
175
173
  }
176
-
177
- .brand__header {
178
- clip-path: inset(0 -100vmax);
179
-
180
- hr {
181
- margin-block-end: var(--elbrus);
182
- }
183
- }
184
-
185
- /*------------------*/
186
- /* #LOCATION DECK AND CARDS */
187
- /*------------------*/
188
-
189
- .home__here, /* TODO rename this to .location__multiple everywhere */
190
- .location__deck {
191
- max-width: var(--pelican);
192
- margin-inline: auto;
193
- display: flex;
194
- flex-flow: row wrap;
195
-
196
- > * {
197
- /* TODO: variable */
198
- flex: 1 1 20rem;
199
- }
200
- }
201
-
202
- .here__location, /* TODO rename this to .location everywhere */
203
- .location_card {
204
- display: flex;
205
- flex-flow: column;
206
- gap: var(--vinson);
207
- justify-content: space-between;
208
- margin-block-end: var(--kilimanjaro);
209
- padding-block-end: var(--kilimanjaro);
210
- border-block-end: 1px solid;
211
- padding: var(--kosciuszko);
212
- border-radius: var(--kosciuszko);
213
- font-weight: 600;
214
- }
215
-
216
- /* can location cards be laid out horizontally but I think they never have a background if they are so maybe they are a seperate thing thing thats not a card? */
@@ -19,3 +19,11 @@ body {
19
19
  .top-bar {
20
20
  clip-path: inset(0 -100vmax);
21
21
  }
22
+
23
+ /*------------------------------------*/
24
+ /* #LOCATION */
25
+ /*------------------------------------*/
26
+
27
+ .location.true {
28
+ background-color: antiquewhite;
29
+ }
@@ -36,7 +36,7 @@ footer {
36
36
 
37
37
  .condor,
38
38
  .location {
39
- max-width: var(--condor);
39
+ max-width: var(--condor), calc(100vw - var(--denali));
40
40
  flex-basis: var(--condor);
41
41
  }
42
42
 
@@ -76,12 +76,12 @@ footer {
76
76
  }
77
77
 
78
78
  .pelican.wrap > * {
79
- flex: 1 1 calc(var(--pelican) / 2 - 1rem);
79
+ flex: 1 1 calc(var(--pelican) / 2 - var(--vinson));
80
80
  }
81
81
 
82
82
  .albatross.wrap > *,
83
83
  .deck > * {
84
- flex: 1 1 calc(var(--albatross) / 2 - 1rem);
84
+ flex: 1 1 calc(var(--albatross) / 2 - var(--vinson));
85
85
  }
86
86
 
87
87
  /*------------------------------------*/
@@ -90,8 +90,10 @@ footer {
90
90
 
91
91
  /* this isnt a direct nested its always down another layer */
92
92
  .albatross .pelican,
93
- .deck * {
93
+ /* ! deck * needs to be removed its maybe only the image that needs it */
94
+ .deck *:not(p, hr) {
94
95
  /* ? margin-inline: 0; ? should this be centered */
96
+ /* TODO: this needs a :not for a few things */
95
97
  width: 100%; /* resets the padding */
96
98
  padding-inline: 0;
97
99
  }
@@ -131,7 +133,11 @@ header {
131
133
  /* #TOP BAR */
132
134
  /*------------------*/
133
135
 
136
+ /* this flashes in on every load which is bad but its currently out of use */
134
137
  .top-bar {
138
+ transition: var(--slow);
139
+ height: 0;
140
+ opacity: 0;
135
141
  display: flex;
136
142
  justify-content: center;
137
143
  padding-block-start: 0.25rem;
@@ -149,8 +155,8 @@ header {
149
155
 
150
156
  .social {
151
157
  display: flex;
152
- gap: var(--kilimanjaro);
153
- margin-block-end: clamp(var(--kilimanjaro), 1.667vw, var(--aconcagua));
158
+ gap: clamp(var(--kilimanjaro), 1.667vw, var(--aconcagua));
159
+ margin-block: clamp(var(--kilimanjaro), 1.667vw, var(--aconcagua));
154
160
  }
155
161
 
156
162
  /*------------------*/
@@ -162,20 +168,28 @@ header {
162
168
  }
163
169
 
164
170
  .location {
171
+ max-width: var(--condor);
165
172
  display: flex;
166
- flex-flow: row;
173
+ flex-flow: row wrap;
167
174
  align-items: center;
168
- gap: var(--elbrus);
169
- padding: var(--elbrus);
175
+ gap: clamp(var(--kosciuszko), 1.67vw, var(--elbrus));
176
+ padding: clamp(var(--kosciuszko), 1.67vw, var(--elbrus));
170
177
  border-radius: var(--card-radius);
171
178
 
172
179
  > * {
173
- flex: 7.5 1; /* guess and check to get the parking on one row in the footer */
180
+ /* guess and check to get the parking on one row in the footer */
181
+ flex: 7.5 1 var(--vulture);
174
182
  }
175
183
 
176
184
  > svg,
177
185
  .svg {
178
186
  flex: 1 1 max-content;
187
+ min-width: var(--everest);
188
+ min-height: var(--everest);
189
+ }
190
+
191
+ p {
192
+ margin-block-end: 0; /* reset to the gap */
179
193
  }
180
194
  }
181
195
 
@@ -21,3 +21,20 @@ a:where(:hover, :focus) {
21
21
  a svg {
22
22
  transition: var(--fade);
23
23
  }
24
+
25
+ /*------------------------------------*/
26
+
27
+ /* TODO: a lot of this is smaller than the variables test it all */
28
+ .link__backed {
29
+ padding: 0.25rem;
30
+ border-radius: 0.25rem;
31
+ display: inline-block;
32
+ border: 1px solid transparent;
33
+ transition: var(--slow);
34
+ text-decoration: none;
35
+
36
+ @media (min-width: 40rem) {
37
+ padding: 0.5rem;
38
+ border-radius: 0.5rem;
39
+ }
40
+ }
@@ -1,3 +1,28 @@
1
+ /*------------------*/
2
+ /* #LISTS */
3
+ /*------------------*/
4
+
5
+ /*------------------*/
6
+ /* #DEFAULTS */
7
+ /*------------------*/
8
+
9
+ ul {
10
+ padding-inline-start: 0.75rem;
11
+ margin: 0; /* reset */
12
+
13
+ li {
14
+ display: block;
15
+ margin-block-end: var(--baseline);
16
+ }
17
+ }
18
+
19
+ ol {
20
+ li {
21
+ display: inline flow-root list-item;
22
+ margin-block-end: var(--baseline);
23
+ }
24
+ }
25
+
1
26
  /*------------------*/
2
27
  /* #TESTIMONIALS */
3
28
  /*------------------*/
@@ -15,3 +40,193 @@
15
40
  content: "“";
16
41
  }
17
42
  }
43
+
44
+ /*------------------*/
45
+ /* #BREADCRUMBS */
46
+ /*------------------*/
47
+
48
+ /* https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/ */
49
+ .breadcrumbs {
50
+ max-width: var(--stork);
51
+ margin-inline: auto; /* overwrite nav */
52
+ padding-inline: var(--kosciuszko); /* overwrite nav */
53
+
54
+ ol {
55
+ list-style: none;
56
+ display: flex;
57
+ flex-flow: row wrap;
58
+ /* gap: 1rem; */
59
+ max-width: var(--pelican);
60
+ margin-inline: auto;
61
+ padding-block-start: 1.5rem;
62
+ margin-block-end: 0;
63
+ /* padding-block-end: 1.5rem; */
64
+ /* padding-inline: calc(var(--baseline) / 2); deprecated but still checking */
65
+ padding-inline: 0;
66
+ text-transform: capitalize;
67
+
68
+ a {
69
+ display: inline;
70
+ }
71
+ }
72
+ }
73
+
74
+ .react-aria-Breadcrumbs {
75
+ max-width: var(--pelican);
76
+ margin-inline: auto; /* overwrite nav */
77
+ display: flex;
78
+ flex-flow: row wrap;
79
+ list-style: none; /* reset */
80
+ margin-block-end: 0;
81
+ padding-inline: var(--kosciuszko); /* overwrite nav */
82
+ padding-block: var(--kilimanjaro);
83
+ text-transform: capitalize;
84
+
85
+ li {
86
+ /* ? is this needed its a flex */
87
+ display: inline;
88
+
89
+ li:not(:last-child)::after {
90
+ margin-inline: var(--vinson);
91
+ content: ">";
92
+ }
93
+ }
94
+ }
95
+
96
+ .tour__minimum {
97
+ display: flex;
98
+ flex-flow: row wrap;
99
+ gap: 1rem;
100
+ align-items: center;
101
+ }
102
+
103
+ /*------------------*/
104
+ /* #FEATURES */
105
+ /*------------------*/
106
+
107
+ .features {
108
+ text-transform: uppercase;
109
+ font-size: 1rem;
110
+
111
+ ul {
112
+ list-style: none;
113
+ padding-inline-start: 0;
114
+
115
+ li {
116
+ height: 2lh;
117
+ margin-block-end: 1lh;
118
+
119
+ @supports not (margin: 1lh) {
120
+ height: 2.5rem;
121
+ margin-block-end: 1.25rem;
122
+ }
123
+ }
124
+
125
+ li:last-child {
126
+ border-bottom: none;
127
+ }
128
+ }
129
+ }
130
+
131
+ /*------------------------------------*/
132
+ /* #FAQ */
133
+ /*------------------------------------*/
134
+ /* TODO: a lot of this is repeated with other typography */
135
+
136
+ .faq {
137
+ padding-inline-start: 0; /* reset */
138
+
139
+ li {
140
+ list-style: none;
141
+ border-bottom: 1px solid var(--tin-soldier);
142
+ margin-block-end: 1.5rem;
143
+ }
144
+
145
+ li:last-child {
146
+ border-bottom: none;
147
+ }
148
+
149
+ /* question */
150
+ h2 {
151
+ font-size: 1.25rem;
152
+ line-height: 1.875rem;
153
+ margin-block-end: 0.625rem;
154
+ }
155
+
156
+ /* answer */
157
+ h3 {
158
+ font-size: 1rem;
159
+ line-height: 1.25;
160
+ font-weight: normal;
161
+ margin-block-end: 0.625rem;
162
+ }
163
+ }
164
+
165
+ /*------------------*/
166
+ /* #BRANDS */
167
+ /*------------------*/
168
+
169
+ .brand_list {
170
+ list-style: none;
171
+ padding: 0;
172
+ padding-inline: 0.75rem;
173
+ display: grid;
174
+
175
+ /* grid-template-columns: 1fr 1fr; */
176
+ /* this doesnt work on the home page as its wider so it can fill its won space */
177
+ /* grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); guess and check */
178
+ grid-template-columns: repeat(
179
+ auto-fill,
180
+ minmax(8rem, 1fr)
181
+ ); /* guess and check */
182
+ gap: 1rem;
183
+
184
+ @media (min-width: 30rem) {
185
+ /* grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); */
186
+ grid-template-columns: repeat(
187
+ auto-fill,
188
+ minmax(12rem, 1fr)
189
+ ); /* guess and check this seems best on front page */
190
+ }
191
+
192
+ > li {
193
+ flex: 1 1 10rem;
194
+ border-radius: 0.25rem;
195
+ margin-block-end: 0;
196
+
197
+ > a {
198
+ display: flex;
199
+ flex-direction: column;
200
+ place-items: stretch;
201
+ transition: var(--fade);
202
+ text-align: center;
203
+ width: 100%;
204
+ height: 100%; /* this goes waaaay to big .. but it needs something */
205
+ align-self: end;
206
+ text-decoration: none;
207
+ text-transform: uppercase;
208
+ font-family: var(--heading_font);
209
+ font-weight: 400;
210
+ display: grid;
211
+
212
+ /* I know it breaks the inception rule its very short */
213
+ > p {
214
+ align-self: end;
215
+ }
216
+ }
217
+
218
+ svg {
219
+ transition: var(--fade);
220
+ margin: var(--baseline);
221
+ min-width: 3rem; /* guess and check */
222
+
223
+ @media (min-width: 20rem) {
224
+ min-width: 4rem; /* guess and check */
225
+ }
226
+
227
+ @media (min-width: 30rem) {
228
+ min-width: 8rem; /* guess and check */
229
+ }
230
+ }
231
+ }
232
+ }
@@ -5,6 +5,8 @@
5
5
  svg {
6
6
  width: 100%;
7
7
  height: 100%;
8
+ min-width: var(--everest); /* safari needs default mins */
9
+ min-height: var(--everest); /* safari needs default mins */
8
10
  max-width: clamp(var(--kilimanjaro), 5vw, 5rem);
9
11
  max-height: clamp(var(--kilimanjaro), 5vw, 5rem);
10
12
  }
@@ -16,7 +18,7 @@ svg {
16
18
  .logo-container {
17
19
  margin: 0 auto;
18
20
  display: flex;
19
- /* gap: 1rem; // dont run a gap as the sr-only h1 uses it */
21
+ /* gap: dont run a gap as the sr-only h1 uses it */
20
22
  justify-content: center;
21
23
  clip-path: inset(0 -100vmax);
22
24
  z-index: var(--understory);
@@ -137,3 +139,25 @@ svg {
137
139
  fill: #34e0a1;
138
140
  }
139
141
  }
142
+
143
+ /*------------------*/
144
+ /* #IMAGE */
145
+ /*------------------*/
146
+
147
+ .img__wrapped {
148
+ border-radius: 0.25rem;
149
+ box-shadow: var(--penumbra);
150
+ }
151
+
152
+ .crop {
153
+ clip-path: polygon(0 0, 100% 0, 0 100%);
154
+ }
155
+
156
+ /*------------------*/
157
+ /* #MAP */
158
+ /*------------------*/
159
+
160
+ .map-svg {
161
+ max-width: 100%;
162
+ max-height: 100%;
163
+ }
@@ -0,0 +1,124 @@
1
+ /*------------------*/
2
+ /* #PRICING CHART */
3
+ /*------------------*/
4
+
5
+ .pricing-chart {
6
+ display: flex;
7
+ text-align: center;
8
+
9
+ /* columns */
10
+ > * {
11
+ display: flex;
12
+ flex: 1 1 10rem;
13
+ flex-direction: column;
14
+
15
+ /* rows */
16
+ > * {
17
+ > * {
18
+ margin: 0;
19
+ }
20
+ }
21
+
22
+ /* first row */
23
+ > *:first-child {
24
+ margin: 0;
25
+ border-top: none;
26
+ }
27
+ }
28
+
29
+ h2,
30
+ h4,
31
+ p {
32
+ font-size: clamp(0.75rem, 1.25vw, 1.5rem);
33
+ line-height: clamp(1rem, 1.5vw, 2rem);
34
+ padding: clamp(0.5rem, 1vw, 1rem);
35
+ }
36
+
37
+ h4 {
38
+ margin: 0.25px;
39
+ }
40
+
41
+ p {
42
+ font-size: 0.75rem;
43
+ margin: 0.25px;
44
+ }
45
+
46
+ h4 span {
47
+ display: flex;
48
+ flex-direction: column;
49
+ white-space: nowrap;
50
+ }
51
+
52
+ p span {
53
+ white-space: nowrap;
54
+ }
55
+
56
+ *:last-child > * {
57
+ border-right: none;
58
+ }
59
+ }
60
+
61
+ .charts {
62
+ .pricing-chart:not(:last-child) {
63
+ margin-block-end: 0;
64
+ }
65
+
66
+ .pricing-chart:last-child {
67
+ margin-block-end: 1.5rem;
68
+
69
+ p {
70
+ border-block-end: none;
71
+ }
72
+
73
+ p:last-child {
74
+ border-inline-end: none;
75
+ }
76
+ }
77
+ }
78
+
79
+ /*------------------*/
80
+ /* #RENTAL CHART */
81
+ /*------------------*/
82
+
83
+ .rental-chart {
84
+ display: grid;
85
+ text-align: center;
86
+ margin-block-end: 1.5rem;
87
+
88
+ .row {
89
+ display: grid;
90
+ gap: 0;
91
+ margin: 0;
92
+ grid-template-columns: repeat(auto-fit, minmax(4rem, 1fr));
93
+
94
+ /* box */
95
+ > * {
96
+ padding: clamp(0.5rem, 1vw, 1rem);
97
+ }
98
+
99
+ > *:last-child {
100
+ border-inline-end: none;
101
+ }
102
+ }
103
+
104
+ .row:last-child {
105
+ > * {
106
+ border-block-end: none;
107
+ }
108
+ }
109
+
110
+ .row-header {
111
+ font-weight: bold;
112
+ }
113
+
114
+ h4 {
115
+ margin: 0.25px;
116
+ font-size: clamp(0.75rem, 1.25vw, 1.5rem);
117
+ line-height: clamp(1rem, 1.5vw, 2rem);
118
+ }
119
+
120
+ p {
121
+ font-size: 0.75rem;
122
+ margin: 0.25px;
123
+ }
124
+ }
@@ -1,5 +1,6 @@
1
1
  /*------------------------------------*\
2
- #Typography
2
+ #TYPOGRAPHY
3
+ /* TODO: Im not happy with this */
3
4
  /*------------------------------------*/
4
5
 
5
6
  body {
@@ -30,7 +31,8 @@ h6 {
30
31
  font-weight: 400;
31
32
  }
32
33
 
33
- h1 {
34
+ h1,
35
+ .everest {
34
36
  margin-top: 0; /* browser reset */
35
37
  font-size: 3rem; /* 48px */
36
38
  line-height: 3.75rem; /* 60px */
@@ -134,8 +136,7 @@ p {
134
136
  }
135
137
 
136
138
  .two-small-lines {
137
- margin-bottom: 0.5rem; /* 8px */
138
- /* two lines 40px */
139
+ margin-bottom: 0.5rem; /* TODO: */
139
140
  }
140
141
 
141
142
  /*------------------*/
@@ -188,7 +189,7 @@ hr.no {
188
189
  hgroup {
189
190
  display: flex;
190
191
  flex-flow: row wrap;
191
- column-gap: 1ch;
192
+ column-gap: 1ch; /* TODO: */
192
193
  align-items: baseline;
193
194
  }
194
195
 
@@ -205,7 +206,7 @@ hgroup {
205
206
 
206
207
  .brow {
207
208
  order: 1;
208
- margin-block-end: 1rem;
209
+ margin-block-end: var(--vinson);
209
210
  }
210
211
 
211
212
  .supra {
@@ -222,8 +223,25 @@ hgroup {
222
223
  }
223
224
 
224
225
  select {
225
- font-size: 1rem;
226
+ font-size: var(--vinson);
226
227
  font-family: var(--body_font);
227
228
  margin-block-end: var(--elbrus);
228
229
  margin-block-end: 0;
230
+ /* A reset of styles, including removing the default dropdown arrow */
231
+ appearance: none;
232
+ /* Additional resets for further consistency */
233
+ background-color: transparent;
234
+ border: none;
235
+ padding: 0 var(--vinson) 0 0;
236
+ margin: 0;
237
+ width: 100%;
238
+ cursor: inherit;
239
+ line-height: inherit;
240
+ }
241
+
242
+ /*------------------*/
243
+
244
+ /* fixes a bug with new lines */
245
+ .react-markdown {
246
+ white-space: pre-wrap;
229
247
  }
@@ -0,0 +1,44 @@
1
+ /*------------------*/
2
+ /* #VISIBILITY */
3
+ /*------------------*/
4
+
5
+ .pricing-chart__false {
6
+ display: none;
7
+ }
8
+
9
+ .menu__large {
10
+ padding-inline: var(--baseline);
11
+
12
+ @media (max-width: 40rem) {
13
+ display: none;
14
+ }
15
+ }
16
+
17
+ @media (min-width: 40rem) {
18
+ .menu__small {
19
+ display: none;
20
+ }
21
+ }
22
+
23
+ .possibly-empty:empty {
24
+ display: none;
25
+ }
26
+
27
+ /* used in the compare tables */
28
+ .show-below__vulture {
29
+ @media (min-width: 30rem) {
30
+ display: none;
31
+ }
32
+ }
33
+
34
+ .no-below-vulture {
35
+ @media (max-width: 30rem) {
36
+ display: none;
37
+ }
38
+ }
39
+
40
+ .only-below-vulture {
41
+ @media (min-width: 30rem) {
42
+ display: none;
43
+ }
44
+ }