mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 17:17:02 +00:00
Introduce documentation macros
This commit is contained in:
57
editions/tw5.com/tiddlers/system/doc-styles.tid
Normal file
57
editions/tw5.com/tiddlers/system/doc-styles.tid
Normal file
@@ -0,0 +1,57 @@
|
||||
title: $:/editions/tw5.com/doc-styles
|
||||
tags: $:/tags/Stylesheet
|
||||
|
||||
.doc-def {
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.doc-em {
|
||||
font-style: italic;
|
||||
font-variant: small-caps;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.doc-strong {
|
||||
color: <<colour alert-highlight>>;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.doc-foreign {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.doc-ph {
|
||||
border: none;
|
||||
color: <<color foreground>>;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.doc-button,
|
||||
.doc-tab,
|
||||
.doc-tag,
|
||||
.doc-tiddler,
|
||||
.doc-field,
|
||||
.doc-field-value,
|
||||
.doc-var,
|
||||
.doc-widget {
|
||||
background: <<color background>>;
|
||||
border: none;
|
||||
color: <<color very-muted-foreground>>;
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.doc-button svg {
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
.doc-key {
|
||||
color: <<color very-muted-foreground>>;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.doc-clink code {
|
||||
color: <<colour tiddler-link-foreground>>;
|
||||
}
|
||||
Reference in New Issue
Block a user