misc issue fixes (#496)

* rename social-icons to prevent adblockers from blocking scripts, fix for #491

* hide viewer count when stream is off, fixes #428

* show a notice in document title of num messages if window is blurred, #426

* display indicator when stream has gone onlnie or offline when window is blurred
This commit is contained in:
gingervitis
2020-12-22 17:43:35 -08:00
committed by GitHub
parent 9240da1b0b
commit 51f344f8e0
8 changed files with 86 additions and 19 deletions

View File

@@ -75,6 +75,12 @@ header {
#stream-info span {
font-size: .70rem;
}
#stream-viewer-count {
display: none;
}
.online #stream-viewer-count {
display: inline;
}
/* ************************************************ */

View File

@@ -11,7 +11,7 @@
--icon-width: 40px;
height: var(--icon-width);
width: var(--icon-width);
background-image: url(/img/social-icons.gif);
background-image: url(/img/platform-logos.gif);
background-position: calc(var(--imgCol) * var(--icon-width)) calc(var(--imgRow) * var(--icon-width));
transform: scale(.65);
}