mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 02:20:28 +00:00
21c137a66c
The trouble with the previous approach of storing several settings in a single data tiddler was that it made it hard to introduce new settings. Users who already have a custom copy of the settings/metrics tiddler wouldn’t get the default settings. The new approach uses individual tiddlers for each setting. This commit also introduces a new theme tweak for the cutoff width for switching between responsive views.
27 lines
517 B
Plaintext
27 lines
517 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 .tw-page-container {
|
|
text-align: center;
|
|
}
|
|
|
|
html .story-river {
|
|
position: relative;
|
|
width: 770px;
|
|
padding: 42px;
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
}
|
|
|
|
html .tw-sidebar-scrollable {
|
|
text-align: left;
|
|
left: 50%;
|
|
right: 0;
|
|
margin-left: 343px;
|
|
}
|
|
}
|