1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/themes/tiddlywiki/centralised/styles.tid
Jermolene 21c137a66c Refactor theme tweaks as individual tiddlers
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.
2014-07-06 16:55:51 +01:00

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;
}
}