aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-07-25 19:45:24 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-07-25 19:45:24 -0700
commitdafe4b4e40e7a4d7c9719aecd73f5fc5f80c7207 (patch)
tree8f489c0739c9a5d9bc132f4a60f7cc342aedf069
parente25302f0f580fd7d5bf6bfc1bcd8c04e6197e31b (diff)
downloadmy_new_personal_website-dafe4b4e40e7a4d7c9719aecd73f5fc5f80c7207.tar.xz
my_new_personal_website-dafe4b4e40e7a4d7c9719aecd73f5fc5f80c7207.zip
narrow theme: 200x200 icon => 150x150
200x200 icon wastes too much valuable screen estate on a smart phone.
Diffstat (limited to '')
-rw-r--r--source/css/theme-narrow.css11
-rw-r--r--source/img/README.rst2
-rw-r--r--source/img/icon-150.pngbin0 -> 10234 bytes
-rw-r--r--source/img/icon-300.pngbin0 -> 21348 bytes
4 files changed, 7 insertions, 6 deletions
diff --git a/source/css/theme-narrow.css b/source/css/theme-narrow.css
index 90735546..1610528b 100644
--- a/source/css/theme-narrow.css
+++ b/source/css/theme-narrow.css
@@ -12,11 +12,12 @@ nav div {
}
nav div .blog-icon {
- height: 200px;
- width: 200px;
- background-image: url("/img/icon-200.png");
- background-image: -webkit-image-set( url("/img/icon-200.png") 1x, url("/img/icon-400.png") 2x );
- background-size: 200px;
+ padding: 0;
+ height: 150px;
+ width: 150px;
+ background-image: url("/img/icon-150.png");
+ background-image: -webkit-image-set( url("/img/icon-150.png") 1x, url("/img/icon-300.png") 2x );
+ background-size: 150px;
}
nav div.title, div.author {
diff --git a/source/img/README.rst b/source/img/README.rst
index 9e07d93a..f8dceeee 100644
--- a/source/img/README.rst
+++ b/source/img/README.rst
@@ -3,7 +3,7 @@ The icon and favicon files are generated via the following commands: ::
cd source/img
xelatex icon.tex
xelatex icon-square.tex
- for size in 100 200 400 2048; do convert icon.pdf -density 400 -resize $sizex$size icon-$size.png; done
+ for size in 100 150 200 300 400 2048; do convert icon.pdf -density 400 -resize $sizex$size icon-$size.png; done
for size in 16 32 48 144; do convert icon.pdf -density 400 -resize $sizex$size favicon-$size.png; done
convert icon-square.pdf -density 400 -resize 152x152 apple-touch-icon-152.png
optipng favicon-*.png icon-*.png apple-touch-icon-152.png
diff --git a/source/img/icon-150.png b/source/img/icon-150.png
new file mode 100644
index 00000000..effbb89d
--- /dev/null
+++ b/source/img/icon-150.png
Binary files differ
diff --git a/source/img/icon-300.png b/source/img/icon-300.png
new file mode 100644
index 00000000..c3bd33ad
--- /dev/null
+++ b/source/img/icon-300.png
Binary files differ