diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-06-30 03:23:00 -0400 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-06-30 03:23:00 -0400 |
commit | 6951eb85239f386c8a0b6fd4051f5fbc1d8a77e0 (patch) | |
tree | fff1aa978025b227e8ad6222fb50af191379dabd /bn_django | |
parent | fed6d5930825914e07095cf2c330add257088bfb (diff) | |
download | bnewnet-6951eb85239f386c8a0b6fd4051f5fbc1d8a77e0.tar.gz bnewnet-6951eb85239f386c8a0b6fd4051f5fbc1d8a77e0.zip |
added hack-ish style tweaking controls
TODO: add font selector styles, make it all work, cookies?
Diffstat (limited to 'bn_django')
-rw-r--r-- | bn_django/templates/base.html | 26 | ||||
-rw-r--r-- | bn_django/templates/frontpage.html | 8 |
2 files changed, 21 insertions, 13 deletions
diff --git a/bn_django/templates/base.html b/bn_django/templates/base.html index 7349669..95be2a4 100644 --- a/bn_django/templates/base.html +++ b/bn_django/templates/base.html @@ -3,8 +3,21 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> {% block stylesheets %} -<link rel="STYLESHEET" type="text/css" href="/static/style/default.css" /> -<link rel="STYLESHEET" type="text/css" href="/static/style/commentary.css" /> +<script type="text/javascript" src="/static/style/styleswitcher.js" /> +<link rel="stylesheet" type="text/css" href="/static/style/default.css" /> +<link rel="stylesheet" type="text/css" href="/static/style/commentary.css" /> +<link rel="alternate stylesheet" type="text/css" + href="/static/style/site-sane.css" title="site-sane" /> +<link rel="alternate stylesheet" type="text/css" + href="/static/style/site-nuts.css" title="site-nuts" /> +<link rel="alternate stylesheet" type="text/css" + href="/static/style/font-sans.css" title="font-sans" /> +<link rel="alternate stylesheet" type="text/css" + href="/static/style/font-serif.css" title="font-serif" /> +<link rel="alternate stylesheet" type="text/css" + href="/static/style/width-fixed.css" title="width-fixed" /> +<link rel="alternate stylesheet" type="text/css" + href="/static/style/width-flexy.css" title="width-flexy" /> {% endblock %} {% block externaljs %} {% endblock %} <title>{% block windowtitle %}bryannewbold.com{% endblock %}</title> @@ -29,12 +42,13 @@ <br /> style: <a onclick="swapstyle('font');return;" href="#" id="style_font" class="subtle"> - <span class="style_font_first">a</span><span class="style_font_second">A + <span class="style_font_first" id="style_font_first"> + a</span><span class="style_font_second" id="style_font_second">A </span></a> - <a onclick="swapstyle('font');return;" href="#" + <a onclick="swapstyle('width');return;" href="#" id="style_width" class="subtle">fixed</a> - <a onclick="swapstyle('font');return;" href="#" - id="style_sheet" class="subtle">sane</a> + <a onclick="swapstyle('site');return;" href="#" + id="style_site" class="subtle">sane</a> <span class="righty"></span> </form> </div> diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html index d8a9cfc..7401ff7 100644 --- a/bn_django/templates/frontpage.html +++ b/bn_django/templates/frontpage.html @@ -21,18 +21,12 @@ Other sites: <br /> {% block content %} <div class="notice"> <center><b>This site is under active development!</b></center> -<p /> There are undoubtedly bugs, errors, aesthetic travesties, ommissions, etc (notably the <a href="/knowledge">knowledge</a> section isn't anything yet). +<p /> There are undoubtedly bugs, errors, aesthetic travesties, ommissions, etc. If you're curious you can track my work in the <a href="/code">code</a> section. <p />In the meanwhile you can get your bryan newbold fix at my <a href="http://web.mit.edu/bnewbold/www">old site</a>. </div> <h3>Where am I?</h3> For 2007 i'm taking a year break from <a href="http://web.mit.edu">MIT</a>... -<!-- -<div class="righty_content"> -<b> Are you going to Burning Man? Let me know...</b> -</div> ---> - as of February i'm living in Seattle working at <a href="http://azalea.com/AboutUs">Azalea Software</a> doing tech work. Starting in mid-May i'll be working at the Moss Landing Marine Labs in California, followed in October by field work in Antarctica. I will be back at MIT for the spring 2008 semester. <br /> |