2013-07-03 21:59:35 +00:00
|
|
|
title: $:/themes/tiddlywiki/centralised/styles.tid
|
2014-09-10 08:13:21 +00:00
|
|
|
tags: [[$:/tags/Stylesheet]]
|
2013-07-03 21:59:35 +00:00
|
|
|
|
|
|
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
|
|
|
|
2014-07-06 15:55:51 +00:00
|
|
|
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
2013-07-03 21:59:35 +00:00
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
html .tc-page-container {
|
2013-07-03 21:59:35 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-08-28 16:26:21 +00:00
|
|
|
html .tc-story-river {
|
2013-07-08 16:19:50 +00:00
|
|
|
position: relative;
|
2024-10-08 17:45:26 +00:00
|
|
|
width: min({{$:/themes/tiddlywiki/centralised/metrics/storywidth}},calc(100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})));
|
2024-10-10 09:27:37 +00:00
|
|
|
padding: 42px {{$:/themes/tiddlywiki/centralised/metrics/storypaddingright}} 42px {{$:/themes/tiddlywiki/centralised/metrics/storypaddingleft}};
|
2013-07-03 21:59:35 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2024-10-20 15:19:40 +00:00
|
|
|
html body.tc-body .tc-sidebar-left .tc-story-river {
|
2024-10-19 06:46:57 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
padding-right: {{$:/themes/tiddlywiki/centralised/metrics/storypaddingright}};
|
|
|
|
padding-left: {{$:/themes/tiddlywiki/centralised/metrics/storypaddingleft}};
|
|
|
|
}
|
|
|
|
|
2014-08-28 18:41:29 +00:00
|
|
|
html .tc-sidebar-scrollable {
|
2013-07-03 21:59:35 +00:00
|
|
|
text-align: left;
|
|
|
|
left: 50%;
|
|
|
|
right: 0;
|
2024-10-08 17:45:26 +00:00
|
|
|
margin-left: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
|
2024-10-08 13:07:52 +00:00
|
|
|
width: auto;
|
2013-07-03 21:59:35 +00:00
|
|
|
}
|
2024-10-08 16:44:13 +00:00
|
|
|
|
2024-10-20 15:19:40 +00:00
|
|
|
body.tc-body .tc-sidebar-left .tc-sidebar-scrollable {
|
2024-10-19 06:46:57 +00:00
|
|
|
margin-left: 0;
|
|
|
|
right: 50%;
|
|
|
|
left: 0;
|
|
|
|
margin-right: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
|
2024-10-20 17:24:02 +00:00
|
|
|
padding-right: 0px;
|
|
|
|
padding-left: 42px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[dir="rtl"] .tc-sidebar-left .tc-sidebar-scrollable {
|
2024-10-19 06:46:57 +00:00
|
|
|
padding-right: 42px;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2024-10-20 17:24:02 +00:00
|
|
|
html[dir="rtl"] .tc-story-river, html[dir="rtl"] .tc-sidebar-scrollable {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2024-10-08 16:44:13 +00:00
|
|
|
html .tc-tiddler-frame {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2024-10-10 03:18:55 +00:00
|
|
|
|
2013-07-03 21:59:35 +00:00
|
|
|
}
|