Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 38f05ac

Browse files
authored
404 Fix, add info window animation, add frosted glass header (#621)
Fixes problems with the latest push
1 parent e0bb822 commit 38f05ac

File tree

4 files changed

+36
-20
lines changed

4 files changed

+36
-20
lines changed

404.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
}
2323
}, 1000);
2424

25-
// Check if a phone or iPad -> @media tags cant change actual text only js can
26-
if (window.innerWidth <= 700 ||(window.innerWidth > 700 && window.innerWidth <= 1024)) {
25+
// Check if a phone or iPad -> @media tags cant change actual text only js
26+
if (window.innerWidth <= 700 || (window.innerWidth > 700 && window.innerWidth <= 1024)) {
2727
document.body.classList.add('mobile');
28-
28+
2929
var leftElement = document.querySelector('.left');
3030
if (leftElement) {
3131
leftElement.style.display = 'none';
@@ -48,8 +48,6 @@
4848
<div class="right">
4949
<h2>Oh No!</h2>
5050
<h1>F.R.E.D. could not find that</h1>
51-
<h1 id="mobile">We could not find that</h1>
52-
5351
<a href="/" class="button">Back To Home</a>
5452
<h4>Back to home in: 30</h4>
5553
</div>

css/alumni.sass

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,20 @@ main p
3838
margin-right: auto
3939
font-size: 25px
4040
padding-bottom: 1em
41-
margin-top: -1em
41+
margin-top: -1em
42+
43+
44+
.gm-style-iw-t
45+
animation: scale-in-bottom 0.1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both
46+
47+
@keyframes scale-in-bottom
48+
0%
49+
transform: scaleY(0)
50+
transform-origin: 0% 100%
51+
opacity: 1
52+
53+
100%
54+
transform: scaleY(1)
55+
transform-origin: 0% 100%
56+
opacity: 1
57+

css/main.sass

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ $titlefont: 'Adam', 'Roboto', sans-serif
99
$vaered: #d12727
1010
$lightvaered: #D94F4F
1111
$basicchars: U+0000-00FF
12-
12+
1313
@font-face
1414
font-family: 'Adam'
1515
src: local('ADAM.CG PRO'), url(../assets/font/adam.woff2) format('woff2'), url(../assets/font/adam.woff) format('woff')
1616
unicode-range: $basicchars
1717

18-
1918
@font-face
2019
font-family: 'Roboto'
2120
font-weight: 350
@@ -71,7 +70,8 @@ header
7170
height: 140px
7271
width: 100%
7372
padding: 15px 15px 0
74-
background: $grey
73+
background: rgba(51, 51, 51, 0.85)
74+
backdrop-filter: saturate(200%) blur(20px)
7575
box-shadow: 3px 3px 12px rgba(12, 12, 12, 0.5)
7676
-webkit-transition: height 0.2s
7777
transition: height 0.2s
@@ -149,7 +149,6 @@ header.shrink
149149
width: max-content
150150
margin-top: 1px
151151

152-
153152
// Social buttons
154153
.social:first-child
155154
margin-left: 15px
@@ -351,10 +350,10 @@ main > img, .img-row, table
351350
height: 100%
352351

353352
table img
354-
width: 100%
353+
width: 100%
355354

356355
main h1
357-
text-align: center
356+
text-align: center
358357

359358
h5
360359
margin-top: 30px
@@ -364,7 +363,6 @@ blockquote
364363
font-size: 25px
365364
font-style: italic
366365

367-
368366
main
369367
ul
370368
padding-left: 20px
@@ -452,9 +450,9 @@ footer ul
452450
&:last-of-type
453451
margin-bottom: 15px
454452
ul ul
455-
display: block
456-
position: static
457-
background: none
453+
display: block
454+
position: static
455+
background: none
458456
li
459457
margin-left: 20px
460458
padding-left: 10px
@@ -484,8 +482,8 @@ footer ul
484482
margin-top: -40px
485483
margin-bottom: 20px
486484
.social:first-child
487-
margin-left: 0px
488-
margin-right: 20px
485+
margin-left: 0px
486+
margin-right: 20px
489487
.active
490488
background: $grey
491489
&:hover
@@ -510,7 +508,7 @@ footer ul
510508
> ul > li:last-child ul
511509
margin-left: 0
512510
main img
513-
width: 100%
511+
width: 100%
514512
footer
515513
h5, table
516514
display: none
@@ -555,4 +553,4 @@ footer ul
555553
nav
556554
height: 100%
557555
.social
558-
display: block !important
556+
display: block !important

js/alumni.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ function initMap() {
347347
'</a>' +
348348
"</div>";
349349
infoWindow.setContent(contentString);
350+
map.setZoom(5);
351+
map.setZoom(7);
350352
map.panTo(marker.getPosition());
351353
infoWindow.open({
352354
anchor: marker,
@@ -372,6 +374,8 @@ function initMap() {
372374
'</a>' +
373375
"</div>";
374376
infoWindow.setContent(contentString);
377+
map.setZoom(5);
378+
map.setZoom(7);
375379
map.panTo(marker1.getPosition());
376380
infoWindow.open({
377381
anchor: marker1,

0 commit comments

Comments
 (0)