Thanks Sycom, I came here just to post my solution (below) but will keep 
your solution for reference. Thank you!

For the record, I've fixed it with a list filter as found here 
<https://tiddlywiki.com/static/Q%253A%2520How%2520can%2520I%2520use%2520a%2520custom%2520field%2520to%2520style%2520a%2520tiddler%253F.html>:
 


<$list filter="[all[tiddlers]!is[system]]">
[data-tiddler-title^="<$view field=title/>"] CSS {
    something: something;

}

</$list>

Regards,
Hubert

On Monday, 21 October 2019 14:30:17 UTC+1, Sycom wrote:
>
> Hello,
>
> Something like this should work
>
> .tc-tiddler-frame:not([data-tiddler-title^="$:/"]) .tc-titlebar h2 {
>    background: yellow; 
> }
>
>
> Cheers
>
> Sylvain
> @sycom
>
> Le lundi 21 octobre 2019 12:41:10 UTC, Hubert a écrit :
>>
>> 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/fc67b2ef-bb43-4af4-b26c-635206697e5e%40googlegroups.com.

Reply via email to