mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 19:39:57 +00:00
33f40c47c6
Fixes #6444
25 lines
577 B
Plaintext
25 lines
577 B
Plaintext
title: $:/themes/tiddlywiki/vanilla/sticky
|
|
code-body: yes
|
|
|
|
<$reveal state="$:/themes/tiddlywiki/vanilla/options/stickytitles" type="match" text="yes">
|
|
``
|
|
.tc-tiddler-title {
|
|
position: -webkit-sticky;
|
|
position: -moz-sticky;
|
|
position: -o-sticky;
|
|
position: -ms-sticky;
|
|
position: sticky;
|
|
top: 0px;
|
|
background: ``<<colour tiddler-background>>``;
|
|
z-index: 500;
|
|
}
|
|
|
|
``
|
|
<$list filter="[range[100]]">
|
|
`.tc-story-river .tc-tiddler-frame:nth-child(100n+`<$text text=<<currentTiddler>>/>`) {
|
|
z-index: `<$text text={{{ [[200]subtract<currentTiddler>] }}}/>`;
|
|
}
|
|
`
|
|
</$list>
|
|
</$reveal>
|