kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Add experimental sticky titles theme
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.print-window-tiddler
rodzic
69704db205
commit
df997e024c
|
@ -5,6 +5,7 @@
|
|||
"themes": [
|
||||
"tiddlywiki/snowwhite",
|
||||
"tiddlywiki/starlight",
|
||||
"tiddlywiki/stickytitles",
|
||||
"giffmex/rocker",
|
||||
"giffmex/blue",
|
||||
"giffmex/blanca"
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"title": "$:/themes/tiddlywiki/stickytitles",
|
||||
"name": "Sticky Titles",
|
||||
"author": "JeremyRuston",
|
||||
"version": "0.0.0",
|
||||
"core-version": ">=5.0.0",
|
||||
"plugin-type": "theme",
|
||||
"description": "Experimental theme with titles that stick to the top of the window",
|
||||
"dependents": ["$:/themes/tiddlywiki/snowwhite"]
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
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;
|
||||
}
|
Ładowanie…
Reference in New Issue