mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 15:54:50 +00:00
df997e024c
Select the new "Sticky Titles" theme to cause tiddler titles to stick to the top of the window as you scroll. It works very well in Chrome Canary, reasonably well in iOS 7. As an aside, it would be nice to be able to package this is as something a bit smaller than a theme; maybe themes need to have optional hacks that can be associated with them.
15 lines
336 B
Plaintext
15 lines
336 B
Plaintext
title: $:/themes/tiddlywiki/stickytitles/styles.tid
|
|
tags: [[$:/tags/stylesheet]]
|
|
|
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
|
|
|
.tw-tiddler-title {
|
|
position: -webkit-sticky;
|
|
position: -moz-sticky;
|
|
position: -o-sticky;
|
|
position: -ms-sticky;
|
|
position: sticky;
|
|
top: 0px;
|
|
background: #fff;
|
|
}
|