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.
>> 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.
>>
>

-- 
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/c4d47033-82d2-4240-875b-504121b866e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to