Re: [AMBER-Developers] Centering, justifying, widths

From: David A Case <case.biomaps.rutgers.edu>
Date: Mon, 10 Mar 2014 09:32:17 -0400

On Mon, Mar 10, 2014, Josh Berryman wrote:
>
>
> max-width: 60em;
> margin: 0 auto;

> The hazard of this approach is that we are still using one css file for
> (almost) all of amber_web, so changes will propagate to many pages that
> will then change their appearance. This is the flip side of having a
> consistent look, there is no way around it.

It's easy to change the max-width for different pages that might have
different visual needs. If a page starts with:

<body style="maxwidth:70em;">

that will over-ride the 60em "default" page width. I've done this for
the main Amber page and the tutorial table of contents.

...dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Mar 10 2014 - 07:00:03 PDT
Custom Search