mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
baff901685
This allows us to transclude colours into CSS
33 lines
736 B
Plaintext
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>>
|
|
}
|