Hi Mat,
I looked at your demo and the Layout is exactly what I want for
dialogues, very good to see it realized in TW...and good to see how
relaxed this looks in the EditMode.
To fullfill the needs of a screenwritingprogramm we would need more
classes: action (parenthetical) and shot.
For example action again should appear without indent.
For the readbility in editimode, it would be great if the class for
action was invoked with a transclusion
like
{{action}}Description of the action....
The transclusion should contain a span class which invokes a specific
style for the next element.
For the convinience for the users, it would be good if no tag to close
the style was necessary.
...at that point that we come back to those strange selectors an
pseudo-classes. https://www.w3.org/TR/CSS2/selector.html#adjacent-selectors.
I still do not see how to get this working in TW.
Yours Jan
Am 09.04.2017 um 11:24 schrieb Mat:
Jan, I made this demo <http://forjan.tiddlyspot.com/> for you.
Never mind the "surrounding tidbits", they're part of my TW template
for fast dev. You only have to look at the three concerned tids.
<:-)
On Sunday, April 9, 2017 at 9:51:29 AM UTC+2, Jan wrote:
Hi Mat,
Perhaps you are right.
I want to create a class which makes the name of the person
speaking in capital letters in the left. And i would like the
dialogue-text following this name to appear indent.
I thought I could use the adjacent sibling selector to make it
indent without further formatting in the text.
As a further difficulty, the span containing the role class will
be transcluded into the tiddler... I do. Not know whether this
changes anything...
Thanks for helping
Jan
Mat <[email protected] <javascript:>> schrieb am So. 9. Apr. 2017
um 02:27:
Hi Jan
Forgive me if I'm wrong, but it seems to me that you're mixing
things up in a beginners kind of way? At least I can't quite
make sense of it. May I propose that you instead describe
exactly what you wish the end result to look like?
<:-)
On Sunday, April 9, 2017 at 12:22:31 AM UTC+2, Jan wrote:
Hello!
I want to realize an editor for screenwriting within TW
and during that
process have come to a formatting/CSS question.
The dialogue-text after the role shall be indent. Now my
question is
is the Text following a span a child or a sibling?
.role{text-transform: uppercase;}
.role > p{margin-left: 150px; font-style: italic;}
It shall be used within this construction
{{rolename}} Dialoguetext text......
Text Text
Where rolename is a transclude span with the class role...
Thanks for help
Jan
--
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]
<javascript:>.
To post to this group, send email to [email protected]
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f36c2b4b-a4f3-4901-992b-7f658493b7ea%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/f36c2b4b-a4f3-4901-992b-7f658493b7ea%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[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/c4d47033-82d2-4240-875b-504121b866e3%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/c4d47033-82d2-4240-875b-504121b866e3%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/58EAB088.6030505%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.