2013-07-03 22:59:35 +01:00
|
|
|
title: $:/themes/tiddlywiki/centralised/styles.tid
|
2014-09-10 09:13:21 +01:00
|
|
|
tags: [[$:/tags/Stylesheet]]
|
2013-07-03 22:59:35 +01:00
|
|
|
|
|
|
|
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
|
|
|
|
2014-07-06 16:55:51 +01:00
|
|
|
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
|
2013-07-03 22:59:35 +01:00
|
|
|
|
2014-08-28 19:41:29 +01:00
|
|
|
html .tc-page-container {
|
2013-07-03 22:59:35 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-08-28 17:26:21 +01:00
|
|
|
html .tc-story-river {
|
2013-07-08 17:19:50 +01:00
|
|
|
position: relative;
|
2024-10-08 19:45:26 +02:00
|
|
|
width: min({{$:/themes/tiddlywiki/centralised/metrics/storywidth}},calc(100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})));
|
2013-09-15 11:01:35 +01:00
|
|
|
padding: 42px;
|
2013-07-03 22:59:35 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2014-08-28 19:41:29 +01:00
|
|
|
html .tc-sidebar-scrollable {
|
2013-07-03 22:59:35 +01:00
|
|
|
text-align: left;
|
|
|
|
left: 50%;
|
|
|
|
right: 0;
|
2024-10-08 19:45:26 +02: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 15:07:52 +02:00
|
|
|
width: auto;
|
2013-07-03 22:59:35 +01:00
|
|
|
}
|
2024-10-08 18:44:13 +02:00
|
|
|
|
|
|
|
html .tc-tiddler-frame {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2024-10-10 05:18:55 +02:00
|
|
|
|
|
|
|
html .tc-sidebar-resizer {
|
|
|
|
left: min(calc(50% + ({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2) - (2 * {{$:/themes/tiddlywiki/centralised/metrics/storypaddingright}} / 3)),calc(100% - {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}} - (2 * {{$:/themes/tiddlywiki/centralised/metrics/storypaddingright}} / 3)));
|
|
|
|
}
|
2013-07-03 22:59:35 +01:00
|
|
|
}
|