mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-28 15:08:46 +00:00
Add a margin for single tiddler windows
This commit is contained in:
parent
fdeb8a925f
commit
d23f174d01
@ -35,7 +35,7 @@ exports.startup = function() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Initialise the document
|
// Initialise the document
|
||||||
srcDocument.write("<html><head></head><body class='tc-body'></body></html>");
|
srcDocument.write("<html><head></head><body class='tc-body tc-single-tiddler-window'></body></html>");
|
||||||
srcDocument.close();
|
srcDocument.close();
|
||||||
srcDocument.title = title;
|
srcDocument.title = title;
|
||||||
srcWindow.addEventListener("beforeunload",function(event) {
|
srcWindow.addEventListener("beforeunload",function(event) {
|
||||||
|
@ -66,6 +66,10 @@ body.tc-body {
|
|||||||
<<custom-background-datauri>>
|
<<custom-background-datauri>>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.tc-body.tc-single-tiddler-window {
|
||||||
|
margin: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
Loading…
Reference in New Issue
Block a user