Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
172 changes: 172 additions & 0 deletions hackathon_site/event/jinja2/event/faq_styles.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
<style>
#faq.faq-panel {
position: relative;
isolation: isolate;
/* Expanding an answer should not make the browser shift the scroll position. */
overflow-anchor: none;
overflow: hidden;
padding: 42px 36px 48px;
border: 1px solid rgba(72, 160, 175, 0.65);
border-radius: 28px;
background: #003650;
color: #fff;
}
#faq.faq-panel h3 {
position: relative;
z-index: 1;
margin: 0 0 40px;
}

.faq-grid {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
align-items: start;
gap: 24px;
}

.faq-column {
display: flex;
flex-direction: column;
gap: 18px;
min-width: 0;
}

.faq-card {
/* Keep the top in normal flow and let only the bottom expand downward. */
flex-shrink: 0;
border: 1px solid #48a0af;
border-radius: 16px;
background: rgba(0, 54, 80, 0.94);
overflow: hidden;
}
.faq-card summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
min-height: 72px;
padding: 14px 24px;
font-weight: 700;
line-height: 1.45;
cursor: pointer;
list-style: none;
}
.faq-card summary::-webkit-details-marker {
display: none;
}
.faq-card summary:hover {
background: rgba(72, 160, 175, 0.14);
}
.faq-card summary:focus-visible {
outline: 3px solid #f0ab3a;
outline-offset: -5px;
}
.faq-card[open] {
border-color: #f0ab3a;
}
.faq-card[open] .faq-arrow { transform: rotate(225deg); }
.faq-arrow {
width: 10px;
height: 10px;
margin: 0 5px;
flex-shrink: 0;
border-right: 2px solid #f0ab3a;
border-bottom: 2px solid #f0ab3a;
transform: rotate(45deg);
transition: transform 0.2s ease;
}
.faq-answer {
padding: 0 24px 24px;
line-height: 1.7;
color: #ddeeff;
}
.faq-answer a {
color: #f0ab3a;
text-decoration: underline;
overflow-wrap: anywhere;
}

.faq-binary {
position: absolute;
z-index: 0;
inset: 33.333% 0 0;
display: grid;
grid-template-columns: repeat(72, minmax(0, 1fr));
grid-template-rows: repeat(29, minmax(18px, 1fr));
align-content: end;
overflow: hidden;
font: 15px/18px monospace;
text-align: center;
pointer-events: none;
user-select: none;
color: #5885a3;
opacity: 0.45;
mask-image: linear-gradient(to bottom, transparent, #000 35%);
}
.faq-binary span {
opacity: var(--o);
}
.faq-binary .pulse {
animation: faq-pulse var(--t) ease-in-out var(--d) infinite;
}

@keyframes faq-pulse {
0%, 100% {
opacity: var(--o);
}
50% {
opacity: var(--k);
text-shadow: 0 0 6px rgba(88, 133, 163, 0.4);
}
}
@media (max-width: 992px) {
.faq-binary {
grid-template-columns: repeat(48, minmax(0, 1fr));
}

.faq-binary .faq-desktop-column {
display: none;
}
}
@media (max-width: 600px) {
.faq-binary {
grid-template-columns: repeat(32, minmax(0, 1fr));
}

.faq-binary .faq-wide-column {
display: none;
}

#faq.faq-panel {
padding: 32px 16px 36px;
border-radius: 20px;
}

.faq-grid {
grid-template-columns: minmax(0, 1fr);
gap: 18px;
}

.faq-card summary {
min-height: 64px;
padding: 12px 18px;
}

.faq-answer {
padding: 0 18px 20px;
}
}
@media (prefers-reduced-motion: reduce) {
.faq-binary .pulse {
animation: none;
}

.faq-arrow {
transition: none;
}
}

#faq summary::marker { content: ""; }
</style>
138 changes: 41 additions & 97 deletions hackathon_site/event/jinja2/event/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
const registrationCloseDate = new Date("{{ localtime(registration_close_date)|strftime('%b %-d, %Y, %H:%M:%S') }}");
const eventStartDate = new Date("{{ localtime(event_start_date)|strftime('%b %-d, %Y, %H:%M:%S') }}");
</script>
{% include "event/faq_styles.html" %}
<!-- Select2 CSS (MLH interest form) -->
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css" rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="{{ static('event/styles/css/select2.css') }}"/>
Expand Down Expand Up @@ -291,105 +292,48 @@ <h4 class="white-text" style="text-align:center; flex-grow:1;">
<br /><br /><br />

<div class="container colorScroll" data-background-color="#003650">
<div class="section scrollspy" id="faq">
<div class="row">
<div class="col s12 m12 center">
<h3 class="center">FAQ</h3>
</div>
<div class="col s12 m6">
<ul class="collapsible expandable">
<li>
<div class="collapsible-header">
What is a makeathon?
</div>
<div class="collapsible-body">
<span>
A makeathon is like a hackathon but more hands-on. It involves the integration of hardware and software to build a working device that could be used in any application from gaming to solving a real life problem! As such, we require all participants to build some sort of physical device that is at the very least electrically powered or computer programmed.
</span>
</div>
</li>
<li>
<div class="collapsible-header">
What if I have no experience? Can I still come?
</div>
<div class="collapsible-body">
<span>
Yes! MakeUofT is for everyone, from beginners to veterans. You will have the opportunity to learn technical skills from industry mentors. Also, if you ever get stuck on your project just ask one of the mentors!
</span>
</div>
</li>
<li>
<div class="collapsible-header">
Will we receive hardware for the project?
</div>
<div class="collapsible-body">
<span>
Yes! Once you are accepted, each team will be able to select and sign out a wide range of hardware on our Hardware Signout Site <a href="https://hardware.makeuoft.ca" target="_blank">hardware.makeuoft.ca</a>. The site opens for ordering on the first day of the hackathon, you must be in a team of 2 to 4 to order from our inventory.
</span>
</div>
</li>
<li>
<div class="collapsible-header">
How do I apply with a team?
</div>
<div class="collapsible-body">
<span>
You only need to fill out your individual application, receive an acceptance, and form a team with other accepted hackers. Teams are not required in advance; you're welcome to form a team with other hackers on the first day of the event! When you demo, you will provide the names of all of your team members.
</span>
</div>
</li>

