Skip to content

Commit 0f0ffe5

Browse files
committed
revert to pre-backmerge changes
1 parent 3f0f662 commit 0f0ffe5

1 file changed

Lines changed: 18 additions & 122 deletions

File tree

src/index.scss

Lines changed: 18 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
$desktop-width: 1100px;
44
$tablet-width: 720px;
55
$blue: #465491;
6+
$white: #FFFFFF;
67

78
/*
89
tablet & mobile have the column layout
@@ -97,7 +98,7 @@ a:hover{
9798

9899
body{
99100
margin: 0;
100-
font-family: Poppins, sans-serif;
101+
font-family: Poppins;
101102
}
102103

103104
html, body, #root, #app, .full-height{
@@ -272,18 +273,6 @@ html, body, #root, #app, .full-height{
272273
font-size: 3.25vw;
273274
font-weight: 500;
274275

275-
&::placeholder{ /* this refers to the input placeholder text (enter your email...)*/
276-
color: $blue;
277-
transition: color 0.4s;
278-
}
279-
&:focus::placeholder{
280-
color: transparent;
281-
}
282-
}
283-
.mailchimp-button{
284-
height: 30px;
285-
width: 30px;
286-
287276
@include tablet {
288277
height: 30px;
289278
font-size: 14px;
@@ -295,120 +284,27 @@ html, body, #root, #app, .full-height{
295284
border-width: 1px;
296285
border-color: $blue;
297286

298-
background-color: white;
287+
background-color: $white;
299288
background-image: url(./input-arrow.svg);
300289
background-repeat: no-repeat;
301290

302291
outline: none;
303292
transition: 0.1s; /* see: min-width: media query */
304-
}
305-
306-
/*desktop only*/
307-
@media (min-width: 1100px){
308-
.desktop-hide{
309-
display: none;
310-
}
311-
/* arrow moves slightly to the right on hover */
312-
.mailchimp-button:hover{
313-
background-position: 5.25px;
314-
transition: 0.1s;
315-
}
316-
}
317-
318-
/*
319-
tablet & mobile have the column layout
320-
tablet has fixed widths and font sizes
321-
mobile has scaling widths and font sizes
322-
*/
323-
324-
/*non-desktop*/
325-
@media (max-width: 1100px){
326-
.mobile-hide{
327-
display: none;
328-
}
329-
#mlh-badge{
330-
height: 150px;
331-
margin-left: 40px;
332-
}
333-
334-
.navigation{
335-
font-size: 12px;
336-
font-weight: 400;
337-
338-
color: white;
339-
background-color: $blue;
340-
}
341-
.navigation ul li{
342-
padding: 25px 15px;
343-
}
344-
.navigation ul li a{
345-
color: white;
346-
border-bottom-style: solid;
347-
border-color: transparentize(white, 1);
348-
}
349-
.navigation ul li a:hover{
350-
border-color: transparentize(white, 1);
351-
}
352-
.navigation ul li a:active{
353-
border-color: transparentize(white, 0);
354-
}
355-
356-
.section{
357-
flex-direction: column;
358-
}
359-
}
360-
361-
/*mobile*/
362-
@media (max-width: 720px){
363-
.navigation{
364-
/*no scaling for very short devices,
365-
scaling matching the mlh badge scaling for avg devices,
366-
high scaling for very tall devices
367-
*/
368-
margin-bottom: unquote("max(0px, 10vh - 40px, 0px, 30vh - 190px)");
369-
}
370-
#mlh-badge{
371-
/*68 px is the current height of the nav bar
372-
will think of a better way to structure this later*/
373-
width: default;
374-
height: unquote("max(68px, 35px + 10vh)");
375-
margin-left: 15px;
376-
}
377-
378-
/*
379-
note: development on a mac may not have all font-weights,
380-
lines of text may be wider than they appear
381-
*/
382-
#hackathon-name{
383-
height: 14.1vw;
384-
font-size: 13vw;
385-
}
386-
#hackathon-description{
387-
height: 8.2vw;
388-
font-size: 6.3vw;
389-
}
390-
#hackathon-info{
391-
height: 4vw;
392-
font-size: 3.2vw;
393-
}
394-
395-
.hero-img{
396-
/* slightly smaller hero img for shorter screens */
397-
min-width: 80%;
398-
width: unquote("min(50vh, 90%)");
399-
}
400-
401-
.mailchimp-container{
402-
width: 80vw;
403-
404-
margin-top: 1vh;
293+
294+
height: 9vw;
295+
width: 9vw;
296+
border-radius: 4.5vw;
297+
margin-right: 1.5vw;
298+
background-position: 1.5vw;
299+
background-size: 5vw;
405300

406-
height: 12vw;
407-
border-radius: 6vw;
408-
}
409-
.mailchimp-input{
410-
height: 7vw;
411-
font-size: 3.25vw;
301+
@include tablet {
302+
height: 30px;
303+
width: 30px;
304+
margin-right: 5px;
305+
border-radius: 15px;
306+
background-position: 3.75px;
307+
background-size: 18px;
412308
}
413309

414310
@include desktop {
@@ -422,4 +318,4 @@ mobile has scaling widths and font sizes
422318

423319
::placeholder{ /* this refers to the input placeholder text (enter your email...)*/
424320
color: $blue;
425-
}
321+
}

0 commit comments

Comments
 (0)