Commit Graph

59 Commits

Author SHA1 Message Date
Qi Xiao
c018e1a7b6 _website: Change download/ to get/. 2018-11-08 00:20:44 +00:00
Qi Xiao
976fb3d03f _website: Slightly simplify homepage CSS. 2018-11-08 00:12:10 +00:00
Qi Xiao
197ea9c415 _website: Generate nav separator with CSS.
The padding of nav-link has to be moved into its <code> element to work
around a likely render bug of Chrome that would cause the right-side
padding to be ignored.
2018-11-07 23:31:14 +00:00
Qi Xiao
0c7b463994 _website: Add fallback fonts to the stylesheet. 2018-11-07 20:44:51 +00:00
Qi Xiao
d98e6fd6aa _website: Don't use a different color for visited links. 2018-11-07 20:34:00 +00:00
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
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
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
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
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
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
50834d5e71 Update README.md.
Move the Name section to a dedicated page in elv.sh/ref.
2018-10-10 00:35:59 +08:00
Qi Xiao
a9d8df8260 _website/download: Move old versions to the bottom. 2018-09-23 22:12:37 +01:00
Qi Xiao
2e351a0b2d _website/download: Wording 2018-09-23 22:06:47 +01:00
Qi Xiao
16f96c122e _website/download: Link to BSD builds and rearrange download matrix. 2018-09-23 22:05:29 +01:00
Qi Xiao
08dd5178ff _website: Add linux-{386 arm64} links for v0.10. 2018-09-23 01:52:17 +01:00