Drasil icon indicating copy to clipboard operation
Drasil copied to clipboard

HTML SRS: centre align body?

Open balacij opened this issue 7 months ago • 2 comments

Each time I open the SRS in my web browser, I think "it would be nice if this page was centre-aligned." Adding the following snippet to the style of of the <body> is enough to make the website look a bit better (in my opinion):

  width: 80%;
  margin-left: auto;
  margin-right: auto;

However, it might not be the best solution for mobile devices.

Demo:

Image

Now:

Image

balacij avatar May 29 '25 20:05 balacij

What's the current CSS that regulates this?

We're so far from being mobile-ready, I think it's fine to ignore that for now.

JacquesCarette avatar May 30 '25 19:05 JacquesCarette

I agree that the generated web pages could look nicer, and I agree that we should ignore this for now. :smile:

smiths avatar May 30 '25 20:05 smiths