1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00
TiddlyWiki5/core/styles_new/base.tid
Jeremy Ruston baff901685 Added ability to transclude fields of data tiddlers
This allows us to transclude colours into CSS
2013-01-15 17:50:47 +00:00

33 lines
736 B
Plaintext

title: $:/core/styles/base
tags: $:/core/styles
\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
html body {
position: relative; /* So that height: 100% will fit to the body */
}
.tw-tiddler-frame {
padding: 30px 30px 30px 30px;
margin: 0px;
background-color: {{$:/core/styles/colours##primary}};
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
<<border-radius 4px>>
}