Qi Xiao
dff7d7b796
_website: Improve demo descriptions.
2018-11-07 20:14:45 +00:00
Qi Xiao
a1c48b5132
_website: Separate reset.css.
2018-11-07 14:13:26 +00:00
Qi Xiao
ccd9c7c2f1
_website: Build the toc toggle button with JavaScript.
...
The button no longer show up when JS is disabled; it used to show up but
doesn't do anything.
2018-11-07 14:12:58 +00:00
Qi Xiao
927f98ee12
_website: Adjust demo layout.
2018-11-07 14:01:45 +00:00
Qi Xiao
c3ff0c08e2
_website: Fix a typo.
2018-11-07 02:04:02 +00:00
Qi Xiao
61191fe79a
Revert "_website: Render nav item separators with CSS, not HTML"
...
Reason: breaks padding.
This reverts commit 866ae4a55b
.
2018-11-07 02:03:17 +00:00
Qi Xiao
2528f73b11
_website: Optimize the homepage on text browsers.
2018-11-07 01:55:33 +00:00
Qi Xiao
866ae4a55b
_website: Render nav item separators with CSS, not HTML
2018-11-07 01:29:12 +00:00
Qi Xiao
610745420d
_website: Add a lang attribute to <html>.
2018-11-07 01:25:14 +00:00
Qi Xiao
480a97dabb
_website: Start rewriting the Fundementals doc.
2018-11-07 00:58:50 +00:00
Qi Xiao
90ca8f4777
_website/style.css: Add a dot after toc section numbers too.
2018-11-07 00:58:37 +00:00
Qi Xiao
2319cd1ffb
_website/icon-font.css: Add "font-display: swap".
2018-11-07 00:01:20 +00:00
Qi Xiao
180ee9e565
_website/fonts.css: Use URL with versions.
2018-11-06 23:58:08 +00:00
Qi Xiao
71089d374a
_website/fonts.css: Add "font-display: swap" to Fira Mono too.
2018-11-06 23:53:14 +00:00
Qi Xiao
89f8f6b08f
_website: Remove dependency on Google Fonts.
...
This allows us to customize our @font-face rules, and we now use
font-display: swap to ensure that the content shows up before the font
is loaded.
2018-11-06 23:34:25 +00:00
Qi Xiao
047423420d
_website/home.js: Use DOMContentLoaded instead of window.onload.
2018-11-06 23:34:04 +00:00
Qi Xiao
c2f3ba50dc
_website: Inline CSS and JS.
2018-11-06 22:52:04 +00:00
Qi Xiao
79d6e2da5a
_website: Add a dot after section numbers.
2018-11-06 00:58:52 +00:00
Qi Xiao
f03b3adb69
Update README.md
...
Show group badges on the same line.
2018-11-05 00:46:23 +00:00
Qi Xiao
0a7a4f1035
Rearrange README.
2018-11-05 00:41:16 +00:00
Qi Xiao
e17d90c8ea
_website: Variate the slogan slightly, and don't show it in the title.
2018-11-05 00:38:18 +00:00
Qi Xiao
4f8863d609
_website: Update code in pipelines ttyshot.
2018-11-05 00:31:25 +00:00
Qi Xiao
19426319b3
_website: Use an embedded subset of font awesome 4.
2018-11-05 00:23:35 +00:00
Qi Xiao
f52113b7cf
_website: Patch relative paths ending in / when viewing locally.
2018-11-05 00:11:42 +00:00
Qi Xiao
315035c593
_website: Show name of category in navbar.
2018-11-04 23:36:28 +00:00
Qi Xiao
d2d46bdb61
_website: Update favicon.
2018-11-04 22:19:47 +00:00
Qi Xiao
ed6504f506
_website: Increase height of navbar.
2018-11-04 21:47:08 +00:00
Qi Xiao
adb2340aed
_website: Fix placement of script (again).
2018-11-04 21:03:32 +00:00
Qi Xiao
7421828e1c
_website: Move the hostname detection script to be in <body>.
2018-11-04 21:01:02 +00:00
Qi Xiao
31c7ad84d1
_website: Fix use of location.hostname.
2018-11-04 20:50:51 +00:00
Qi Xiao
fb72de8ce6
_website: Add a dark theme.
...
The theme is automatically triggered when the hostname starts with
"dark.", and can also be manually toggled by pressing "d".
2018-11-04 20:47:42 +00:00
Qi Xiao
32b8d5a9a3
Refresh website style.
2018-11-04 19:31:11 +00:00
Harald Nordgren
b0b7aeedc0
Bump Go versions and use '.x' to always get latest patch versions ( #771 )
2018-10-28 13:25:45 +00:00
Qi Xiao
cc924d20b6
Update Dockerfile.
...
Removed gotty and added git.
2018-10-22 23:51:09 +01:00
Qi Xiao
4ea0b55c18
Update README.md
2018-10-22 11:48:52 +01:00
Qi Xiao
918f844d5f
_website/README.md: History -> Commit History.
2018-10-21 20:50:30 +01:00
Qi Xiao
4ef1fd3883
_website: Document how to build the website.
2018-10-21 20:49:28 +01:00
Qi Xiao
bc6a7b2f6c
Move building instructions back into README.md.
2018-10-21 20:49:28 +01:00
Qi Xiao
c21750229e
_website: Remove absolute URLs.
...
This makes opening _dst/index.html from the browser almost work.
2018-10-21 20:49:27 +01:00
Simon Schürrle
b02bffa570
Add NixOS/nix installation to download section ( #769 )
...
Signed-off-by: SitiSchu <admin@sitischu.com>
2018-10-21 17:30:58 +01:00
Qi Xiao
f907104b0d
Add gotty to Dockerfile.
2018-10-20 16:49:33 +01:00
Qi Xiao
9509cec8d4
Rearrange navbar and homepage.
...
* On homapage, swap "use this site" and "join the community".
* In the navbar, move "blog" to the end to match the order in the "use
this site" section on homepage.
2018-10-17 10:26:39 +01:00
Haochen Tong
b51a0e576d
Add Arch installation methods to OS-Specific Packages ( #768 )
2018-10-17 07:40:04 +01:00
Xuanwo
c93642bb3a
edit: Hide contrl characters for not break preview ( #767 )
...
Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>
2018-10-16 10:22:19 +01:00
Qi Xiao
66f730ff55
_website: Update homepage layout.
2018-10-16 10:19:20 +01:00
Qi Xiao
72e04ac9d9
_website/_tools/md-to-html: Pass a title metadata.
...
This is to suppress pandoc's warning about lack of title.
2018-10-16 10:19:20 +01:00
Qi Xiao
eb8752441c
Update _website/_tools/highlighter.go for the parse API change.
2018-10-16 10:19:20 +01:00
Qi Xiao
f9302b1456
Update .dockerignore.
2018-10-16 10:19:20 +01:00
Qi Xiao
8c7a6760b8
Update Dockerfile
...
Add man pages, vim and curl
2018-10-15 09:40:00 +01:00
Qi Xiao
0fb19b3e2e
Update Dockerfile
...
Add tmux and remove sudo.
2018-10-15 09:14:53 +01:00