I have updated the site and it is now responsive.  On browsers where the
width is 960px or smaller, the menu on the left is hidden and an hamburger
toggler button appears on the top left.  Images at the banner are scaled
down as well.

You can see the changeset at
https://github.com/isapir/tomcat-site/commit/2fe680d55e6b81543e2fd1ec6fe0d9584761e96b?w=1

If you want to specify a different breakpoint instead of 960px you can
modify it at
https://github.com/isapir/tomcat-site/blob/master/xdocs/res/css/tomcat.css#L343
though I think that 960px is a good breakpoint here.

We should probably change some fonts for smaller screens so that it's
easier to read, but this patch takes care of most of the work.

I ended up coding it without adding Bootstrap and jQuery since it seemed to
add much bloat for the relatively little functionality that we needed here.

Please let me know if you have any questions.

Best,


Igal



On Fri, Jan 19, 2018 at 2:49 AM, Mark Thomas <ma...@apache.org> wrote:

> On 19/01/18 08:34, Mark Thomas wrote:
> > On 18/01/18 22:38, Igal Sapir wrote:
> >> Hello,
> >>
> >> I have moved the static resources to a common directory at /res and I
> would
> >> like to push that as the first step of updating the website since that
> >> clean up makes the website's code easier to maintain.  That will also
> get
> >> the process of updating the website started with a relatively
> non-intrusive
> >> change.
> >>
> >> I have pushed my changes to a git repo and you can see the changeset at
> >> https://github.com/isapir/tomcat-site/commit/
> 1d8dcf5e24cbe48341baac09331490b26c79f4ae?w=1
> >
> > It is going to trigger a bunch of changes in the docs directory as well.
> > Probably easier to apply this patch and regenerate rather than include
> > the generated docs in the patch.
> >
> >> How do we go about propagating these changes to the tomcat-site SVN?
> >
> > Someone with commit rights needs to apply the patch. I'll take a look
> > shortly unless someone beats me to it.
>
> Done. It will be live in the next few seconds. Please ping this thread
> if you notice any breakage (and/or just fix it if you are a committer).
>
> Mark
>
>
> >
> > Mark
> >
> >>
> >> Thanks,
> >>
> >>
> >> Igal
> >>
> >>
> >> On Thu, Jan 18, 2018 at 1:51 PM, Igal @ Lucee.org <i...@lucee.org>
> wrote:
> >>
> >>> On 12/23/2017 1:22 PM, Mark Thomas wrote:
> >>>
> >>>> On 23 December 2017 18:39:33 GMT+00:00, "Igal @ Lucee.org" <
> >>>> i...@lucee.org> wrote:
> >>>>
> >>>>> Actually I have a question already.  I see the site's SVN at
> >>>>> http://svn.apache.org/repos/asf/tomcat/site/trunk/
> >>>>>
> >>>>> Is there a git mirror for it or should I grab the sources from SVN?
> >>>>>
> >>>> Just svn. That part of the repo isn't mirror to git.
> >>>>
> >>>
> >>> According to http://svn.apache.org/repos/asf/tomcat/site/trunk/README.
> txt
> >>> I need "jk-xdocs native-xdocs", but these directories are empty.  Can I
> >>> remove them in my patches?  I want to clean up some stuff as I go
> through
> >>> it.
> >>>
> >>> I will also update the README.txt accordingly.
> >>>
> >>>
> >>> Igal
> >>>
> >>>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: dev-h...@tomcat.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

Reply via email to