mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-25 08:26:52 +00:00
update base stylesheet
This commit is contained in:
parent
ea7da2b8c1
commit
6b98a2d20f
@ -1027,7 +1027,7 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
|||||||
.tc-sidebar-scrollable {
|
.tc-sidebar-scrollable {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
||||||
left: clamp({{$:/themes/tiddlywiki/vanilla/metrics/storywidth}},{{$:/themes/tiddlywiki/vanilla/metrics/storyright}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}));
|
left: {{$:/themes/tiddlywiki/vanilla/metrics/storyright}};
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@ -1044,16 +1044,16 @@ button.tc-btn-invisible.tc-remove-tag-button {
|
|||||||
|
|
||||||
.tc-story-river {
|
.tc-story-river {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: clamp(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}},calc(100% - max(calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyright}}),{{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}})));
|
left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
||||||
top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
|
||||||
width: clamp({{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}},{{$:/themes/tiddlywiki/vanilla/metrics/storywidth}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}}));
|
width: {{$:/themes/tiddlywiki/vanilla/metrics/storywidth}};
|
||||||
padding: 42px 42px 42px 42px;
|
padding: 42px 42px 42px 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
<<if-no-sidebar "
|
<<if-no-sidebar "
|
||||||
|
|
||||||
.tc-story-river {
|
.tc-story-river {
|
||||||
width: calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
width: calc(100% - max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}}));
|
||||||
}
|
}
|
||||||
|
|
||||||
">>
|
">>
|
||||||
@ -1480,8 +1480,8 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: auto;
|
width: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
margin-left: {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}};
|
margin-left: max(0px,{{$:/themes/tiddlywiki/vanilla/metrics/storyleft}});
|
||||||
margin-right: clamp({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}},{{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}}));
|
margin-right: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-tiddler-frame {
|
.tc-tiddler-frame {
|
||||||
@ -1492,7 +1492,7 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
left: auto;
|
left: auto;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: clamp({{$:/themes/tiddlywiki/vanilla/metrics/sidebarminwidth}},{{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}},calc(100% - {{$:/themes/tiddlywiki/vanilla/metrics/storyleft}} - {{$:/themes/tiddlywiki/vanilla/metrics/storyminwidth}}));
|
width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth}};
|
||||||
}
|
}
|
||||||
|
|
||||||
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
body.tc-body .tc-page-container.tc-page-view-zoomin .tc-tiddler-frame {
|
||||||
|
Loading…
Reference in New Issue
Block a user