Skip to content

Commit cd14e95

Browse files
authored
Merge pull request #1056 from codeRIT/bh-1055
Contact us tag retains position despite right-side FAQ cards
2 parents 62cf18a + cfafa86 commit cd14e95

2 files changed

Lines changed: 36 additions & 10 deletions

File tree

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ <h1>Frequently Asked Questions</h1>
256256
<p>Maybe next year we'll have AI run the event...</p>
257257
</div>
258258
</div>
259+
<p id="contact-desktop" class="contact">Don't see your question here? <a href="mailto:hello@coderit.org">Contact Us</a></p>
259260
</div>
260261
<div id="faq-cards-right">
261262
<div class="card">
@@ -300,7 +301,7 @@ <h1>Frequently Asked Questions</h1>
300301
</div>
301302
</div>
302303
</div>
303-
<p id="contact">Don't see your question here? <a href="mailto:hello@coderit.org">Contact Us</a></p>
304+
<p id="contact-laptop" class="contact">Don't see your question here? <a href="mailto:hello@coderit.org">Contact Us</a></p>
304305
</div>
305306
</section>
306307
<section id="leadership">

sass/main.scss

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ nav {
586586
}
587587
}
588588
}
589-
#contact {
589+
.contact {
590590
a {
591591
text-transform: uppercase;
592592
color: $red;
@@ -596,6 +596,12 @@ nav {
596596
}
597597
}
598598
}
599+
#contact-desktop {
600+
display: block;
601+
}
602+
#contact-laptop {
603+
display: none;
604+
}
599605
}
600606
}
601607

@@ -856,19 +862,38 @@ footer {
856862
#hackathon-text {
857863
width: 100%;
858864
}
865+
}
859866

860-
#hackathon-buttons {
861-
flex-direction: row;
862-
justify-content: center;
863-
width: 70%;
867+
#hackathon-buttons {
868+
flex-direction: row;
869+
justify-content: center;
870+
width: 70%;
864871

865-
a {
866-
margin: 10px;
867-
}
872+
a {
873+
margin: 10px;
868874
}
869875
}
870876
}
871877

878+
#faq #faq-wrapper {
879+
#faq-cards {
880+
flex-direction: column;
881+
882+
&-left, &-right {
883+
margin: 0;
884+
width: 100%;
885+
}
886+
}
887+
888+
#contact-desktop {
889+
display: none;
890+
}
891+
892+
#contact-laptop {
893+
display: block;
894+
}
895+
}
896+
872897
#schedule #schedule-block {
873898
width: 90%;
874899
}
@@ -1188,7 +1213,7 @@ footer {
11881213
white-space: nowrap;
11891214
}
11901215

1191-
#contact {
1216+
.contact {
11921217
text-align: center;
11931218
}
11941219
}

0 commit comments

Comments
 (0)