| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Sometimes I have long images, e.g., in
http://zmwangx.github.io/blog/2016-04-10-emacss-got-a-redesigned-website.html,
and the image would be vertically compressed in Safari. I could switch
from width to max-width, but why restrict to screen height?
|
| |
|
|
|
|
| |
https://github.com/necolas/normalize.css/releases/tag/4.0.0
|
|
|
|
| |
Fixes #13.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Shellshock was a vulnerability, but I'm not sure if it was
exploited (for malicious purposes) in the wild before fixes were
released.
|
| |
|
|
|
|
|
|
| |
I used to have Google Analytics installed which proved my ownership, but
since I removed it in 01b3805, I need to prove it in another way, and
adding a file that no visitor will notice is the least intrusive.
|
| |
|
|
|
|
| |
Horizontal space is valuable on mobile. Reduce formatting whitespace.
|
|
|
|
|
|
|
| |
display: block spans the entire width of the parent container. Switching
to display: inline solves the problem.
Fixes #11.
|
| |
|
| |
|
| |
|
|
|
|
| |
Nice coincidence.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Sizes relative to the base body size are easier to update -- only need
to update the base size.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to left align numbers or bullets with standard paragraphs.
|
|
|
|
|
| |
Surprisingly, a tweaked Arial isn't so bad. Saying goodbye to Open Sans,
which was tweaked to minic Helvetica Neue in the first place.
|
|
|
|
| |
Regular text 150% => 160%, code 22px => 23px.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
discovered when doing site refresh.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
GFM doesn't support closing with ..., and the rendered results are less
than satisfactory.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
After reading https://blog.codinghorror.com/zopfli-optimization-literally-free-bandwidth/.
|
| |
|
| |
|
|
|
|
| |
instead of hardcoding HTML.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(from my failed Python3 port of Tomorrow)
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|