Skip to content

Instantly share code, notes, and snippets.

@theuves
Last active April 21, 2020 21:17
Show Gist options
  • Save theuves/60653506e7df31560ec3686de7551829 to your computer and use it in GitHub Desktop.
Save theuves/60653506e7df31560ec3686de7551829 to your computer and use it in GitHub Desktop.
Estilo de YouTube minimalista (instalar com Stylish).
@-moz-document url-prefix("https://www.youtube.com/watch") {
/*
* remove
*/
ytd-live-chat-frame, /* chat em tempo real */
#related, /* vídeos relacionados */
#secondary, /* comentários */
ytd-comments, /* comentários */
#top-level-buttons > *:nth-child(2), /* botão de dislike */
#top-level-buttons > *:nth-child(3), /* botão de compartilhar */
#top-level-buttons > *:last-child, /* botão */
#menu > ytd-menu-renderer > yt-icon-button, /* botão de 'mais' */
#sponsor-button, /* 'seja membro' */
#guide-button, /* botão de menu */
.ytp-suggestion-set /* sugestões no final do vídeo */ {
display: none !important;
}
/*
* força EXIBIÇÃO do menu
*/
#menu {
display: block !important;
}
/*
* remove borda
*/
#meta-contents > ytd-video-secondary-info-renderer {
border-bottom: none !important;
}
}
@-moz-document domain("youtube.com") {
/*
* remoção
*/
#sections > *:not(:first-child), /* menu: itens menos primeiro */
#items > *:nth-child(2), /* menu: botão de 'alta' */
#items > *:last-child, /* menu: última parte do menu */
#footer, /* menu: rodapé do menu */
yt-next-continuation, /* spinner */
#gs_st50, /* header: teclado vírtual */
#end #buttons > *:not(:last-child) /* header: botões do canto direito */ {
display: none !important;
}
/*
* borda nos itens que sobrou do menu
*/
#sections > *:first-child {
border-bottom: none !important;
}
/*
* preto e branco
*/
#end #buttons, /* foto do perfil */
#logo /* logotipo */ {
filter: grayscale(1);
}
/*
* botão de alterar modo de lista
*/
#menu {
display: none;
}
}
@-moz-document url-prefix("https://www.youtube.com/channel") {
/*
* remove
*/
#links-holder, /* links externos */
#sponsor-button, /* botão de 'seja mebro' */
ytd-subscription-notification-toggle-button-renderer, /* sininho */
#secondary /* destaques */{
display: none !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment