Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#149 Update Constitution links and pdf #166

Merged
merged 6 commits into from
Sep 6, 2021
Merged
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
3 changes: 3 additions & 0 deletions _data/redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- source: /sponsor
destination: /CSS_Sponsorship.pdf

# constitution
- source: /constitution
destination: /constitution.pdf

# social
- source: /facebook
Expand Down
28 changes: 17 additions & 11 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,23 @@ <h4><i class="fab fa-github"></i> GitHub</h4>
<p class="emoji-bullet">🏆 Inspirational Committee Member, Jack Wearden, CSS President (2016)</p>
</div>


<h2>Constitution 📄</h2>
<p>CSS is part of the <a href=/guild>Guild of Students</a>. 🙌</p>
<p>That means we've got a constitution that you can find below 👇</p>
<ul>
<li><a href="https://docs.google.com/document/d/1J3_EWs3dd2gq5T_xYylcP5pDzm0HHAYCTgiqKUYwkls">Constitution —
Google Doc</a></li>
<li><a href=/constitution.pdf>Constitution — PDF</a></li>
</ul>
<p>We recommend that all our members read it at least once. </p>
<p> You can also find our agendas <a href=/agendas">here</a>. </p>
<div id="constitution">
<div class="flex-container flex-v-center">
Copy link
Member

@AlexJBanks AlexJBanks Sep 6, 2021

Choose a reason for hiding this comment

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

these divs are probably redundant but can be tidyied up in #153

<div><h2>Consitution</h2></div>
<div><p id="document">📄</p></div>
</div>

<p>CSS is part of the <a href=/guild>Guild of Students</a>. This means we have a Constitution which we recommend all members read at least once.</p>
<p>Below are links to both our current Constitution and all previous agendas:</p>
<div id="constitution-buttons">
<a href=/constitution class="constitution-link constitution">
<h4>Constitution</h4>
</a>
<a href=/agendas class="constitution-link agendas">
<h4>Agendas</h4>
</a>
</div>
</div>

<h2>Contact Us 📧</h2>
<p><a href=/email>[email protected]</a></p>
Expand Down
Binary file modified constitution.pdf
Binary file not shown.
49 changes: 49 additions & 0 deletions css/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,51 @@ h1, h2, h3, h4 {
}
}

#constitution {
#constitution-buttons {
justify-content: center;
display: grid;
grid-template-columns: repeat(2, 185px);
}

.constitution-link {
display: inline-block;
width: 150px;
height: 25px;
text-decoration: none;
text-align: center;
font-size: 20px;
font-weight: bold;
border-radius: 20px;
padding: 15px;
margin-bottom: 10px;
margin-right: 10px;
h4 {
font-family: "Helvetica Neue", sans-serif;
margin: 0;
}
h4, i {
color: white;
}
}

@media (max-width: 400px){
#constitution-buttons{
justify-content: center;
display: grid;
grid-template-columns: 185px;
}
}

.constitution {
background-color: #793fd8; //TeX Shadow
}

.agendas {
background-color: #3b37b6; //TeX Blue
}
}

#sparkles {
font-size: 30px;
}
Expand All @@ -166,6 +211,10 @@ h1, h2, h3, h4 {
font-size: 30px;
}

#document {
font-size: 30px;
}

#heart {
font-size: 30px;
}
Expand Down