2015-03-22 10:15:43 +00:00
|
|
|
title: $:/themes/tiddlywiki/vanilla/sticky
|
2022-02-07 16:53:36 +00:00
|
|
|
code-body: yes
|
2015-03-22 10:15:43 +00:00
|
|
|
|
|
|
|
<$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;
|
|
|
|
}
|
2019-02-06 14:20:34 +00:00
|
|
|
|
2015-03-22 10:15:43 +00:00
|
|
|
``
|
2019-02-06 14:20:34 +00:00
|
|
|
<$list filter="[range[100]]">
|
|
|
|
`.tc-story-river .tc-tiddler-frame:nth-child(100n+`<$text text=<<currentTiddler>>/>`) {
|
|
|
|
z-index: `<$text text={{{ [[200]subtract<currentTiddler>] }}}/>`;
|
|
|
|
}
|
|
|
|
`
|
|
|
|
</$list>
|
2015-03-22 10:15:43 +00:00
|
|
|
</$reveal>
|