1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 09:20:26 +00:00
TiddlyWiki5/themes/tiddlywiki/centralised/styles.tid
2024-10-08 19:45:26 +02:00

32 lines
880 B
Plaintext

title: $:/themes/tiddlywiki/centralised/styles.tid
tags: [[$:/tags/Stylesheet]]
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
@media (min-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
html .tc-page-container {
text-align: center;
}
html .tc-story-river {
position: relative;
width: min({{$:/themes/tiddlywiki/centralised/metrics/storywidth}},calc(100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})));
padding: 42px;
margin: 0 auto;
text-align: left;
}
html .tc-sidebar-scrollable {
text-align: left;
left: 50%;
right: 0;
margin-left: min(calc((100% - (2 * {{$:/themes/tiddlywiki/centralised/metrics/sidebarminwidth}})) / 2 - 42px),calc({{$:/themes/tiddlywiki/centralised/metrics/storywidth}} / 2 - 42px));
width: auto;
}
html .tc-tiddler-frame {
width: 100%;
}
}