StylishThemes / GitHub-Dark

:octocat: Dark GitHub style
https://raw.githubusercontent.com/StylishThemes/GitHub-Dark/master/github-dark.user.css
BSD 2-Clause "Simplified" License
9.65k stars 653 forks source link

Lack of border between badges on profiles #654

Closed auscompgeek closed 6 years ago

auscompgeek commented 6 years ago

GitHub-Dark removes the border on .member-badge + .member-badge, which looks odd.

the-j0k3r commented 6 years ago

After a second or five it starts looking better without, Maybe because it groups similar items together instead of separating them.

Its a simple fix to re-add by removing .member-badge+.member-badge, but thats autogenerated content so...mmmm https://github.com/StylishThemes/GitHub-Dark/blob/73f78d23a1b853267ba46a4f781464a45eb61f28/github-dark.css#L517

Upon closer inspection it may have been an erroneous addition.

see https://github.com/StylishThemes/GitHub-Dark/commit/200bb5d2878deed42fc8fa1423e0c2a39e4dd139 which proposes to hide border that GH hides somewhere in default stylesheet. @silverwind maybe has better insight.

auscompgeek commented 6 years ago

It'd look alright if there wasn't so much padding between the badges, I guess. But I recall the intention is that GitHub-Dark shouldn't be opinionated.

the-j0k3r commented 6 years ago

It'd look alright if there wasn't so much padding between the badges

I thought that it would look better yes :)

But I recall the intention is that GitHub-Dark shouldn't be opinionated.

It looks like it was an error in that autogenerated rule, only @silverwind can say, its pointless to remove it manually if autogenerating will add it again.

silverwind commented 6 years ago

GitHub's style removes that border and re-adds it on another style using !important, but in our style, all rules are !important so the longer selector won in our case. Had to add a manual fix outside of the generated rules.