Commit Graph

66 Commits (3912fc56dde63ce51371d1c7d2b9e9df5a80ca98)

Author SHA1 Message Date
Mike Gerwitz 3912fc56dd
Use forge.mikegerwitz.com (Forgejo) instance for /projects
This removes the cgit configuration and added redirects.  I'll check the
404 log and determine if I should add others in the future, if it's
worth the effort.
2023-03-21 00:43:15 -04:00
Mike Gerwitz d70dd4aac8
LibrePlanet 2021: Adopting Free Software Ideals
Information about upcoming talk at LP2021.
2021-02-24 22:14:12 -05:00
Mike Gerwitz 4d53191079
style.css (article details > summary): pointer 2020-05-20 00:54:38 -04:00
Mike Gerwitz 0dd84e4952
style.css: Add missing h5, h6 styling 2020-03-31 23:48:35 -04:00
Mike Gerwitz f5567fc8c5
Better figure styling
Figures will have margins on the left and right sides by default, unless
explicitly denoted "inline".  The caption will also be a lighter typeface
rather than bold.  When the figure caption appears at the bottom, it will
have a top border.
2020-03-31 23:48:19 -04:00
Mike Gerwitz b3ad4f7599
style.css (figure): New styling 2020-03-31 23:47:33 -04:00
Mike Gerwitz 95408e5571
style.css (article aside): New Style 2020-03-31 23:47:27 -04:00
Mike Gerwitz 3ec6034a0b
style.css (article pre): Reduce line-height 2020-03-31 23:47:22 -04:00
Mike Gerwitz fde5d3e890
Add lp2019 talk cs4m 2019-03-25 20:53:37 -04:00
Mike Gerwitz 133282e224
style.css: Better delimit sections and mute footnotes
This increases the headings, gives them slightly larger margins, decreases
the font size for footnotes, decreases the line-height, and lightens the
weight of the font.  I think this makes it easier to eyeball the different
sections (especially in the article I will be publishing shortly), and
further helps to emphasize that the footnotes are subservient to the text.
2019-02-07 00:50:36 -05:00
Mike Gerwitz 89328fe206
Generate inline CSS for page header
The idea here is to provide as little CSS as is sensible for the initial
page load to be styled in a layout similar to the final layout.  This
initial styling may be briefly visible on a slow conection.

Slow connections can happen for a variety of reasons.  For example, I'm a
Tor user, and connection speeds vary.  Mobile connection speeds can also
vary wildly.

This adds a few hundred bytes, but I was able to cut it down quite a bit,
and I don't find this to be unreasonable relative to the other data on
each page.
2019-01-19 00:50:06 -05:00
Mike Gerwitz 20a9d36077
style.css: Maximum header width
This is the maximum width of the posts page.  It does not look good to
have the header span the whole page on a 4K monitor.
2019-01-18 23:15:47 -05:00
Mike Gerwitz 7c48d09333
style.css: cgit font override for consistency 2019-01-18 00:39:13 -05:00
Mike Gerwitz 3ac7ca77e3
style.css: Minor fixes and warning for IE11 users
I only noticed this issue because my work computer has IE11 installed.  I will not be
supporting it.  Edge works just fine and IE is just about extinct, finally.

Of couse, I recomend using a free/libre browser.
2019-01-18 00:34:11 -05:00
Mike Gerwitz 572baca876
style.css: Consistent colors for header borders 2019-01-17 23:53:17 -05:00
Mike Gerwitz f80dae920f
style.css (blockquote): Add left border and remove right margin
This also is better for lower resolutions / higher font sizes, since
the right margin is spared.
2019-01-17 23:50:13 -05:00
Mike Gerwitz 0745930e55
style.css: Correct responsive post header margins
This was missed in an earlier commit.
2019-01-17 23:04:41 -05:00
Mike Gerwitz be20a0eb7d
style.css: cgit Projects heading size fix
Now matches headings on other pages.
2019-01-17 01:37:09 -05:00
Mike Gerwitz f0a08f8755
src/cgit: Add existing configuration
This contains the old header and footer.  Committing this first will allow
us to easily see the diff.
2019-01-17 01:30:17 -05:00
Mike Gerwitz 6d9defe292
Link to source code of post
Rather than displaying the hash separately, this just makes the date a link
to the source code.  Until I display a modification date, this will also
make it easy to see the history of the file.
2019-01-17 01:29:46 -05:00
Mike Gerwitz f38aada781
Responsive desgin
This website honors the user's default font settings (both to be kind and
for accessibility reasons).  Consequently, the responsive layout is based on
character units (ch) rather than pixels.
2019-01-17 00:01:12 -05:00
Mike Gerwitz 4052fc547a
Index page sapsf highlight cleanup
This corrects the padding and provides better placement for the
talk link.
2019-01-16 23:44:52 -05:00
Mike Gerwitz b6762c2dfc
Source Sans Pro => Open Sans
This goes back to Open Sans, which is what I was using previously.

I really like Source Sans Pro.  Unfortunately, the font rendered far too
small relative to other sans-serif fonts, which caused an unpleasent
experience for both slow page loads (e.g. over Tor or slower
connections) and for users with web fonts disabled (e.g. via NoScript).

Further, the font is huge: the WOFF is over 100KiB per font, and I was
using regular and light versions.  Open Sans, in contrast, is <20KiB per
font, allowing me to use Regular, Light, and SemiBold and still be about
half the size of the single Source Sans Pro Regular.

As a bonus, users may also already have Open Sans installed on their
system.

I settled with WOFF instead of WOFF2 for browser support.

