Commit Graph

69 Commits (master)

Author SHA1 Message Date
Mike Gerwitz 3c2e2daacd
:Updated CSS to format pages for smaller resolutions
The page is designed for modern PC resolutions---that is, 1280 or greater width.
Since it uses a 300px right-hand sidebar in conjunction with fairly generous
margins (for the index pages, at least), this causes problems with smaller
resolutions.

For the classic (but outdated) 1024px resolution, the margins will adjust to
give more viewing room. For 640px or less resolutions, which are common on some
mobile devies such as tablets, the headline that is normally displayed in the
sidebar is moved to the top and the images are significantly reduced in size,
providing 300px additional viewing width. The 42x42px images that are displayed
below the GNU logo on the upper-right are also moved to the top of the page and
to the left of the GNU logo and certain other margins (such as blockquote and
ul) are reduced.

At around 400px, the images next to the GNU logo start to become problematic and
may overlap with the title; therefore, the size of the images are halved so that
they can fit above the title. This happens to be close the resolution of certain
mobile devices, such as the iPhone (which unfortunately I see many hits from in
my sever logs) with a width of 320px, so this is the layout that will be used
for such devices.

Note that the styles for these widths are build atop of the existing rules and
essentially ``undo'' certain styles; this is to fall back to the default desktop
style in case the browser does not support such media queries.
2013-06-16 12:39:00 -04:00
Mike Gerwitz d2bda9c492 CSS styling for paper abstracts 2013-06-03 22:30:01 -04:00
Mike Gerwitz 9441ed4627 Altered index style to ensure proper column formatting
Previously, the headline (which is essentially a sidebar) was floated to the
right; this had the benefit of allowing the content to surround it on the lower
portion of the page, though that's arguably a poor design decision. With this
change, this does not occur, but the real reason for this change was to ensure
that block elements (such as divs) do not overflow into the headline.

This uses minimalist styling---as much as possible is done using the body
element. The footer positioning was tricky with varying content length. Since
the headline currently contains only images, my decision was to just get away
with setting a min-height to something reasonable for the headline content
height.
2013-05-29 23:21:54 -04:00
Mike Gerwitz 94f3e09af8 Moved CSS previously in repo2html template for commit template into our CSS
Belongs here; it was in repo2html temporarily until better CSS support could be added.

Yes, repo2html is being developed alongside this website.
2013-05-27 17:01:06 -04:00
Mike Gerwitz 022e539993 Headline background color to ensure no block-styled elements will over/underlay
Specifically, styled divs.
2013-05-27 17:00:26 -04:00
Mike Gerwitz e1b8b626ae Added styling for title link to root 2013-05-27 16:59:14 -04:00
Mike Gerwitz e74b27e197 Footer will appear below floated headline regardless of content length 2013-05-26 20:57:14 -04:00
Mike Gerwitz 486dc7377e Improved styling of index 2013-05-25 22:15:16 -04:00
Mike Gerwitz cd93dcb796 Added headline (which just happens to be floated to the right) 2013-05-25 19:59:57 -04:00
Mike Gerwitz 3cb200878d Menu adjustment; reduced font size ever so slightly and adjusted margins/padding 2013-05-25 18:10:19 -04:00
Mike Gerwitz be68234098 Index margins increased to mirror old site 2013-05-25 16:36:24 -04:00
Mike Gerwitz 7011f93b73 Index menu generation 2013-05-25 11:51:42 -04:00
Mike Gerwitz 4beb332973 mg.css fully merged into core style; consistency between article and repo2html formats 2013-05-25 11:51:41 -04:00
Mike Gerwitz 19624e59e7 Link color styling to be similar to (but less obnoxious than) old site 2013-05-21 17:23:10 -04:00
Mike Gerwitz 731a4d4a0c Added external "self" links to the index page 2013-05-21 17:23:10 -04:00
Mike Gerwitz 854cf280c2 A sans-serif font family for body font
This was a bit of a difficult decision. One one hand, I perferred for the user
to select his/her own font via their browser settings. That said, the user still
has the option to override the font and use his/her own defaults.

This font choice is nearly identical to the current site font choice.
2013-05-21 17:23:10 -04:00
Mike Gerwitz bbebbc088a Added fsf, esp and eliminate drm image buttons to footer (just as existing site) 2013-05-21 17:23:10 -04:00
Mike Gerwitz 85314b1bc2 Modified heading style for repo theme to more closely represent old site
Well, not quite yet old...but that's the idea. ;)
2013-05-21 17:23:10 -04:00
Mike Gerwitz b4244adfe1 Began adding a thoughts theme that more closely resembles the horror story article theme
This means that some article CSS is duplicated; this will be resolved in the future
2013-05-21 17:23:03 -04:00