mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Add icon to "New in version" docs macro
This commit is contained in:
parent
903cdc09cc
commit
0f85ca3478
@ -163,9 +163,22 @@ tr.doc-table-subheading {
|
||||
}
|
||||
|
||||
.doc-from-version {
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
border: 2px solid <<colour alert-border>>;
|
||||
border-radius: 0.5em;
|
||||
border-radius: 1em;
|
||||
background: <<colour alert-background>>;
|
||||
padding: 0 0.4em;
|
||||
font-size: 0.7em;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
line-height: 1.5;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.doc-from-version svg {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
|
||||
|
@ -4,5 +4,5 @@ title: $:/editions/tw5.com/version-macros
|
||||
tags: $:/tags/Macro
|
||||
|
||||
\define .from-version(version)
|
||||
<span class="doc-from-version">New in $version$</span>
|
||||
<span class="doc-from-version">{{$:/core/images/warning}} New in $version$</span>
|
||||
\end
|
||||
|
Loading…
Reference in New Issue
Block a user