add CSS for when images fail to load

This commit is contained in:
MarkEEaton
2021-10-29 16:34:07 -04:00
committed by GitHub
parent e60d7fcef7
commit 71b5b0b30f
+10 -1
View File
@@ -5,6 +5,16 @@ body {
overflow-x: hidden; overflow-x: hidden;
} }
/* custom css if images fail to load */
.image-fail {
font-size: 3em;
}
#onesearch-header a img.image-fail {
font-size: 0.5em;
}
/* style alert */ /* style alert */
#corona-alert { #corona-alert {
@@ -46,7 +56,6 @@ nav.navbar-default.yamm {
/* style background image */ /* style background image */
.kbcc-background-image { .kbcc-background-image {
/*background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%,rgba(255,255,255,0.4) 100%), url("https://www1.kingsborough.edu/photo_album/kcc_campus_06/images/KG_Kibbee_3_jpg.jpg");*/
background: linear-gradient(to bottom, rgba(255,255,255,0.6) 0%,rgba(255,255,255,0.6) 100%), url("https://libapps.s3.amazonaws.com/accounts/16298/images/library_front_view.jpg"); background: linear-gradient(to bottom, rgba(255,255,255,0.6) 0%,rgba(255,255,255,0.6) 100%), url("https://libapps.s3.amazonaws.com/accounts/16298/images/library_front_view.jpg");
background-position: 50% 71%; background-position: 50% 71%;
padding: 20px 0px; padding: 20px 0px;