XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: Improved CSS Pattern
miqrogroove
XMB 1.10 Lead Developer
*********


Avatar


Posts: 708
Registered: 10-1-2002
Member Is Offline

Mood: Past Three O'Clock

posted on 10-18-2026 at 03:24 PM
Improved CSS Pattern


I'm fairly novice with CSS, and was getting frustrated with some of the long lists of new class names.

For the sake of pausing before things got out of control, I looked at the usage of block width values. I realized the variable --xmb-block-width is only used in specific cases where the border widths should be subtracted from the block width, so it doesn't make sense to also list all of the specific cases where we want the default width to be assigned.

I removed that extra list and now simply assign our default width to all of the xmb block styles, which then goes unused by default. We leave the global default width at 100% and the specific cases are as already specified.

Note to self: The textarea on admin/sql.php needs to shrink for mobile screens.
View user's profile Visit user's homepage

  Go To Top

Powered by XMB 1.10.07
XMB Forum Software © 2001-2026 The XMB Group
[Queries: 14] [PHP: 25.9% - SQL: 74.1%]