moved data files to subfolders

This commit is contained in:
William Zhang 2017-11-03 08:46:46 -04:00
parent b4c5f78b25
commit 7290263a30
10 changed files with 10 additions and 13 deletions

View File

@ -1,5 +1,5 @@
{ {
"title" : "Freshman Election Forms", "name": "Freshman Elections",
"items": [ "items": [
{ {
"name": "", "name": "",

View File

@ -28,9 +28,9 @@ orgs: ["officers", "excomm", "senators", "sponsors"]
</div> </div>
</section> </section>
<hr /> <hr />
{% for org_name in site.data %} {% for org_name in site.data.about %}
{% assign name = page.orgs[forloop.index0] %} {% assign name = page.orgs[forloop.index0] %}
{% assign org = site.data[name] %} {% assign org = site.data.about[name] %}
<section id="{{ org.username }}"> <section id="{{ org.username }}">
<h2>{{ org.name }}</h2> <h2>{{ org.name }}</h2>
{% for member in org.members %} {% for member in org.members %}

View File

@ -8,6 +8,7 @@
max-width: 100vw; max-width: 100vw;
display: block; display: block;
text-align: center; text-align: center;
margin-bottom: 2.5vh;
} }
#contact>.desc { #contact>.desc {

View File

@ -19,10 +19,6 @@ footer {
vertical-align: middle; vertical-align: middle;
}*/ }*/
#contact {
margin: 1em 0 0 0;
}
button.social { button.social {
cursor: pointer; cursor: pointer;
outline: none; outline: none;

View File

@ -63,7 +63,7 @@ nav#menu {
flex-wrap: nowrap; flex-wrap: nowrap;
justify-content: center; justify-content: center;
border-bottom: 3px solid rgb(164, 38, 44); border-bottom: 3px solid rgb(164, 38, 44);
box-shadow: 0 28px 79px 0 rgba(66, 129, 121, .27); /*box-shadow: 0 28px 79px 0 rgba(66, 129, 121, .27);*/
} }
a.menu-item { a.menu-item {
@ -130,7 +130,7 @@ button.menu-item:active {
background-image: url('../img/bg.jpg'); background-image: url('../img/bg.jpg');
background-size: cover; background-size: cover;
background-position-x: center; background-position-x: center;
background-position-y: 7.5vh; background-position-y: 5vh;
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
z-index: -2; z-index: -2;

View File

@ -1,6 +1,6 @@
@media screen and (max-width: 1150px) { @media screen and (max-width: 1150px) {
#dome:after { #dome:after {
background-position-y: 1vh; background-position-y: 0;
background-size: 100%; background-size: 100%;
} }
#banner { #banner {
@ -107,6 +107,9 @@
#banner > h1 { #banner > h1 {
display: none; display: none;
} }
#dome:after {
background-position-y: 5vh;
}
.officers-intro, .officers-intro,
.excomm-intro, .excomm-intro,
.senators-intro, .senators-intro,
@ -156,9 +159,6 @@
.list>ul { .list>ul {
font-size: 1.3em; font-size: 1.3em;
} }
#dome:after {
background-position-y: 2.5vh;
}
} }
@media screen and (min-width: 1800px) { @media screen and (min-width: 1800px) {