aboutsummaryrefslogtreecommitdiff
path: root/source (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-13source/css/theme.css: Fix printing stylesheetZhiming Wang1-1/+5
Adjust to the right font size. Most of the heavylifting is avoided by the last commit which made all printing font sizes relative (to the base body font size). Also add "-webkit-print-color-adjust: exact" to the pre tag to hint WebKit based browsers to keep my code block background color. Nothing can be done in Firefox; users need to manually check the "Print Background Colors" advanced printing option. IE/Edge? Who knows, who cares.
2016-01-13source/css/theme.css: Use relative sizes throughoutZhiming Wang1-17/+4
Sizes relative to the base body size are easier to update -- only need to update the base size.
2016-01-13Remove old web fonts from treeZhiming Wang35-15359/+0
It's been a few days since the site refresh, and I haven't spotted any problems. It's time to move on. Closes #9.
2016-01-09theme.css: Tweak logo text positioningZhiming Wang1-2/+1
2016-01-08Add stuff to source/ and exclude themZhiming Wang16-0/+721
The lonely templates/template.html finally finds it home in the cozy source/, where it rightfully belongs, without the need to worry about being exposed to the world in build/ ;) The full fontello distribution I downloaded (and unpacked) from fontello.com is now in source/fonts/fontello.
2016-01-08Tweak ol and ul left padding...Zhiming Wang1-0/+8
to left align numbers or bullets with standard paragraphs.
2016-01-08Site design refresh part III: nav, i.e. logoZhiming Wang2-24/+14
Surprisingly, a tweaked Arial isn't so bad. Saying goodbye to Open Sans, which was tweaked to minic Helvetica Neue in the first place.
2016-01-08Slightly increase h1 font sizeZhiming Wang1-2/+2
Regular text 150% => 160%, code 22px => 23px.
2016-01-08Slightly tweak icon placementZhiming Wang1-0/+2
2016-01-08Site design refresh part II: icon fontZhiming Wang6-73/+40
Use slimmed icon font packaged by http://fontello.com/. I only need two glyphs: RSS and CC. I ended up picking the glyphs from the Entypo v2.0 family (https://github.com/danielbruce/entypo), licensed under SIL. I actually like the Font Awesome glyphs slightly better, but fontello currently only supports FA v4.3.0, which doesn't include the circular CC glyph I need. Old web fonts are kept for now. They will be removed after a while. See \#9. Open Sans is still in place and will be addressed later when the logo is attacked. The entire fontello package I downloaded, including the license, will be added to this repo as source/fonts/fontello/ later when I have implemented an exclude list in pyblog to prevent the directory from being copied to the deployment tree.
2016-01-08Fix slight styling issues in md source files...Zhiming Wang2-2/+4
discovered when doing site refresh.
2016-01-08Site design refresh part IZhiming Wang2-43/+70
Highlights: * Change font to Times/Times New Roman + Courier; * Text slightly darkened across the board to account for the thinner Times; * Eliminate line numbers; * Use custom highlight.css (based on highlight-css supplied by Pandoc, but hightlight more classes when Pandoc falls short, e.g., span.im for Python from and import). Closes #5 because we don't have line numbers anymore.
2016-01-08Markdown source files: Revert YAML closing line from ... to ---Zhiming Wang98-98/+98
GFM doesn't support closing with ..., and the rendered results are less than satisfactory.
2016-01-08Markdown source files: Use ... to end YAML metadata blockZhiming Wang98-98/+199
Also add a newline after the metadata block. ... is easier on markdown-mode; if --- is used, the line immediately above it will be treated as a setext header and highlighted, which isn't so easy on the eyes.
2016-01-02source/img: Optimize PNG images with zopflipngZhiming Wang33-0/+0
After reading https://blog.codinghorror.com/zopfli-optimization-literally-free-bandwidth/.
2016-01-01HEAD: Fix formatting of Python codeZhiming Wang1-0/+3
2016-01-0120160101 Virtualenvs for everyoneZhiming Wang1-0/+68
2015-12-31HEAD: Specify image size using the newly implemented Markdown extensionZhiming Wang1-4/+1
instead of hardcoding HTML.
2015-12-29HEAD: Add a missing periodZhiming Wang1-1/+1
2015-12-2920151229 Catches when installing Windows 7 with Boot CampZhiming Wang2-0/+29
2015-12-28Spoiled by Retina follow-upZhiming Wang1-0/+4
2015-12-28HEAD~2: Typo fixZhiming Wang1-1/+1
2015-12-2820151228 Why I want lossless music on iTunes Music StoreZhiming Wang1-0/+18
2015-12-2720151227: Lesson on magic method access of Python new-style classes...Zhiming Wang1-0/+102
(from my failed Python3 port of Tomorrow)
2015-12-26theme.css and template.html: Solve overflow problem in code and a tagsZhiming Wang1-0/+5
Over-long inline <code> tag or long literal link in <a> tag used to overflow the container. This is especially bad on phones where width is very limited. This commit hopefully solves the overflow problem. Still no smarter word breaking, but it's probably just an unfortunate limitation of HTML.
2015-12-2620151226 autoenv with auto cleanupZhiming Wang1-0/+32
2015-12-2020151220 Regex flavor hellZhiming Wang1-0/+16
2015-12-17Latest post: Follow up on 10pt Monaco on RetinaZhiming Wang1-0/+4
2015-12-1620151216 Spoiled by Retina, in less than a dayZhiming Wang1-0/+18
2015-12-08Latest post: Another code correctionZhiming Wang1-1/+1
2015-12-08Latest post: fix missing color code and newline in messageZhiming Wang1-1/+1
2015-12-0820151208 Safeguarding git repos against accidental rmZhiming Wang1-0/+42
2015-11-26theme.css: change color of inline code to #777Zhiming Wang1-0/+2
Droid Sans Mono doesn't stand out too well in a wall of PT Serif. Changing to a greyish color doesn't disrupt the black-and-white feel of the website, while giving inline code a bit more distinction.
2015-11-25Latest post: typo fixZhiming Wang1-1/+1
2015-11-2520151125 Bash function exporting fiascoZhiming Wang1-0/+40
2015-11-1520151115 We need a programming keyboard on iOSZhiming Wang1-0/+16
2015-11-0620151106 Microsoft drops unlimited OneDrive storage after people use it for ↵Zhiming Wang1-0/+18
unlimited storage
2015-10-27Latest post: formatting correctionZhiming Wang1-1/+1
2015-10-27Latest post: correct typoZhiming Wang1-1/+1
2015-10-2620151026 AT&T to Pure TalkUSA, one month laterZhiming Wang1-0/+65
2015-10-1420151014 SIP — For the Greater GoodZhiming Wang1-0/+12
2015-10-1420151014 Follow-up: The sad state of Finder on El CapitanZhiming Wang1-0/+41
2015-10-1220151012 The importance of dated, detailed release notesZhiming Wang1-0/+26
2015-10-10theme.css: deal with subpixel antialiasingZhiming Wang1-0/+9
Looks much better in desktop Safari on my non-Retina screen. Code stolen from http://www.intridea.com/blog/2014/5/8/better-font-smoothing-in-chrome-on-mac-os-x.
2015-10-1020151010 Printing long, 80-character-per-line plain text document in two columnsZhiming Wang2-0/+29
2015-10-0320151003 We need an OS X security white paperZhiming Wang2-0/+18
2015-10-0120151001 Auto hidden menu bar & dock + maximized window is the new full ↵Zhiming Wang2-0/+14
screen mode
2015-10-01Latest post: minor improvementsZhiming Wang1-2/+2
2015-10-0120151001 Upgrading to El CapitanZhiming Wang4-0/+30
2015-09-25template: put article-metadata in div tag instead of h2Zhiming Wang1-0/+1
Date and author shouldn't be in the document outline.