Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion preview-src/admonitions.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Admonitions

:check-mark: icon:check[]


== NOTE
Expand Down Expand Up @@ -233,3 +233,18 @@ Admonition should be given normal margin if it is not the first element in an ex
====

=====

== Icons in tables

Icons that are not part of an admonition block should have no color filter applied.

[options="header", cols="^,^,^,^"]
|===
| Type | Date support | Time support | Time zone support
| `DATE` | {check-mark} | |
| `LOCAL TIME` | | {check-mark} |
| `ZONED TIME` | | {check-mark} | {check-mark}
| `LOCAL DATETIME` | {check-mark} | {check-mark} |
| `ZONED DATETIME` | {check-mark} | {check-mark} | {check-mark}
| `DURATION` | `-` | `-` | `-`
|===
4 changes: 2 additions & 2 deletions src/css/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ body {

.doc .tableblock .icon {
display: inline-block;
margin-right: 0.5rem;
}

.doc a,
Expand Down Expand Up @@ -203,7 +202,8 @@ body {
font-size: var(--admonition-title-font-size);
}

.doc i.fa::before {
/* style the icons in admonition blocks only */
.doc .admonitionblock i.fa::before {
width: 24px;
height: inherit;
background-size: 20px;
Expand Down