Display Flex

This commit is contained in:
James Dinh 2022-05-30 01:14:22 -07:00
parent ab0537f247
commit dd1a185729
2 changed files with 12 additions and 6 deletions

View File

@ -297,22 +297,29 @@ section {
#event-container { #event-container {
display: flex; display: flex;
flex: row wrap; flex-wrap: wrap;
margin-top: 20px; margin-top: 20px;
justify-content: center;
} }
#event-description { #event-description {
padding: 10px; padding: 10px;
max-width: 700px; max-width: 700px;
min-width: 400px;
text-align: left; text-align: left;
} }
.list {
padding-left: 20px;
}
.list li{ .list li{
margin: 10px 0; margin: 10px 0;
} }
#steps-card { #steps-card {
width: 300px; width: fit-content;
min-width: 300px;
border-radius: 5px; border-radius: 5px;
background-color: #0d1117; background-color: #0d1117;
background-color: #1e2227; background-color: #1e2227;
@ -323,11 +330,10 @@ section {
} }
#steps-list { #steps-list {
list-style: inside; padding-left: 10px;
} }
#steps-list li{ #steps-list li{
list-style: inside;
margin: 10px 0 30px; margin: 10px 0 30px;
} }

View File

@ -95,13 +95,13 @@
<article> <article>
<h3 id="steps-header">STEPS</h3> <h3 id="steps-header">STEPS</h3>
<div id="steps-card"> <div id="steps-card">
<ul class="list" id="steps-list"> <ol class="list" id="steps-list">
<li>Sign up w/ <a class="link" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7">form</a></li> <li>Sign up w/ <a class="link" target="_blank" href="https://forms.gle/coK7q43RwBV2f15i7">form</a></li>
<li>Join the Discord</li> <li>Join the Discord</li>
<li>Create/join a team</li> <li>Create/join a team</li>
<li>Start discussing ideas for a project</li> <li>Start discussing ideas for a project</li>
<li>Wait for the hackathon to start!</li> <li>Wait for the hackathon to start!</li>
</ul> </ol>
</div> </div>
</article> </article>
</div> </div>