1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 03:03:18 +00:00
TiddlyWiki5/themes/tiddlywiki/starlight/styles.tid
Jeremy Ruston 5c56d645ff Add an alternate theme
No UI for switching themes yet, try these two commands in the console:

`$tw.wiki.addTiddler({title:"$:/theme",
text:"$:/themes/tiddlywiki/starlight"})`

and

`$tw.wiki.addTiddler({title:"$:/theme",
text:"$:/themes/tiddlywiki/snowwhite"})`
2013-04-30 22:58:18 +01:00

36 lines
868 B
Plaintext

title: $:/themes/tiddlywiki/starlight/styles.tid
tags: [[$:/tags/stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
\define border-radius(radius)
```
-webkit-border-radius: $radius$;
-moz-border-radius: $radius$;
border-radius: $radius$;
```
\end
\define box-shadow(shadow)
```
-webkit-box-shadow: $shadow$;
-moz-box-shadow: $shadow$;
box-shadow: $shadow$;
```
\end
\define background-linear-gradient(gradient)
```
background-image: linear-gradient($gradient$);
background-image: -o-linear-gradient($gradient$);
background-image: -moz-linear-gradient($gradient$);
background-image: -webkit-linear-gradient($gradient$);
background-image: -ms-linear-gradient($gradient$);
```
\end
/*
Placeholder for a more thorough refinement of Snow White
*/
html body {
font-family: "Georgia", "Times";
}