</ul>
<section class="section scrollspy faq-panel" id="faq" aria-labelledby="faq-title">
<div class="faq-binary" aria-hidden="true"></div>
<h3 class="center" id="faq-title">FAQ</h3>
<div class="faq-grid">
<div class="faq-column">
<details class="faq-card">
<summary><span>What is a makeathon?</span><span class="faq-arrow" aria-hidden="true"></span></summary>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick but can we make sure to have the correct new lines and indentations? e.g., <summary><span>What is a makeathon?</span><span class="faq-arrow" aria-hidden="true"></span></summary> should be

<summary>
   <span>What is a makeathon?</span>
   <span class="faq-arrow" aria-hidden="true"></span>
</summary>

instead

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you do this for all the code changes?

<div class="faq-answer">A makeathon is like a hackathon but more hands-on. It involves the integration of hardware and software to build a working device that could be used in any application from gaming to solving a real life problem! As such, we require all participants to build some sort of physical device that is at the very least electrically powered or computer programmed.</div>
</details>
<details class="faq-card">
<summary><span>What if I have no experience? Can I still come?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">Yes! MakeUofT is for everyone, from beginners to veterans. You will have the opportunity to learn technical skills from industry mentors. Also, if you ever get stuck on your project just ask one of the mentors!</div>
</details>
<details class="faq-card">
<summary><span>Will we receive hardware for the project?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">Yes! Once you are accepted, each team will be able to select and sign out a wide range of hardware on our Hardware Signout Site <a href="https://hardware.makeuoft.ca" target="_blank">hardware.makeuoft.ca</a>. The site opens for ordering on the first day of the hackathon, you must be in a team of 2 to 4 to order from our inventory.</div>
</details>
<details class="faq-card">
<summary><span>How do I apply with a team?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">You only need to fill out your individual application, receive an acceptance, and form a team with other accepted hackers. Teams are not required in advance; you're welcome to form a team with other hackers on the first day of the event! When you demo, you will provide the names of all of your team members.</div>
</details>
</div>

<div class="col s12 m6">
<ul class="collapsible">

<li>
<div class="collapsible-header">
Who can apply? When is the deadline to apply?
</div>
<div class="collapsible-body">
<span>
We're welcoming any students pursuing post-secondary education! Applications will open later this year. Acceptances will be internally decided on a rolling basis, so apply early to maximize your chances of getting accepted!
</span>
</div>
</li>

<li>
<div class="collapsible-header">
What size of team is allowed?
</div>
<div class="collapsible-body">
<span>
Feel free to make a team with 2 to 4 members, including yourself.
</span>
</div>
</li>
<li>
<div class="collapsible-header">
When can I expect to hear back?
</div>
<div class="collapsible-body">
<span>
Acceptances will be sent out on a rolling basis, so apply early!
</span>
</div>
</li>
<li>
<div class="collapsible-header">
Is the makeathon in-person?
</div>
<div class="collapsible-body">
<span>
This year (2026), MakeUofT will be fully in person. The event will be hosted at the University of Toronto St.George Campus in Myhal Centre for Engineering Innovation and Entrepreneurship (MY).
</span>
</div>
</li>
</ul>
<div class="faq-column">
<details class="faq-card">
<summary><span>Who can apply? When is the deadline to apply?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">We're welcoming any students pursuing post-secondary education! Applications will open later this year. Acceptances will be internally decided on a rolling basis, so apply early to maximize your chances of getting accepted!</div>
</details>
<details class="faq-card">
<summary><span>What size of team is allowed?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">Feel free to make a team with 2 to 4 members, including yourself.</div>
</details>
<details class="faq-card">
<summary><span>When can I expect to hear back?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">Acceptances will be sent out on a rolling basis, so apply early!</div>
</details>
<details class="faq-card">
<summary><span>Is the makeathon in-person?</span><span class="faq-arrow" aria-hidden="true"></span></summary>
<div class="faq-answer">This year (2027), MakeUofT will be fully in person. The event will be hosted at the University of Toronto St.George Campus in Myhal Centre for Engineering Innovation and Entrepreneurship (MY).</div>
</details>
</div>
</div>
</div>
</section>
</div>
<br /><br /><br />

Expand Down Expand Up @@ -493,7 +437,7 @@ <h3 class="row center">Contact Us</h3>
</script>
<script src="{{ static('event/js/sponsors-data.js') }}"></script>
<script src="{{ static('event/js/sponsors-component.js') }}"></script>
<script src="{{ static('event/js/landing.js') }}"></script>
<script src="{{ static('event/js/landing.js') }}?v=faq-slide-9"></script>

<!-- Select2 JS for the MLH interest form -->
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js"></script>
Expand Down
Loading
Loading