github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2019-12-25 07:07 pm

[dreamwidth/dw-free] d9969a: Nerf an OP `#content ul li` rule in _page-layout-h...

Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: d9969a713c52f02ea249637a3e826022a07572a8
https://github.com/dreamwidth/dw-free/commit/d9969a713c52f02ea249637a3e826022a07572a8
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2019-12-25 (Wed, 25 Dec 2019)

Changed paths:
M htdocs/scss/components/autocompletewithunknown.scss
M htdocs/scss/pages/entry/new.scss
M htdocs/scss/skins/_entry-styles.scss
M htdocs/scss/skins/_icons-page.scss
M htdocs/scss/skins/_page-layout-hacks.scss

Log Message:
-----------
Nerf an OP `#content ul li` rule in _page-layout-hacks.scss

Using an `#id` selector in a default rule makes a mess in components that need
to override it (`!important`, redundant IDs, etc.). But `id` is also a normal
attribute, and `[attribute] li` can be overridden by any subsequent `.component
li` rule.

This commit also removes a bunch of hacks to work around that rule's rowdiness.