From f8768360ee4da23a498b1da05962da0df2879bf9 Mon Sep 17 00:00:00 2001 From: v Date: Wed, 28 Nov 2018 18:45:57 +0300 Subject: [PATCH] DOM removals --- removals.txt | 7 +++++++ stub.css | 20 ++++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 removals.txt diff --git a/removals.txt b/removals.txt new file mode 100644 index 0000000..6d39dea --- /dev/null +++ b/removals.txt @@ -0,0 +1,7 @@ +#toc, +.article-status, +.thumbcaption .magnify, +a[href*="action=edit"], +.editsection, +.mw-editsection, +.thumbinner a[data-lon] \ No newline at end of file diff --git a/stub.css b/stub.css index a299d7c..eca0e64 100644 --- a/stub.css +++ b/stub.css @@ -19,24 +19,28 @@ body#zim { line-height: inherit; margin: 0.5em 0; } -#zim #toc { - display: none; -} -#zim .article-status { - display: none; -} -#zim .thumbcaption .magnify { +/* +#zim #toc, +#zim .article-status, +#zim .thumbcaption .magnify, +#zim .editsection, +#zim .mw-editsection +{ display: none; } +*/ #zim table.wikitable, table.nicetable { margin-right: 0; margin-left: 0; } /* for en.wikivoyage.org */ -.thumbinner a[data-lon] { /* supress Kartographer chartlet */ +/* supress Kartographer chartlet */ +/* +.thumbinner a[data-lon] { display: none; } +*/ #zim #geoCoord { top: -20px; }