summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/18-fix_offline_website_css_for_yelp
blob: 4355db58d8918bae3deb2819dd4927bba945054d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

echo "Tweaking the offline website's CSS"

# Yelp becomes awfully slow when 'box-shadow' properties are used.
# So let's just remove the bling-bling to get a better offline browsing
# experience.

sed -e '/box-shadow/d' -i /usr/share/doc/tails/website/local.css