1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 18:47:20 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/system/doc-styles.tid
2016-11-21 12:50:16 +00:00

185 lines
3.0 KiB
Plaintext

created: 20150117152612000
modified: 20150226162159000
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-place {
background-color: <<color background>>;
border: none;
color: <<color very-muted-foreground>>;
font-style: normal;
font-weight: bold;
}
.doc-button,
.doc-tab,
.doc-tag,
.doc-tiddler,
.doc-field,
.doc-value,
.doc-operator,
.doc-var,
.doc-widget,
.doc-attr,
.doc-param {
background-color: <<color background>>;
border: none;
color: <<color very-muted-foreground>>;
font-weight: bold;
padding: 0;
}
a .doc-place,
a .doc-button,
a .doc-tab,
a .doc-tag,
a .doc-tiddler,
a .doc-field,
a .doc-value,
a .doc-operator,
a .doc-var,
a .doc-widget,
a .doc-attr {
color: <<color tiddler-link-foreground>>;
}
.doc-button svg {
height: 1em;
}
td svg {
height: 1em;
}
.doc-key {
color: <<color very-muted-foreground>>;
font-weight: bold;
}
.doc-clink code {
color: <<colour tiddler-link-foreground>>;
}
.doc-preamble {
border: 2px solid <<colour code-border>>;
color: <<colour very-muted-foreground>>;
font-size: 90%;
margin-left: 0;
padding: 0.5em 0.7em;
}
.doc-note dt {
color: <<colour very-muted-foreground>>;
}
.doc-note dd {
border-left: 2px solid <<colour code-border>>;
padding-left: 0.6em;
}
.doc-example {
margin: 1em 0;
padding: 0.8em 0;
}
.doc-example:hover {
background-color: <<colour code-background>>;
}
.doc-example ul {
margin-bottom: 0;
padding-bottom: 0;
margin-top: 0.2em;
}
.doc-example pre:first-child {
margin-top: 0;
}
.doc-example-result {
border-left: 5px solid <<colour blockquote-bar>>;
border-right: 5px solid <<colour blockquote-bar>>;
margin-left: 0;
margin-right: 0;
padding: 0 10px;
}
.doc-example-result ul {
margin-left: 0;
padding-left: 10px;
}
.doc-example-result ol {
margin-left: 0;
padding-left: 20px;
}
.doc-table th, .doc-table tr {
vertical-align: top;
}
.doc-table th a {
font-weight: bold;
}
tr.doc-table-subheading {
height: 2em;
vertical-align: middle;
}
.doc-table.before-tiddler-body {
margin-top: 2em;
}
.doc-icon-block {
border-left: 2px solid <<colour code-border>>;
margin-left: 3em;
padding-left: 0.6em;
position: relative;
}
.doc-block-icon {
position: absolute;
left: -3em;
top: 0.2em;
}
.doc-block-icon .tc-image-tip {
fill: <<colour primary>>;
}
.doc-block-icon .tc-image-warning {
fill: <<colour alert-highlight>>;
}
.doc-from-version {
display: inline-block;
border: 2px solid <<colour alert-border>>;
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;
}