mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
Use metrics tiddler for more absolute measurements in the snow white theme
This commit is contained in:
parent
bb5ebf6733
commit
be788f64d4
@ -330,7 +330,7 @@ a.tw-tiddlylink-external {
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 55em) {
|
||||
@media (max-width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}}) {
|
||||
.sidebar-header {
|
||||
padding: 1em;
|
||||
}
|
||||
@ -340,11 +340,11 @@ a.tw-tiddlylink-external {
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 55em) {
|
||||
@media (min-width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}}) {
|
||||
.sidebar-header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 55em;
|
||||
top: {{$:/themes/tiddlywiki/snowwhite/metrics##storytop}};
|
||||
left: {{$:/themes/tiddlywiki/snowwhite/metrics##storyright}};
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
overflow-y: auto;
|
||||
@ -355,7 +355,10 @@ a.tw-tiddlylink-external {
|
||||
}
|
||||
|
||||
.story-river {
|
||||
width: 55em;
|
||||
position: absolute;
|
||||
left: {{$:/themes/tiddlywiki/snowwhite/metrics##storyleft}};
|
||||
top: {{$:/themes/tiddlywiki/snowwhite/metrics##storytop}};
|
||||
width: {{$:/themes/tiddlywiki/snowwhite/metrics##storywidth}};
|
||||
padding: 3em;
|
||||
}
|
||||
}
|
||||
|
@ -3,4 +3,7 @@ type: application/x-tiddler-dictionary
|
||||
|
||||
fontsize: `14px`
|
||||
lineheight: `20px`
|
||||
sidebarwidth: `20%`
|
||||
storyleft: `0em`
|
||||
storytop: `0em`
|
||||
storyright: `55em`
|
||||
storywidth: `55em`
|
||||
|
Loading…
Reference in New Issue
Block a user