Skip to content

Instantly share code, notes, and snippets.

@ldotlopez
Last active October 18, 2020 11:51
Show Gist options
  • Save ldotlopez/1d5e9e1bcb36c6f3b8a55826373cce05 to your computer and use it in GitHub Desktop.
Save ldotlopez/1d5e9e1bcb36c6f3b8a55826373cce05 to your computer and use it in GitHub Desktop.
No comments CSS
/*
* Copyright (C) 2019 Luis López <luis@cuarentaydos.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
*
* Use with:
* http://kb.mozillazine.org/UserChrome.css
* https://addons.mozilla.org/es/firefox/addon/styl-us/
*/
@-moz-document domain("eldiario.es") {
#edi-comments
,#edi-subscriber-comments
{
display: none !important;
}
}
@-moz-document domain("elmundo.es") {
/* Comments icon on preview */
.elmundo-theme-v7 .ue-c-cover-content__comments
,.elmundo-theme-v6 .ue-c-cover-content__comments
,.elmundo-theme-v5 .ue-c-cover-content__comments
/* Comments on article page */
,.elmundo-theme-v7.ue-l-article--basic .aside-comments
,.elmundo-theme-v6.ue-l-article--basic .aside-comments
,.elmundo-theme-v5.ue-l-article--basic .aside-comments
{
display: none;
}
}
@-moz-document domain("elpais.com") {
a.comments_link
,.articulo .articulo-comentarios
,.boton_comentarios
,.articulo-comentarios
,.articulo-comentarios-encabezado
,.thematic_section #deportes
,.thematic_section #gente
,.thematic_section #motor
{
display: none;
}
}
@-moz-document domain("elperiodicomediterraneo.com") {
.ComentariosdeNoticia
,.ComentariosNew
,.Contenidos h6.EnNoticia
{
display:none;
}
}
@-moz-document domain("lavanguardia.com") {
/* Comment icon in front */
.story-socialmedia i.fa-comment
,.story-socialmedia span.livefyre-commentcount
/* comments in article */
,.comments
/* sports section */
,.container[data-gtm-element-container-section="deportes"]
{
display: none;
}
}
@-moz-document domain("meneame.net") {
.news-details
,.comments
{
display: none;
}
}
@-moz-document domain("youtube.com") {
#comments
{
display: none;
}
}
/* Generic */
.comments
,#comments
{
border: 1px dotted #999;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment