1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

The start of better styling

This commit is contained in:
Jeremy Ruston 2012-06-10 14:46:34 +01:00
parent f838d6e3c1
commit 0ffa882d09
2 changed files with 13 additions and 2 deletions

View File

@ -2,10 +2,10 @@ title: $:/templates/ViewTemplate
modifier: JeremyRuston modifier: JeremyRuston
{{title{ {{title{
<div><span><<view title>></span></div> <div><span><<view title>></span><<button EditTiddler label:"edit" class:"btn btn-mini btn-primary">></div>
}}} }}}
{{small{ {{small{
<div><<view modifier link>> <<view modified date>> <<view tags>> <<button EditTiddler label:"edit" class:"btn btn-mini btn-primary">></div> <div><<view modifier link>> <<view modified date>> <<view tags>> </div>
}}} }}}
{{body{ {{body{
<<view text wikified>> <<view text wikified>>

View File

@ -3,6 +3,17 @@ type: text/css
body { body {
position: relative; position: relative;
background: #eee;
}
.tw-story-element {
margin: 30px 0px 30px 0px;
padding: 20px 20px 20px 20px;
border: 1px solid #999;
background-color: #fff;
-webkit-box-shadow: 1px 1px 6px rgba(0,0,0,0.4);
-moz-box-shadow: 1px 1px 6px rgba(0,0,0,0.4);
box-shadow: 1px 1px 6px rgba(0,0,0,0.4);
} }
.title { .title {