fix for safari

This commit is contained in:
William Zhang 2018-01-24 18:16:46 -05:00
parent 246427af27
commit ab576bd083
4 changed files with 23 additions and 6 deletions

View File

@ -44,7 +44,7 @@ orgs: ["officers", "excomm", "senators", "sponsors"]
{% capture filename %}img/people/{{ first }}{{ last }}.jpg{% endcapture %}
{% endif %}
{% capture exists %}
{% file_exists: {{ path }} %}
{% file_exists {{ path }} %}
{% endcapture %}
{% if exists == false %}
{% capture filename %}img/profile.jpg{% endcapture %}

View File

@ -87,6 +87,7 @@
width: 17vw;
max-width: 200px;
flex-wrap: wrap;
flex-basis: 50%;
}
#excomm-desc,

View File

@ -135,12 +135,18 @@ span>a:active {
#wrapper {
position: relative;
width: 100%;
min-height: calc(60vh - 42px - 2.75em);
/*min-height: calc(60vh - 42px - 2.75em);
*/
z-index: 1;
background-color: #4C4A48;
display: flex;
/*display: flex;
flex-direction: column;
align-items: center;
*/
height: auto;
min-height: 100%;
overflow: hidden;
}
@ -157,6 +163,8 @@ section {
width: 100%;
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
@ -167,7 +175,7 @@ section {
#senators,
#sponsors,
#resources {
max-width: 1200px;
/*max-width: 1200px;*/
display: flex;
height: 100%;
justify-content: center;
@ -218,7 +226,8 @@ section h2,
#tweets, #feedback {
text-align: center;
flex-grow: calc(50% - 8vw);
/*flex-grow: calc(50% - 8vw);
*/
margin: 0 2vw;
}

View File

@ -100,6 +100,8 @@
}
section {
max-width: 750px;
flex-grow: 1;
flex-shrink: 0;
}
#banner > h1 {
font-size: 40px;
@ -137,7 +139,12 @@
display: none;
}
#wrapper {
min-height: calc(100vh - 90px - 2.75em);
/*min-height: 100%calc(100vh - 90px - 2.75em);
*/
/*flex-grow: 1;*/
/*flex-shrink: 0;*/
height: auto;
min-height: 100%;
}
#wrapper,
footer {