Thanks TiddlyTweeter.

The problem I have is that I want to leave the default browser styling for 
the system tiddlers and only style whatever is a non-system tiddler. I 
don't know what the default styling is (it most likely differs from browser 
to browser) and so naturally I don't want to guess and then do it 
explicitly. I'd rather just leave it as it is by default and only focus on 
styling non-system tiddlers.

The example I gave with background was just for ease of illustration. What 
I'm actually trying to do is remove system tiddlers from my heavy styling 
affecting checkboxes, these affect many cascading attribute selectors etc.

Many thanks,
Hubert

On Monday, 21 October 2019 13:20:43 UTC+1, @TiddlyTweeter wrote:
>
> I don't think that CSS method supports negative regular expressions.
>
> One way to acheive what you want might be to define a global rule and then 
> override it for System Tiddlers ...
>
> .tc-titlebar h2 {
> background: yellow;
> }
> [data-tiddler-title^="$:/"] .tc-titlebar h2 {
> background: transparent;
> }
>
> This uses the CSS "cascade" to over-write the standard rule for specific 
> cases.
>
> Best wishes
> TT 
>
> On Monday, 21 October 2019 12:14:09 UTC+2, Hubert wrote:
>>
>> Hello,
>>
>> In reference to custom styles by data-tiddler-title 
>> <https://tiddlywiki.com/#Custom%20styles%20by%20data-tiddler-title:%5B%5BCustom%20styles%20by%20data-tiddler-title%5D%5D%20HelloThere%20GettingStarted%20Community>,
>>  
>> I would like to make some CSS styling that will be applied everywhere 
>> *except* system tiddlers.
>>
>> I have the code below, put I would need to flip it to *NOT* somehow. 
>> Would anyone have an idea how this could be done?
>>
>> [data-tiddler-title^="$:/"] .tc-titlebar h2 {
>> background: yellow;
>> }
>>
>> Thanks,
>> Hubert
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d2659e58-2c3d-4e3d-bc92-30975551994e%40googlegroups.com.

Reply via email to