Nu-SCPTheme / Black-Highlighter

An alternate theme for the SCP Wiki with modern CSS styling and improved accessibility.
https://scpwiki.com/theme:black-highlighter-theme
MIT License
25 stars 20 forks source link

An easier way to manually edit the sidebar labels? #117

Closed Dimenpsyonal closed 2 years ago

Dimenpsyonal commented 2 years ago

Is your feature request related to a problem? Please describe.
I'm always frustrated when I go on SCP Sandbox pages with BHL enabled. Not because BHL is bad or anything, but because BHL, in general, doesn't support large sidebar boxes. So whenever I go on there, it looks like the whole thing is broken because of the larger text used on SCP Sandbox 3 sidebox.

I have two potential solutions. Either add in a one-off sidebox change just for SCP Sandbox 3, or allow for more sidebar customisation.

Context: Screenshot 2021-11-06 154327

SYwaves commented 2 years ago

This is not caused by larger text on the sandbox - its because BHL is built to the specific structure of the wiki, where each row of item is wrapped in a menu-item div with set height, where as this only in one div but contain 5 links.

In general, fixing this would need a change on both sandbox divs and some of BHL's properties.

Woedenaz commented 2 years ago

SYwaves is correct. There is not a great way to fix this within BHL since I cannot specifically target the sandboxes via CSS code in the same way I can target INT branches.

This would primarily require a structural change for the sidebars on the Sandboxes and any other site that doesn't use the sidebar structure that BHL is expecting.