Remove public in Telegram

This commit is contained in:
el Mau 2023-03-20 19:16:24 -06:00
commit 6f31df555f
3 changed files with 31 additions and 12 deletions

View File

@ -119,7 +119,6 @@ País: {', '.join(obj.countries.values_list('name', flat=True))}
Año: {obj.year} Año: {obj.year}
""" """
self._public_mastodon(message, obj.cartel) self._public_mastodon(message, obj.cartel)
self._public_telegram(message, obj.cartel.url)
return return

View File

@ -23,6 +23,10 @@
width: 100%; width: 100%;
} }
.navbar-burger {
margin-left: 0;
}
/* Cada flecha en los títulos de secciones */ /* Cada flecha en los títulos de secciones */
.arrows { .arrows {
font-size: 1.5rem; font-size: 1.5rem;
@ -301,11 +305,8 @@ section#notice a {
/* SEARCH */ /* SEARCH */
#search-form { #search-form {
width: calc(100% - 7em); width: 80vw;
} margin: auto auto auto 3rem;
.search-div {
margin-top: .5em;
} }
.search-div > * { .search-div > * {
@ -314,12 +315,24 @@ section#notice a {
.search-div input { .search-div input {
width: calc(100% - 4.1rem); width: calc(100% - 4.1rem);
font-size: 1.25rem; vertical-align: text-top;
} }
.search-div button { .search-div button {
width: 3.1rem; width: 2.9rem;
height: 3.1rem; height: 2.9rem;
}
/* LOGIN / LOGOUT */
#login-form {
width: 16rem;
margin: auto;
text-align: center;
}
#login-form > * {
margin-top: .5rem;
} }
/* ICONS; cfr: https://css.gg */ /* ICONS; cfr: https://css.gg */

View File

@ -1,9 +1,16 @@
// Deshabilita scroll con la tecla de espacio // Deshabilita scroll con la tecla de espacio
// Esto es para que en 'player' quede habilitado para reproducción // Esto es para que en 'player' quede habilitado para reproducción
window.addEventListener('keydown', (e) => { window.addEventListener('keydown', (e) => {
if (e.keyCode === 32 && e.target === document.body) { if (e.keyCode === 32) {
e.preventDefault(); if (e.target === document.body) {
} e.preventDefault();
}
// Por alguna razón la tecla rápida 'espacio' no funciona en toggle como
// la tecla rápida 'k', así que se fuerza para el mismo comportamiento
window.dispatchEvent(new KeyboardEvent('keydown', {
'key': 'k'
}));
}
}); });
// Añade un aviso // Añade un aviso