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 class="{{ org.username }}-text">
{% assign year = member.year | downcase %}
<span>{{ member.first }} {{ member.last }}
{% if name != "sponsors" %}
'{{ year | slice: 2, 3 }}
{% endif %}
</span>
<span>{{ member.first }} {{ member.last }}</span>
{% if name != "sponsors" %}
<span>'{{ year | slice: 2, 3 }}</span>
{% endif %}
{% if name != "officers" %}
<span>{{ member.title }}</span>
{% endif %}

View File

@ -17,7 +17,7 @@ header {
#banner h1 {
display: table-cell;
vertical-align: middle;
font-size: 3em;
font-size: 2.5em;
font-weight: bold;
overflow: hidden;
}

View File

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