137 Commits

Author SHA1 Message Date
Bradley Sepos
14153c4d86
templates: Mark article state notices as lang=en. 2018-08-14 20:27:40 -04:00
Bradley Sepos
f5eb86f2b1
templates: Mark footer as lang=en and Copyright -> ©. 2018-08-14 20:24:00 -04:00
Bradley Sepos
c748183042
templates: Move and translate system selection controls.
System select controls are only active when JavaScript is available, so might as well create them there.
2018-08-14 19:00:24 -04:00
Bradley Sepos
830ba04f58
templates: Ensure logo image is always proper size. 2018-06-04 14:56:16 -04:00
Bradley Sepos
2acfad1e03
templates: Fix regression hiding description in advanced navigation. 2018-06-01 14:39:18 -04:00
Bradley Sepos
686c3ca577
templates: Add support for inline notices. 2018-05-25 23:37:07 -04:00
Bradley Sepos
bb0ae41f98
templates: Add initial implementation of super header.
Also hide breadcrumbs and further adjust layout for short viewports, improving landscape view on small devices even with the new addition.
2018-05-25 16:42:13 -04:00
Bradley Sepos
efeeafe5b8
templates: Improve obsolete notice link. 2018-04-23 16:57:32 -04:00
Bradley Sepos
f9bff56f47
templates: Add support for #system-foo linking.
Some under the hood verbosity to make things easier.
2018-04-22 13:28:21 -04:00
Bradley Sepos
c7224dfbca
templates: Update obsolete link to point at versions not languages. 2018-04-09 06:08:18 -04:00
Bradley Sepos
27da5acfc3
template: Avoid JavaScript error for documents with no srcset attribute. 2018-02-17 04:59:17 -05:00
Bradley Sepos
25eb225446
templates: Add support for success/fail styling in continue block. 2018-01-30 03:35:03 -05:00
Bradley Sepos
f7a2407561
templates: Update to JavaScript Cookie 2.2.0. 2018-01-28 07:22:22 -05:00
Bradley Sepos
27285e8760
templates: Improve lightbox script to handle images with srcset attribute. 2018-01-28 07:22:22 -05:00
Bradley Sepos
34aa438d5b
templates: Update to jQuery 3.3.1. 2018-01-28 07:22:22 -05:00
Bradley Sepos
61d85446ff
templates: Update to Featherlight 1.7.12. 2018-01-28 07:22:22 -05:00
Bradley Sepos
c6d0a186c6 template: Add styles for tables. 2016-12-12 16:55:29 -05:00
Bradley Sepos
cf5356491f template: Add temporary hack to handle breadcrumbs edge case.
Eventually the build system should handle the creation of breadcrumb navigation.
2016-11-19 14:45:55 -05:00
Bradley Sepos
a0b229843d template: Invert logic for displaying language and version in breadcrumbs. 2016-11-19 13:44:31 -05:00
Bradley Sepos
1f11462fcd template: Only show system select on articles.
Fixes regression.
2016-11-19 13:44:20 -05:00
Bradley Sepos
f0afc8f11f template: Move text node out of ul element.
Valid HTML now.
2016-11-08 10:24:24 -05:00
Bradley Sepos
ef175ea653 template: Remove charset tag on article element. 2016-11-08 10:02:50 -05:00
Bradley Sepos
8c9bbb3679 template: Fix missing closing tag for span element. 2016-11-08 10:00:48 -05:00
Bradley Sepos
16f19cf3be template: Hardcode text encoding (UTF-8 everywhere). 2016-11-05 03:52:08 -04:00
Bradley Sepos
0e0f97959b template: Wrap yaml with key "Template". 2016-11-05 02:10:02 -04:00
Bradley Sepos
2eb16cb102 template: Use pipe symbol in variables with text filters. 2016-10-27 02:44:14 -04:00
Bradley Sepos
7e1f3a7a94 template: Make credits and license links project-specific.
At least for now, it is easier to leave these out of the build system.
2016-10-27 02:36:25 -04:00
Bradley Sepos
d199e6162e template: Rename document.content variable to document. 2016-10-25 20:27:34 -04:00
Bradley Sepos
37e989ba4a template: Rename advanced navigation variable. 2016-10-25 19:31:51 -04:00
Bradley Sepos
f792a074d3 template: Move partials and assets into subdirectories. 2016-10-18 19:50:47 -04:00
Bradley Sepos
37f14e64db template: Add partials namespace. 2016-10-18 19:36:44 -04:00
Bradley Sepos
b683a9dc6a template: Rename some partials.
This will make more sense for files that include multiple documents (archives).
2016-10-18 19:25:23 -04:00
Bradley Sepos
f9cb4c876a template: Add content template. 2016-10-15 17:50:11 -04:00
Bradley Sepos
cc5925292f template: Remove notice template, move contents to document template. 2016-10-15 17:50:08 -04:00
Bradley Sepos
afe803960a template: Stylesheet cosmetics. 2016-10-10 18:16:43 -04:00
Bradley Sepos
dc5b09b5a3 templates: Fix figure caption spacing issue occuring in certain scenarios. 2016-10-10 18:15:26 -04:00
Bradley Sepos
b09de67551 template: Use proper yaml arrays in configuration. 2016-10-06 12:00:43 -04:00
Bradley Sepos
f970a144dd template: Split fonts stylesheet into individual font stylesheets. 2016-10-05 14:45:32 -04:00
Bradley Sepos
bd4eff03e6 template: Fix CSS bug causing system select to unhide without js. 2016-09-22 18:00:40 -04:00
Bradley Sepos
03a0015bf2 template: Remove fragment identifier when selecting system.
Adds a history state entry if window location has changed, removing fragment identifier due to footnotes.
2016-09-07 06:41:19 -04:00
Bradley Sepos
6b056cd12c template: Improve js selectors scope and performance. 2016-09-07 06:29:45 -04:00
Bradley Sepos
97a919e625 template: Move system select definition from js to html.
Keeps html with html. Slightly more flexible placement for multiple instances later.
2016-09-07 06:22:09 -04:00
Bradley Sepos
298c35374f template: Hide system select and advanced nav when CSS is disabled. 2016-09-07 06:06:30 -04:00
Bradley Sepos
5a17c7d1b1 template: Remove meta and title partials.
Meta and title can only be placed inside head, so they are not reusable outside the base template.
2016-09-07 05:54:32 -04:00
Bradley Sepos
f73f401d99 template: Move styles and scripts inside article tag.
Encapsulating more information within the article tag for embedded output.
2016-09-07 05:49:01 -04:00
Bradley Sepos
f4c5717a5e template: Add document type, lang, and charset to article tag.
Removes document type class from body tag, encapsulating more information within the article tag for embedded output.
2016-09-07 05:43:28 -04:00
Bradley Sepos
e2a8413d47 template: Add styles to hide part of nav on Credits. 2016-08-21 17:06:24 -04:00
Bradley Sepos
9fac6f1d97 template: Show nav for type article instead of type not license. 2016-08-21 17:05:24 -04:00
Bradley Sepos
913660cc46 template: Add footer link and styles for credits. 2016-08-21 16:56:39 -04:00
Bradley Sepos
0aa0a7627b template: Add template and styles for notices. 2016-08-16 15:55:39 -04:00