bevy-website icon indicating copy to clipboard operation
bevy-website copied to clipboard

Consistent link color for Bevy supporters section

Open BD103 opened this issue 11 months ago • 2 comments

Edit: The links the the donation section on the home page use the browser-default color, instead of the Bevy themed one.

~~The link "The Quick Start Guide" is rgb(124, 144, 255), while the link "abledbody" is rgb(140, 140, 255). Should these be made the same color, since they are both links?~~

~~(Also weirdly enough the blue of "abledbody" shows up as a dark blue on my phone, likely due to an Apple shader. This is what helped me catch the different colors.)~~

image image

BD103 avatar Mar 12 '24 02:03 BD103

Turns out "abledbody" is not styled with a color at all, so it uses the browser's default. I believe it is because the link is not within a .media-content class.

@TrialDragon, what are your thoughts on this? Should the donation section be wrapped in .media-content, or should the SCSS be edited? I think we should at least set the default for all <a> tags...

BD103 avatar Mar 12 '24 17:03 BD103

Hmm, it feels like it'd maybe make more sense for the media content stuff to be the default, but maybe it was put under a class due to css specificity issues. For now, we should wrap the appropriate things that are missing the class with the .media_content class, but also look into moving those values out, and maybe into the html element css or somewhere just as universal by default.

TrialDragon avatar Mar 12 '24 18:03 TrialDragon