@fantasai So if we pretend there's a `selector()` function that is true if something on the page matches that selector, I think you'd write: ``` @when selector(body.toc-inline) or (media(width < 28em) and not selector(body.toc-sidebar)) { /* inline ToC styling */ } @else { /* sidebar ToC styling */ } ``` -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/112#issuecomment-221672439 using your GitHub accountReceived on Wednesday, 25 May 2016 18:56:52 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC