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-26 07:17:01 +02:00
|
|
|
width: min(<<get.theme.metric storywidth>>,calc(100% - (2 * <<get.theme.metric sidebarminwidth>>)));
|
|
|
|
padding: 42px <<get.theme.metric storypaddingright>> 42px <<get.theme.metric storypaddingleft>>;
|
2013-07-03 22:59:35 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2024-10-20 17:19:40 +02:00
|
|
|
html body.tc-body .tc-sidebar-left .tc-story-river {
|
2024-10-19 08:46:57 +02:00
|
|
|
margin: 0 auto;
|
2024-10-26 07:17:01 +02:00
|
|
|
padding-right: <<get.theme.metric storypaddingright>>;
|
|
|
|
padding-left: <<get.theme.metric storypaddingleft>>;
|
2024-10-19 08:46:57 +02:00
|
|
|
}
|
|
|
|
|
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-26 20:06:14 +02:00
|
|
|
margin-left: min(calc((100% - (2 * <<get.theme.metric sidebarminwidth>>)) / 2 - <<get.theme.metric storypaddingright>>),calc(<<get.theme.metric storywidth>> / 2 - <<get.theme.metric storypaddingright>>));
|
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
|
|
|
|
2024-10-20 17:19:40 +02:00
|
|
|
body.tc-body .tc-sidebar-left .tc-sidebar-scrollable {
|
2024-10-19 08:46:57 +02:00
|
|
|
margin-left: 0;
|
|
|
|
right: 50%;
|
|
|
|
left: 0;
|
2024-10-26 20:06:14 +02:00
|
|
|
margin-right: min(calc((100% - (2 * <<get.theme.metric sidebarminwidth>>)) / 2 - <<get.theme.metric storypaddingleft>>),calc(<<get.theme.metric storywidth>> / 2 - <<get.theme.metric storypaddingleft>>));
|
2024-10-20 19:24:02 +02:00
|
|
|
padding-right: 0px;
|
|
|
|
padding-left: 42px;
|
|
|
|
}
|
|
|
|
|
|
|
|
html[dir="rtl"] .tc-sidebar-left .tc-sidebar-scrollable {
|
2024-10-19 08:46:57 +02:00
|
|
|
padding-right: 42px;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2024-10-20 19:24:02 +02:00
|
|
|
html[dir="rtl"] .tc-story-river, html[dir="rtl"] .tc-sidebar-scrollable {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2024-10-08 18:44:13 +02:00
|
|
|
html .tc-tiddler-frame {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2024-10-10 05:18:55 +02:00
|
|
|
|
2013-07-03 22:59:35 +01:00
|
|
|
}
|