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 %} {% capture filename %}img/people/{{ first }}{{ last }}.jpg{% endcapture %}
{% endif %} {% endif %}
{% capture exists %} {% capture exists %}
{% file_exists: {{ path }} %} {% file_exists {{ path }} %}
{% endcapture %} {% endcapture %}
{% if exists == false %} {% if exists == false %}
{% capture filename %}img/profile.jpg{% endcapture %} {% capture filename %}img/profile.jpg{% endcapture %}

View File

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

View File

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

View File

@ -100,6 +100,8 @@
} }
section { section {
max-width: 750px; max-width: 750px;
flex-grow: 1;
flex-shrink: 0;
} }
#banner > h1 { #banner > h1 {
font-size: 40px; font-size: 40px;
@ -137,7 +139,12 @@
display: none; display: none;
} }
#wrapper { #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, #wrapper,
footer { footer {