mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +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 {
|
.doc-from-version {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 2px solid <<colour alert-border>>;
|
border: 2px solid <<colour alert-border>>;
|
||||||
border-radius: 0.5em;
|
border-radius: 1em;
|
||||||
background: <<colour alert-background>>;
|
background: <<colour alert-background>>;
|
||||||
padding: 0 0.4em;
|
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
|
tags: $:/tags/Macro
|
||||||
|
|
||||||
\define .from-version(version)
|
\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
|
\end
|
||||||
|
Loading…
Reference in New Issue
Block a user