1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 06:14:53 +00:00
TiddlyWiki5/plugins/tiddlywiki/help/styles.tid
Jermolene 70e419824f Add first pass of help panel
This is just an idea really.

The help plugin is only included in the tw5.com wiki; the idea is to
also include it in the empty.html wiki, either as a plugin or as part
of the core.

If it stays as a plugin, the idea would be to have different help
plugins for different languages.
2015-02-20 22:44:55 +00:00

66 lines
1.2 KiB
Plaintext

title: $:/plugins/tiddlywiki/help/styles
tags: [[$:/tags/Stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
.tc-help-panel {
position: fixed;
top: 2.5em;
bottom: 0;
right: 0;
width: 310px;
overflow: scroll;
-webkit-overflow-scrolling: touch;
<<box-shadow "0px 0px 5px rgba(0, 0, 0, 0.3)">>
border: 1px solid <<colour tiddler-border>>;
background: <<colour tiddler-background>>;
padding: 1em;
margin: 0.5em;
}
dl.tc-help-cheatsheet {
overflow: hidden;
}
dl.tc-help-cheatsheet .red {
color: red;
}
.tc-help-cheatsheet > dt {
display: block;
float: left;
clear: left;
margin: 2% 1em 0 0;
padding;
font-weight: normal;
width: 45%;
}
.tc-help-cheatsheet > dt > pre {
margin: 0;
}
.tc-help-cheatsheet > dd {
display: block;
float: left;
width: 45%;
margin: 1em 0 0 0;
padding: 0;
}
.tc-help-cheatsheet > dd > p,
.tc-help-cheatsheet > dd > h1,
.tc-help-cheatsheet > dd > pre,
.tc-help-cheatsheet > dd > ul,
.tc-help-cheatsheet > dd > ol,
.tc-help-cheatsheet > dd > dl,
.tc-help-cheatsheet > dd > table,
.tc-help-cheatsheet > dd > blockquote,
.tc-help-cheatsheet > dd > blockquote >p {
margin: 0;
}
.tc-help-cheatsheet .tc-image {
width: 16px;
}