The site now looks pretty close on fallback, which is good.  For
example, I use DejaVu Sans as my default font, and it even has a Light
version that renders correctly.

As with all resources on my site, I host this from my own domain rather
than via Google's servers.  That means that the font won't be cached for
users when they first visit the site, but that's okay---privacy is more
important.

I should note that, since I use NoScript, I almost never load web fonts
for other sites.  But I still wanted to try to provide a consistent look
across systems for those who do wish to load fonts.
2019-01-16 23:44:47 -05:00
Mike Gerwitz b182ea79b3
Majority of work on generation of new static site
I didn't originally intend for all of this to be in a single commit.  But
here we are.  I don't have the time to split these up more cleanly; this
project is taking more time than I originally hoped that it would.

This is a new static site generator.  More information to follow in the
near future (hopefully in the form of an article), but repo2html is now
removed.  See code comments for additional information; I tried to make it
suitable as a learning resource for others.  It is essentially a set of
shell scripts with a fairly robust build for incremental generation.

The site has changed drastically, reflecting that its purpose has changed
over the years: it is now intended for publishing quality works (or at least
I hope), not just a braindump.

This retains most of the text of the original pages verbatim, with the
exception of the About page.  Other pages may have their text modified in
commits that follow.

Enhancements to follow in future commits.
2019-01-11 23:46:13 -05:00
Mike Gerwitz 5a62a98a78
:70ch for GHS article
Width was too little for all the nesting and snippets it had.
2018-09-30 19:41:30 -04:00
Mike Gerwitz b9d6fc0314
:style.css: Reduced line width, increased height
Improve readability.
2018-04-24 22:24:17 -04:00
Mike Gerwitz e521680ece
:Year-specific LP logos on Talks
* docs/40-talks.md: Consistent styling and year-specific logos.
* images/lp-2016.png: Add LP2016 logo.
* images/lp-2017.png: Add LP2016 logo.
* style.css: Whitespace above logos.
2018-01-05 22:48:09 -05:00
Mike Gerwitz 4f5a47a970
:Add The Ethics Void to Talks page
* docs/40-talks.md (The Ethics Void): Add section.
* images/lp-2018.png: Add LP2018 logo.
* style.css (.talk-logo): Add class.
2018-01-05 22:36:48 -05:00
Mike Gerwitz b61ced73b6
:Restrict index body width to 40em 2017-10-29 00:15:09 -04:00
Mike Gerwitz 311741bac4
:Octoright octoflop
It should be obvious, no?
2017-08-01 01:30:33 -04:00
Mike Gerwitz 7414318a8c
:Organize headline images vertically at smallest resolution
Was squishing text too much.
2017-07-30 01:16:45 -04:00
Mike Gerwitz 879db402d6
:Fix HN icon display on mobile 2017-07-29 08:47:41 -04:00
Mike Gerwitz ee07c2ccfb
:Add HN self link
Uses "HN" instead of the "Y" in the YCombinator icon.

* style.css: Create HN icon out of link.
* tpl/.config: Add HN link.
2017-06-11 01:10:10 -04:00
Mike Gerwitz 58069270b1
:cgit styling (CSS) 2017-04-03 23:52:53 -04:00
Mike Gerwitz d7ab852f43
:Prevent heading from overlapping page fold on articles
* style.css (h1.subject): Right margin to prevent overlap of page fold on
  smaller resolutions
2016-08-27 15:06:46 -04:00
Mike Gerwitz ce61b5c057
:Better fit headline images at lower resolutions
* style.css: Float headline images to right on lower resolution, reduce size
  of index headline.
2016-08-27 00:29:51 -04:00
Mike Gerwitz 81b2824128
:Correct self-links overlap of header on small displays
style.css: #self-links will no longer overlap header at any point.
2016-08-27 00:08:45 -04:00
Mike Gerwitz 55cb97ff35
:Wrap menu if needed to accomodate screen resolution
* style.css: Upper menu will now text wrap if needed.
2016-08-27 00:08:25 -04:00
Mike Gerwitz ad270eaf3c
:Round Rule 41 banner borders slightly 2016-06-18 13:21:15 -04:00
Mike Gerwitz 9858f6112c
:Add avatar and attribution to About
Received permission from Kori Feener to use the LibrePlanet 2016 photo of me
as an avatar.
2016-05-27 23:38:38 -04:00
Mike Gerwitz cb1be6f2d4
:Index headline for talk at LibrePlanet 2016 2016-02-28 13:24:36 -05:00
Mike Gerwitz 96107a2781
Author and email display on articles/thoughts 2015-05-22 01:25:39 -04:00
Mike Gerwitz ab6a2adaa9
~50 chars per line for articles/thoughts
Just as one would expect for a conventional typeset document.
2015-05-22 01:25:39 -04:00
Mike Gerwitz 53218d3dcc
Open Sans font 2015-05-22 01:25:39 -04:00
Mike Gerwitz 2f1a0d9bb8
:Style updates for Org mode output 2014-12-07 00:25:10 -05:00
Mike Gerwitz d0397cbe1b
:hk-tango CSS for source highlighting
https://github.com/jgm/highlighting-kate/blob/master/css/hk-tango.css
2014-11-30 21:07:27 -05:00
Mike Gerwitz 7c72eecd3b Adjusted footer image and font size for smallest layout
With the CC BY-SA addition, the line of images would otherwise wrap. The font
size is adjusted slightly to be more proportional with the images.

The images dimensions are reduced by 20%.
2013-06-16 20:47:14 -04:00
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