1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00

Add theme font size settings to Open in New Window CSS (#7945)

* add theme font size settings to Open in New Window CSS

* add DOCTYPE html to New Window startup template

* fix merge typo

* fix merge typo one more time
This commit is contained in:
Mario Pietsch 2024-03-28 19:36:33 +01:00 committed by GitHub
parent 32cbd53423
commit b6eab1afd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1335,6 +1335,7 @@ canvas.tc-edit-bitmapeditor {
clear: both;
}
.tc-single-tiddler-window .tc-tiddler-body,
.tc-tiddler-frame .tc-tiddler-body {
font-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}};
line-height: {{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}};
@ -1344,6 +1345,11 @@ canvas.tc-edit-bitmapeditor {
overflow: hidden; /* https://github.com/Jermolene/TiddlyWiki5/issues/282 */
}
/*
* Tiddler in a new window.
* Also see: .tc-single-tiddler-window .tc-tiddler-body, above
*/
html body.tc-body.tc-single-tiddler-window {
margin: 1em;
background: <<colour tiddler-background>>;