mirror of
https://github.com/tjsga/website-2018.git
synced 2025-04-16 01:00:17 -04:00
fix for safari
This commit is contained in:
parent
246427af27
commit
ab576bd083
|
@ -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 %}
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
width: 17vw;
|
||||
max-width: 200px;
|
||||
flex-wrap: wrap;
|
||||
flex-basis: 50%;
|
||||
}
|
||||
|
||||
#excomm-desc,
|
||||
|
|
17
css/main.css
17
css/main.css
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user