Question about the theme bg CSS
9 years ago
Sweden

Hi there,

I'm just curious why the CSS is structured the way it is for the body element. Is there any specific reason why the background is aligned with the bottom instead of the top?

If there's any tall background with a fade towards the bottom, the top of the background will just not be visible.

For example, check this game page: http://www.speedrun.com/saoim

The entire top of the background is not visible.

Here's the CSS for the body tag:

body { background: url("/themes/saoim/background.png") repeat fixed 0 bottom #101010; color: #c0c0c0; font: 14px tahoma; margin: 0; }

If it's there for a reason, is there any chance for getting the ability to input custom CSS rules to be able to make small changes like that?

I love the site overall!

United States

There's certainly some work necessary to improve the layouts. How the site displays on mobile needs some improvement eventually as well. Maybe there's quick changes that can be made, but there's also a lot of site functionality improvements that may be higher priority at the moment.

Maybe Pac or Lightnat0r can comment on the background cutoff issue specifically.

Kargha likes this
Sweden

Yea, I figured I'd ask since I work as a web developer as well, so it's professional interest as well ;)

I mean, in the worst case, I could just cut off a part of the BG and fix it that way.

Bavaria, Germany

Why it is done like that I don't know, only Pac can answer that. Inputting custom CSS rules is not possible for security reasons.

Kargha likes this
Sweden

Yea, I figured it wouldn't be allowed (considering the stuff you can do with @Import and other fun CSS entries). Thanks for the quick response though guys, I really appreciate it!