From 695b9903cc45598b7b69a15404c34ec780f08fac Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Wed, 10 Jun 2015 00:42:26 -0700 Subject: modify template and stylesheet to include RSS icon --- source/css/theme.css | 18 ++++++++++++++++-- source/img/README.rst | 5 +++++ source/img/rss-14.png | Bin 0 -> 503 bytes 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 source/img/rss-14.png (limited to 'source') diff --git a/source/css/theme.css b/source/css/theme.css index b8eecde6..c31ce02e 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -137,7 +137,7 @@ footer .rfooter { footer .rfooter .cc-icon { width: 16px; height: 16px; - padding: 0 4px; + padding: 0 2px; display: inline-block; background-image: url("/img/cc-16.png"); background-repeat: no-repeat; @@ -147,9 +147,10 @@ footer .rfooter .cc-icon { font-size: 0; } -footer .rfooter .feed-icon { +footer .rfooter .atom-icon { width: 16px; height: 16px; + padding: 0 2px; display: inline-block; background-image: url("/img/feed-14.png"); background-repeat: no-repeat; @@ -159,6 +160,19 @@ footer .rfooter .feed-icon { font-size: 0; } +footer .rfooter .rss-icon { + width: 16px; + height: 16px; + padding: 0 2px; + display: inline-block; + background-image: url("/img/rss-14.png"); + background-repeat: no-repeat; + background-position: center; + background-size: 14px; + vertical-align: middle; + font-size: 0; +} + div.indextoc ul { list-style-type: none; padding-left: 2em; diff --git a/source/img/README.rst b/source/img/README.rst index 53ca6399..4a679460 100644 --- a/source/img/README.rst +++ b/source/img/README.rst @@ -15,6 +15,11 @@ The feed icon isn't so easy to create with TikZ (I don't know the necessary para convert feed-256.png -resize 14x14 feed-14.png optipng feed-14.png +Next, the horizontal mirror ``rss-14.png`` is generated through:: + + convert feed-14.png -flop rss-14.png + optipng rss-14.png + The CreativeCommons icon ``cc.svg`` is pulled from `the official downloads page `_ and converted to 16x16 PNG through:: convert cc.svg -resize 16x16 cc-16.png diff --git a/source/img/rss-14.png b/source/img/rss-14.png new file mode 100644 index 00000000..53ae6a19 Binary files /dev/null and b/source/img/rss-14.png differ -- cgit v1.2.1