| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Well, width restriction is still necessary...
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
Previously exclude_list is a list of relative paths, and it is hard to
deal with "./" resulted from joining an empty root with a name, thus
exclude list items in the root directory (e.g., ./template.html) aren't
really excluded. Not to mention the awkward trailing slash handling, and
other resolution issues (mainly ..).
In this commit we switch to an absolute exclude_list, eliminating the
aforementioned bug and simplifing exclude_list queries.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This almost always happens when I gendeploy: gen asks me to touch the
new post which I agree, but then the project root is dirty and I'm
greeted with the continue or not prompt, at which point I have no choice
but to open a new shell (or ^Z suspend the current job) to commit the
changes.
This commit allows to open an interactive shell in place when project
root is found to be dirty when deploying, which nicely solves the issue.
Closes #10.
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
| |
Controlled by .exclude under source/. Allows assets, e.g., template.html
be placed under source/ but not copied over to deployment.
|
|
|
|
| |
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.
|
|
|
|
|
| |
Document my new image size Markdown extension, and other HTML
transforms.
|
| |
|
| |
|
| |
|