mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-10 09:20:26 +00:00
further adjustments
This commit is contained in:
parent
03a860f535
commit
910cffb4e2
@ -11,7 +11,7 @@ tags: [[$:/tags/Stylesheet]]
|
|||||||
|
|
||||||
html .tc-story-river {
|
html .tc-story-river {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: {{$:/themes/tiddlywiki/centralised/metrics/storywidth}};
|
width: min({{$:/themes/tiddlywiki/centralised/metrics/storywidth}},calc(100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})));
|
||||||
padding: 42px;
|
padding: 42px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -21,7 +21,7 @@ tags: [[$:/tags/Stylesheet]]
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin-left: calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px);
|
margin-left: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ code-body: yes
|
|||||||
<%elseif [{$:/theme}match[$:/themes/tiddlywiki/centralised]] %>
|
<%elseif [{$:/theme}match[$:/themes/tiddlywiki/centralised]] %>
|
||||||
|
|
||||||
.tc-sidebar-resizer {
|
.tc-sidebar-resizer {
|
||||||
left: calc(50% + ({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2) - 28px);
|
left: min(calc(50% + ({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2) - 28px),calc(100% - {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}} - 28px));
|
||||||
}
|
}
|
||||||
|
|
||||||
<% endif %>
|
<% endif %>
|
||||||
|
Loading…
Reference in New Issue
Block a user