Skip to content

Commit 8a2dd02

Browse files
Ultrawide screens (#16)
1 parent df19c40 commit 8a2dd02

File tree

8 files changed

+56
-43
lines changed

8 files changed

+56
-43
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPACE Career Fair Website
2+
3+
[space.acmucsd.com](https://space.acmucsd.com)
4+
15
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
26

37
## Getting Started

src/components/CompaniesGrid/style.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
@use "src/styles/vars.scss" as vars;
1+
@use 'src/styles/vars.scss' as vars;
22

33
.container {
44
display: grid;
5+
max-width: 1440px;
6+
margin: 0 auto;
57
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
68
margin-top: 4rem;
79
row-gap: 1.7rem;

src/sections/About/style.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
.content {
99
position: relative;
1010
z-index: 100;
11+
max-width: 1440px;
12+
margin: 0 auto;
1113
}
1214
}

src/sections/Companies/style.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use "src/styles/vars.scss" as vars;
1+
@use 'src/styles/vars.scss' as vars;
22

33
.container {
44
background: linear-gradient(180deg, vars.$pink 30%, vars.$blue 160%);
@@ -11,5 +11,7 @@
1111
font-weight: 600;
1212
color: vars.$white;
1313
text-align: center;
14+
max-width: 1440px;
15+
margin: 0 auto;
1416
}
1517
}

src/sections/FAQ/style.module.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@use "src/styles/vars.scss" as vars;
2-
@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");
1+
@use 'src/styles/vars.scss' as vars;
2+
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
33

44
.background {
55
background-image: linear-gradient(180deg, vars.$blue 15%, vars.$pink 100%);
@@ -8,8 +8,9 @@
88
}
99

1010
.faqContainer {
11+
max-width: 1440px;
12+
margin: 0 auto;
1113
color: white;
12-
margin: auto;
1314
width: 65%;
1415
padding-top: 10px;
1516
padding-bottom: 50px;

src/sections/Hero/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const Hero: React.FC = () => {
4141
target="_blank"
4242
rel="noopener noreferrer"
4343
>
44-
Register Today!
44+
Student Registration
4545
</a>
4646
</div>
4747
</div>

src/sections/Hero/style.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use "src/styles/vars.scss" as vars;
1+
@use 'src/styles/vars.scss' as vars;
22

33
.heroContainer {
44
background-image: linear-gradient(180deg, vars.$blue 15%, vars.$pink 98%);
@@ -7,6 +7,7 @@
77

88
.heroTitle {
99
position: absolute;
10+
width: 100%;
1011
top: 18%;
1112
z-index: 1;
1213
}
@@ -40,6 +41,7 @@
4041
margin-top: 11vw;
4142
padding: 0 2rem;
4243
z-index: 2;
44+
text-shadow: 0 0 4px vars.$black;
4345

4446
.heroSubtitle {
4547
line-height: 100%;

src/styles/reset.scss

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
html {
22
-ms-text-size-adjust: 100%;
33
-webkit-text-size-adjust: 100%;
4-
font: 112.5%/1.45em "DM Sans", sans-serif;
4+
font: 112.5%/1.45em 'DM Sans', sans-serif;
55
box-sizing: border-box;
66
overflow-y: scroll;
77
scroll-behavior: smooth;
@@ -16,14 +16,14 @@ body {
1616
-webkit-font-smoothing: antialiased;
1717
-moz-osx-font-smoothing: grayscale;
1818
color: hsla(0, 0%, 0%, 0.8);
19-
font-family: "DM Sans", sans-serif;
19+
font-family: 'DM Sans', sans-serif;
2020
font-weight: normal;
2121
word-wrap: break-word;
2222
font-kerning: normal;
23-
-moz-font-feature-settings: "kern", "liga", "clig", "calt";
24-
-ms-font-feature-settings: "kern", "liga", "clig", "calt";
25-
-webkit-font-feature-settings: "kern", "liga", "clig", "calt";
26-
font-feature-settings: "kern", "liga", "clig", "calt";
23+
-moz-font-feature-settings: 'kern', 'liga', 'clig', 'calt';
24+
-ms-font-feature-settings: 'kern', 'liga', 'clig', 'calt';
25+
-webkit-font-feature-settings: 'kern', 'liga', 'clig', 'calt';
26+
font-feature-settings: 'kern', 'liga', 'clig', 'calt';
2727
}
2828
article,
2929
aside,
@@ -87,7 +87,7 @@ h1 {
8787
padding-top: 0;
8888
margin-bottom: 1.45rem;
8989
color: inherit;
90-
font-family: "DM Sans", sans-serif;
90+
font-family: 'DM Sans', sans-serif;
9191
font-weight: bold;
9292
text-rendering: optimizeLegibility;
9393
font-size: 2.25rem;
@@ -179,22 +179,22 @@ button,
179179
select {
180180
text-transform: none;
181181
}
182-
[type="reset"],
183-
[type="submit"],
182+
[type='reset'],
183+
[type='submit'],
184184
button,
185-
html [type="button"] {
185+
html [type='button'] {
186186
-webkit-appearance: button;
187187
}
188-
[type="button"]::-moz-focus-inner,
189-
[type="reset"]::-moz-focus-inner,
190-
[type="submit"]::-moz-focus-inner,
188+
[type='button']::-moz-focus-inner,
189+
[type='reset']::-moz-focus-inner,
190+
[type='submit']::-moz-focus-inner,
191191
button::-moz-focus-inner {
192192
border-style: none;
193193
padding: 0;
194194
}
195-
[type="button"]:-moz-focusring,
196-
[type="reset"]:-moz-focusring,
197-
[type="submit"]:-moz-focusring,
195+
[type='button']:-moz-focusring,
196+
[type='reset']:-moz-focusring,
197+
[type='submit']:-moz-focusring,
198198
button:-moz-focusring {
199199
outline: 1px dotted ButtonText;
200200
}
@@ -221,21 +221,21 @@ legend {
221221
textarea {
222222
overflow: auto;
223223
}
224-
[type="checkbox"],
225-
[type="radio"] {
224+
[type='checkbox'],
225+
[type='radio'] {
226226
box-sizing: border-box;
227227
padding: 0;
228228
}
229-
[type="number"]::-webkit-inner-spin-button,
230-
[type="number"]::-webkit-outer-spin-button {
229+
[type='number']::-webkit-inner-spin-button,
230+
[type='number']::-webkit-outer-spin-button {
231231
height: auto;
232232
}
233-
[type="search"] {
233+
[type='search'] {
234234
-webkit-appearance: textfield;
235235
outline-offset: -2px;
236236
}
237-
[type="search"]::-webkit-search-cancel-button,
238-
[type="search"]::-webkit-search-decoration {
237+
[type='search']::-webkit-search-cancel-button,
238+
[type='search']::-webkit-search-decoration {
239239
-webkit-appearance: none;
240240
}
241241
::-webkit-input-placeholder {
@@ -265,7 +265,7 @@ h2 {
265265
padding-top: 0;
266266
margin-bottom: 1.45rem;
267267
color: inherit;
268-
font-family: "DM Sans", sans-serif;
268+
font-family: 'DM Sans', sans-serif;
269269
font-weight: bold;
270270
text-rendering: optimizeLegibility;
271271
font-size: 1.62671rem;
@@ -281,7 +281,7 @@ h3 {
281281
padding-top: 0;
282282
margin-bottom: 1.45rem;
283283
color: inherit;
284-
font-family: "DM Sans", sans-serif;
284+
font-family: 'DM Sans', sans-serif;
285285
font-weight: bold;
286286
text-rendering: optimizeLegibility;
287287
font-size: 1.38316rem;
@@ -297,7 +297,7 @@ h4 {
297297
padding-top: 0;
298298
margin-bottom: 1.45rem;
299299
color: inherit;
300-
font-family: "DM Sans", sans-serif;
300+
font-family: 'DM Sans', sans-serif;
301301
font-weight: bold;
302302
text-rendering: optimizeLegibility;
303303
font-size: 1rem;
@@ -313,7 +313,7 @@ h5 {
313313
padding-top: 0;
314314
margin-bottom: 1.45rem;
315315
color: inherit;
316-
font-family: "DM Sans", sans-serif;
316+
font-family: 'DM Sans', sans-serif;
317317
font-weight: bold;
318318
text-rendering: optimizeLegibility;
319319
font-size: 0.85028rem;
@@ -329,7 +329,7 @@ h6 {
329329
padding-top: 0;
330330
margin-bottom: 1.45rem;
331331
color: inherit;
332-
font-family: "DM Sans", sans-serif;
332+
font-family: 'DM Sans', sans-serif;
333333
font-weight: bold;
334334
text-rendering: optimizeLegibility;
335335
font-size: 0.78405rem;
@@ -546,10 +546,10 @@ td,
546546
th {
547547
text-align: left;
548548
border-bottom: 1px solid hsla(0, 0%, 0%, 0.12);
549-
font-feature-settings: "tnum";
550-
-moz-font-feature-settings: "tnum";
551-
-ms-font-feature-settings: "tnum";
552-
-webkit-font-feature-settings: "tnum";
549+
font-feature-settings: 'tnum';
550+
-moz-font-feature-settings: 'tnum';
551+
-ms-font-feature-settings: 'tnum';
552+
-webkit-font-feature-settings: 'tnum';
553553
padding-left: 0.96667rem;
554554
padding-right: 0.96667rem;
555555
padding-top: 0.725rem;
@@ -567,8 +567,8 @@ tt,
567567
code {
568568
background-color: hsla(0, 0%, 0%, 0.04);
569569
border-radius: 3px;
570-
font-family: "SFMono-Regular", Consolas, "Roboto Mono", "Droid Sans Mono",
571-
"Liberation Mono", Menlo, Courier, monospace;
570+
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier,
571+
monospace;
572572
padding: 0;
573573
padding-top: 0.2em;
574574
padding-bottom: 0.2em;
@@ -582,13 +582,13 @@ code:after,
582582
tt:before,
583583
tt:after {
584584
letter-spacing: -0.2em;
585-
content: " ";
585+
content: ' ';
586586
}
587587
pre code:before,
588588
pre code:after,
589589
pre tt:before,
590590
pre tt:after {
591-
content: "";
591+
content: '';
592592
}
593593
@media only screen and (max-width: 480px) {
594594
html {

0 commit comments

Comments
 (0)