Dan Allen
7985ba08d1
use CSS to eagerly hide TOC sidebar before site script gets to it
2024-02-14 02:35:13 -07:00
Dan Allen
fcb2110b75
allow block SVG image with no width specified to stetch to width of page
2024-02-13 02:21:47 -07:00
Dmitriy Razmakhov
addd3074a9
ensure discrete headings are not included in page TOC
2024-02-07 01:54:56 -07:00
Dan Allen
e14869fea1
resolves #213 bundle and map cyrillic variant of prose font (Roboto)
2023-11-25 21:00:11 -07:00
Dan Allen
662d40f5c2
fix margin around descriptions in description list
...
* apply margin to top of subsequent terms (using dd + dt selector) instead of end of description
* add margin top to principal text
2023-11-04 01:56:32 -06:00
Dan Allen
2b799751af
add horizontal rule to preview page
2022-12-14 03:53:30 -07:00
Dan Allen
876b754729
configure unordered list style to inherit by default
2022-10-13 02:21:26 -06:00
Dan Allen
ab72267ddb
update the sample instructions about upgrading Antora
2022-10-08 03:27:35 -06:00
Dan Allen
116423439b
add a title to the lists that use a custom style in the UI preview
2022-10-08 03:27:02 -06:00
Dan Allen
5c71fc577d
resolves #189 add support for align=left and align=right on block image
2022-05-26 01:21:04 -06:00
Dan Allen
67d640fb34
add support for float-group and float-gap roles
...
* float-group establishes a block formatting context (without affecting margin collapsing)
* float-gap adds side and bottom margin to a floating element
2022-05-26 00:57:03 -06:00
Dan Allen
9c6d248925
resolves #186 add missing highlight.js language definition for none
2022-03-04 04:19:44 -07:00
Dan Allen
b037733f59
add vertical-align middle to video iframe; remove margin on video title; add video to preview
2022-02-22 04:35:52 -07:00
Dan Allen
07639c72e0
upgrade UI preview to Asciidoctor.js 2
2022-01-15 01:42:23 -07:00
Dan Allen
ec2bd39379
update terminology for referring to the default branch
2021-10-06 03:11:25 -06:00
Dan Allen
840d54a373
style code element in colist
2021-09-19 00:29:06 -06:00
Dan Allen
f96f0fb408
confine SVG referenced using object tag to enclosing container
...
- apply max-width, height, display, and vertical-align properties to object[type="image/svg+xml"] selector
- apply fallback width to object[type="image/svg+xml"] selector when width is not specified (only works in Chrome)
2021-09-16 11:37:44 -06:00
Dan Allen
2526ead80e
remove redundant block style on quote block
2021-09-11 15:41:44 -06:00
Dan Allen
7df192a49a
set height of image in preview page
2021-09-11 15:41:32 -06:00
Dan Allen
0fddc2e82b
style footnotes block
2021-08-14 01:12:22 -06:00
Dan Allen
bf5bf5c1d7
normalize styles for sub and sup
2021-08-14 01:12:22 -06:00
Dan Allen
aa51bde8ed
resolves #178 adjust styles for details element
...
- indent content of details element
- fix top margin of content
- use custom marker to get consistent appearance and behavior
- fully style details element with result role
- change cursor for summary element to pointer
- prevent WebKit from highlighting text of summary element when activated
2021-08-04 02:50:54 -06:00
Dan Allen
ed4701ca34
style table footer
2020-12-13 00:29:19 -07:00
Dan Allen
813c2fd1ec
add support for stripes attribute on table
2020-12-12 03:01:45 -07:00
Dan Allen
1a66a0d7ae
add copy to clipboard button to source blocks
...
* add subsetted SVG icon sprite for octicons
* add copy to clipboard button to source blocks (visible on hover)
* replace pseudo-element for source language with a toolbox (managed by JavaScript)
* autodetect literal block with command and promote to a console source block
* intelligently extract commands from console source block, flatten them, and join them in a chain
* prevent command prompt(s) in console source block from being selected
* darken color for annotation on source block
* configure svgo to preserve desc element
* configure svgo to preserve ID prefixes for icons
2020-12-11 19:30:58 -07:00
Dan Allen
25de8a1766
add styles for the horizontal dlist
2020-12-10 15:44:59 -07:00
Dan Allen
23b175e41a
remove trailing spaces in UI model for preview
2020-12-07 04:38:15 -07:00
Dan Allen
ae3b8392d2
make sure name of component 123 is a string in UI model for preview
2020-12-07 03:05:00 -07:00
Dan Allen
a41dd92a3b
remove top margin from first child in AsciiDoc table cell and admonition content
2020-11-29 02:18:36 -07:00
Dan Allen
915cfd6d9b
add support for unordered list styles and some missing ordered list styles
...
* support the following unordered list styles: circle, disc, square, none, no-bullet, unstyled
* support the following ordered list styles: none, unnumbered, unstyled
2020-11-28 03:19:23 -07:00
Dan Allen
bafd311a6c
fix navigation in preview site
2020-11-19 15:43:05 -07:00
Dan Allen
b646ca2297
define page.relativeSrcPath in preview model
2020-11-07 03:15:43 -07:00
Dan Allen
0570838aa8
add unresolved link example to preview site
2020-11-05 18:09:12 -07:00
Dan Allen
297f59d0bd
apply correct styles to literal table cell
...
- drop border, background, and padding
2020-09-17 03:27:03 -06:00
Dan Allen
56b17ab7eb
apply correct (minimal) styles to verse block
2020-09-17 03:26:59 -06:00
Dan Allen
920a909b39
add example of nav entry with hash that expands parent node
2020-05-01 03:39:35 -06:00
Dan Allen
d577f9b76c
only activate navigation pager if page-pager attribute is set
2020-04-28 19:51:52 -06:00
Dan Allen
71c387837d
add pagination nav to bottom of page
2020-04-28 19:51:52 -06:00
Dan Allen
310e32470e
turn hyphens on for article, then off for certain selectors
2020-04-26 16:11:45 -06:00
Dan Allen
3b82be760c
activate entries in sidebar TOC for all visible headings when scroll reaches bottom of page
2020-04-08 03:54:55 -06:00
Dan Allen
4a5f718674
apply ventilated prose to final section of preview page
2020-04-08 03:41:21 -06:00
Dan Allen
3631c016f4
enable home icon in preview
2020-04-08 01:31:08 -06:00
Dan Allen
393ee71dea
fix alignment of conums and description text in conum list
2020-03-30 18:31:25 -06:00
Dan Allen
37e4aabab2
select nav item on hash change (and initial page load)
...
- select nav item that points to anchor when hash in window.location changes (or present at initial page load)
- if nav item is not found, but points to a parent of the fragment, select that nav item
2020-03-30 00:21:28 -06:00
Dan Allen
f628456c06
improve implementation for #99 and add example to preview site
2020-03-18 16:30:43 -06:00
Dan Allen
675c16c92f
add support for line-through role
2019-10-01 16:40:32 -06:00
Dan Allen
310df9d109
fix invalid nav item in preview site [skip ci]
2019-07-17 19:31:33 -06:00
Dan Allen
568b4a9b13
style caption on block image like other captions
...
- add image block with caption to preview site
- style caption on block image like other captions
2019-07-17 02:58:20 -06:00
Dan Allen
ddd874065b
add support for underline role
2019-07-17 02:07:15 -06:00
Dan Allen
ffda94dfc5
update preview page [skip ci]
...
- add caption to table
- disable table caption label
- add second item to callout list
- expand sidebar title
2019-07-17 00:12:25 -06:00