Hi Dave,

First of all the Snow White is based on the Vanilla theme.
The Snow White theme has a field 'dependents' that contains 
$:/themes/tiddlywiki/vanilla.
And if you look at the styles of Snow White 
($:/themes/tiddlywiki/snowwhite/base) you mainly will see 'shadow' 
additions to the Vanilla theme.
That is the reason that tweaks work for both themes.

It must be possible to make separate 'story left' settings, but if you only 
want to have more 'margin to the left' it can be done much easier.

Below the sidebar breakpoint (default 960px) the styles in 
$:/themes/tiddlywiki/vanilla/base will be adjusted.
You can search for `@media (max-width: 
{{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { ...`
and will find

@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint
}}) {
    .tc-tiddler-frame {
        padding: 14px 14px 14px 14px;
    }

    .tc-tiddler-info {
        margin: 0 -14px 0 -14px;
    }
}

and

@media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint
}}) {

    .tc-sidebar-header {
        padding: 14px;
        min-height: 32px;
        margin-top: {{$:/themes/tiddlywiki/vanilla/metrics/storytop}};
    }

    .tc-story-river {
        position: relative;
        padding: 0;
    }
}

Above the breakpoint the 'tiddler frame' padding is 28px 42px 42px 42px and 
the 'story river' padding is 42px;

Create a stylesheet (tiddler tagged with $:/tags/Stylesheet) which contains:

@media (max-width: 
{{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) {
    .tc-tiddler-frame {
        padding: 28px 42px 42px 42px;
    }
    .tc-story-river {
        padding: 42px;
    }
}

and Vanilla and Snow White behave the same for padding.

Hope that helps.

Cheers,

Ton



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1818bb7d-bed2-4602-8bfb-ac006110ffdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to