mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-25 02:56:43 +00:00
![Jermolene](/assets/img/avatar_default.png)
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;
|
|
}
|
|
}
|