Commit graph

356 commits

Author SHA1 Message Date
Magnus Hoff
862632335b Minor
This CSS is now included directly from the HTML. The real fix, however, is to preprocess the CSS into one file
2018-06-25 08:05:42 +02:00
Magnus Hoff
c0ce03973a Update print style for new theme 2018-06-25 08:03:40 +02:00
Magnus Hoff
0b5bff6356 Refactor handling of generated unique names for resources 2018-06-24 23:00:35 +02:00
cmal
77210a9692 Do not underline external link marker on hover (#69) 2018-06-24 15:04:37 +02:00
Magnus Hoff
e4fa7ed89a Credit cmal as new contributor 2018-06-24 14:56:01 +02:00
cmal
a85abf1ccb Added marker for external links (#63) 2018-06-23 10:35:22 +02:00
Magnus Hoff
bddf4c0225 CSS tweaks for iOS 2018-06-17 23:02:36 +02:00
Magnus Hoff
f7227bf3d4 Fix misalignment 2018-06-17 22:20:12 +02:00
Magnus Hoff
38c70f7b25 Select persistent theme per page based on title 2018-06-17 21:25:35 +02:00
Magnus Hoff
31ace5d4c2 Apply new style to search 2018-06-17 21:16:44 +02:00
Magnus Hoff
e4629d8edb Refactor rendering of pages to centralize header layout.
Convert all pages to new layout
2018-06-17 10:43:47 +02:00
Magnus Hoff
2b27e27a9b Tweak layout.html.
This fixes #67
2018-06-16 14:51:13 +02:00
Magnus Hoff
0a48ff2a54 Factor choice of theme into Layout struct 2018-06-16 14:30:18 +02:00
Magnus Hoff
7e6fe36ea0 Serve articles with a random theme 2018-06-16 11:24:34 +02:00
Magnus Hoff
4516534b39 Start trying out implementing new layout 2018-06-16 10:58:00 +02:00
Magnus Hoff
67ac61ee42 Add CSS defining color schemes/themes 2018-06-16 10:51:51 +02:00
Magnus Hoff
a40d45b197 Add utility for generating CSS for color themes 2018-06-16 10:32:33 +02:00
Magnus Hoff
28c8422e6b Tweak full text search representation of documents 2018-06-13 23:13:38 +02:00
Magnus Hoff
d577eabc9b Port to stable diesel API for user defined sqlite functions 2018-06-13 22:46:53 +02:00
Magnus Hoff
a582d3a627 Merge branch 'master' into process_markdown_in_sqlite 2018-06-13 22:22:08 +02:00
Magnus Hoff
b7c281e6f6 Misc upgrade of dependencies 2018-06-13 22:16:44 +02:00
Magnus Hoff
75e33b2766 Update to get rid of warnings that appeared when upgrading diesel.
One warning remains: unused import: `EmbedMigrations`. This one has been fixed in diesel, but not yet released
2018-06-13 22:03:55 +02:00
Magnus Hoff
604bea0c25 Upgrade diesel dependencies 2018-06-13 21:55:06 +02:00
Magnus Hoff
fc3bd0992a Run tests in the debug build.
Cargo has started failing to build the tests in the release configuration because tests must have panic=unwind, while the release profile is configured with panic=abort
2018-05-21 13:50:51 +02:00
Magnus Hoff
995737ff44 Revert "Disable build caching in Travis."
This reverts commit 4a8800a7c4.

It did not help with the failure on Travis.
2018-05-21 13:47:19 +02:00
Magnus Hoff
4a8800a7c4 Disable build caching in Travis.
This might or might not fix a build failure that I cannot reproduce locally
2018-05-14 08:19:16 +02:00
Magnus Hoff
81cda3bc35 Add CONTRIBUTING.md to help would-be contributors 2018-05-13 14:01:27 +02:00
Magnus Hoff
263a84637f Add a document describing the design 2018-05-13 13:57:05 +02:00
Magnus Hoff
d63ccd06b7 Cleanup 2018-05-12 14:36:52 +02:00
Magnus Hoff
c72ee90929 Return Result from main (requires Rust 1.26) 2018-05-12 14:34:09 +02:00
Magnus Hoff
b1b1a91db1 Attempt to fix font preload link 2018-01-21 11:58:04 +01:00
Magnus Hoff
b1e598cb17 Experimentally transform markdown for better presentation in full text search results
For issue #37
2018-01-19 16:49:26 +01:00
Magnus Hoff
e499a095c7 Use experimental Diesel branch for application defined sqlite functions 2018-01-19 16:47:40 +01:00
Magnus Hoff
c52ac1c2f1 Upgrade to Diesel 1.0.0 2018-01-06 09:29:15 +01:00
Magnus Hoff
bfbc81ada2 Add contributor 2017-12-17 17:32:02 +01:00
kyegupov
8b838ac8c9 Fix tests after diff bump; drive-by prettify diff tests (#56) 2017-12-17 17:14:39 +01:00
Magnus Hoff
6e3f1dab07 Upgrade to Diesel 1.0.0-beta1 2017-12-15 16:43:10 +01:00
Magnus Hoff
b7a7ae53ab Update to Diesel 0.99
This fixes #49
2017-12-15 16:29:24 +01:00
Magnus Hoff
4b1e1f9222 Promote brew install method to something one could try 2017-12-02 13:23:30 +01:00
Magnus Hoff
df05b1de79 Reset border-radius for <button> elements 2017-12-02 13:13:40 +01:00
Magnus Hoff
a6e329faf0 Simplify "Discard changes?" dialog 2017-12-02 11:06:20 +01:00
Magnus Hoff
bc0f8b8046 Restyle and refactor popup dialogs 2017-12-02 11:01:24 +01:00
Magnus Hoff
9f5b057266 Simplify styling of popups, get better results 2017-12-02 09:39:26 +01:00
Magnus Hoff
259c884045 Refactor popups a little 2017-12-01 16:52:39 +01:00
Magnus Hoff
ebef585c9c Replace use of confirm(), for #47 2017-12-01 16:44:07 +01:00
Magnus Hoff
35d13308b9 Replace use of alert(), for #47 2017-12-01 16:37:41 +01:00
Magnus Hoff
578d525e25 Better styling of popup dialog 2017-12-01 16:22:36 +01:00
Magnus Hoff
5ce9b37ab0 Update about.html 2017-11-30 13:29:21 +01:00
Magnus Hoff
2bf201e3fd Inject soft hyphen into commit hash so it works better on more screens 2017-11-30 13:24:13 +01:00
Magnus Hoff
ca805f1a9d Make it slightly clearer that the prebuilt binary is Linux only 2017-11-30 12:35:28 +01:00