reduce size of images and some minor fixes

This commit is contained in:
William Zhang 2017-09-13 15:53:37 -04:00
parent bb77e36843
commit 7b792632d8
8 changed files with 21 additions and 13 deletions

View File

@ -39,11 +39,10 @@ orgs: ["officers", "excomm", "senators", "sponsors"]
</div> </div>
<div class="{{ org.username }}-text"> <div class="{{ org.username }}-text">
{% assign year = member.year | downcase %} {% assign year = member.year | downcase %}
<span>{{ member.first }} {{ member.last }} <span>{{ member.first }} {{ member.last }}</span>
{% if name != "sponsors" %} {% if name != "sponsors" %}
'{{ year | slice: 2, 3 }} <span>'{{ year | slice: 2, 3 }}</span>
{% endif %} {% endif %}
</span>
{% if name != "officers" %} {% if name != "officers" %}
<span>{{ member.title }}</span> <span>{{ member.title }}</span>
{% endif %} {% endif %}

View File

@ -17,7 +17,7 @@ header {
#banner h1 { #banner h1 {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
font-size: 3em; font-size: 2.5em;
font-weight: bold; font-weight: bold;
overflow: hidden; overflow: hidden;
} }
@ -126,4 +126,4 @@ button.menu-item:active {
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
z-index: -2; z-index: -2;
} }

View File

@ -5,9 +5,6 @@
#dome { #dome {
display: none; display: none;
} }
#banner>h1 {
display: none;
}
#wrapper { #wrapper {
min-height: calc(100vh - 90px - 2.75em); min-height: calc(100vh - 90px - 2.75em);
} }
@ -28,10 +25,15 @@
overflow: hidden; overflow: hidden;
} }
} }
@media screen and (max-width: 700px) {
#banner > h1 {
display: none;
}
}
@media screen and (max-width: 1150px) { @media screen and (max-width: 1150px) {
#dome:after { #dome:after {
background-position-y: 5vh; background-position-y: 1vh;
background-size: 100%; background-size: 100%;
} }
#banner { #banner {
@ -50,7 +52,6 @@
left: 48px; left: 48px;
width: calc(100% - 48px); width: calc(100% - 48px);
height: 100%; height: 100%;
font-size: 200%;
overflow: hidden; overflow: hidden;
} }
#menu>a { #menu>a {
@ -113,9 +114,12 @@
section { section {
max-width: 750px; max-width: 750px;
} }
#banner > h1 {
font-size: 40px;
}
} }
@media screen and (min-width: 1100px) { @media screen and (min-width: 1150px) {
#intro-text, #intro-text,
#intro-image, #intro-image,
.list, .list,
@ -129,6 +133,9 @@
.list>ul { .list>ul {
font-size: 1.3em; font-size: 1.3em;
} }
#dome:after {
background-position-y: 10vh;
}
/*.officers-intro, .excomm-intro, .senator-intro, .sponsor-intro { /*.officers-intro, .excomm-intro, .senator-intro, .sponsor-intro {
flex-basis: calc(35% - 4vw); flex-basis: calc(35% - 4vw);
}*/ }*/

BIN
img/DSC09503.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 KiB

After

Width:  |  Height:  |  Size: 848 KiB

BIN
img/dome-original.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 KiB

After

Width:  |  Height:  |  Size: 1.9 MiB

2
img/web-image.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
convert -sampling-factor 4:2:0 -strip -quality 60 -interlace JPEG -colorspace RGB