all repos — h3rald @ f8bd5dc62d48a574ded09c7f444397bdaa722223

The sources of https://h3rald.com

Minor fixes to images, CSS, custom error pages and projects.
h3rald h3rald@h3rald.com
Tue, 01 Sep 2009 10:12:17 +0200
commit

f8bd5dc62d48a574ded09c7f444397bdaa722223

parent

0eca4cd543aa3400707ae0fce88bceeeaf2cdef1

A content/403.textile

@@ -0,0 +1,6 @@

+----- +permalink: "403" +title: Forbidden +type: page +----- +There's obviously nothing to see here. Go "home":/!
M content/404.textilecontent/404.textile

@@ -1,14 +1,6 @@

----- permalink: "404" -filters_pre: -- redcloth title: Page Not Found -comments: [] - -date: 2008-10-26 11:34:54 +01:00 -tags: [] - type: page -toc: true ----- -The page you're looking for cannot be found. Try searching the "archives":/#archives/. +The page you're looking for cannot be found. Try searching the "archives":/archives/, maybe you'll have better luck!
M content/500.textilecontent/500.textile

@@ -1,14 +1,6 @@

----- permalink: "500" -filters_pre: -- redcloth title: Internal Server Error -comments: [] - -date: 2008-10-26 11:34:54 +01:00 -tags: [] - type: page -toc: true ----- -Something went wrong. Go back <a href="/">home</a>! +Something went wrong. Try to go back "home":/ and if things improve. If not, send a "tweet":/ to _@h3rald_ and I'll try to sort it out.
M content/projects.textilecontent/projects.textile

@@ -6,17 +6,20 @@ -----

!</images/theme/heraldry/wyvern.png! !>/images/theme/heraldry/dragon.png! - +<div class="middle"> This page lists all my _projects_. Except for a few cases, they normally are: * open source * programming-related * developed using the "Ruby programming language":http://www.ruby-lang.org * hosted on "GitHub":http://www.github.com/h3rald +</div> <br /> <br /> <br /> +<br /> -- "H3RALD Web Site":/h3rald := This very web site, in its 8th incarnation. H3RALD.com has been operative since 2004 and through the years its backend changed from being pure vanilla HTML, to server-side PHP (Prado and CakePHP) to Ruby (Rails, Nanoc). =: - -- "RawLine":/rawline := Rawline is a Ruby library which provides a subset of the functionality of the C Readline library. Being implemented in pure Ruby, it gives Ruby developers much more control over key bindings and word completion. =: +- "H3RALD Web Site":/h3rald/ := This very web site, in its 8th incarnation. H3RALD.com has been operative since 2004 and through the years its backend changed from being pure vanilla HTML, to server-side PHP (Prado and CakePHP) to Ruby (Rails, Nanoc). +- "RawLine":/rawline/ := Rawline is a Ruby library which provides a subset of the functionality of the C Readline library. Being implemented in pure Ruby, it gives Ruby developers much more control over key bindings and word completion. +- "Concatenative":/concatenative/ := A Ruby DSL for concatenative programming. Although quite slow if compared to other concatenative languages like Factor, it implements all the most common concatenative combinator and makes it possible to use Ruby objects in a concatenative way. +- "Herald Vim Color Scheme":/herald-vim-color-scheme/ := A dark, easy-to-read color scheme for the Vim text editor. It can be used with 255, 16 or 8 colors.
M layouts/default.htmlayouts/default.htm

@@ -29,7 +29,7 @@ <link href="/css/elements.css" media="all" rel="stylesheet" type="text/css" />

<link href="/css/code.css" media="all" rel="stylesheet" type="text/css" /> </head> <body> - <a href="http://github.com/h3rald/h3rald-website"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a> + <a href="http://github.com/h3rald/h3rald"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a> <div id="wrapper"> <div id="header"> <!--[if lte IE 6]>

@@ -73,8 +73,11 @@ <!-- MAIN END -->

<div class="inner-border"></div> <div id="border-bottom"> <div id="share"> -<a class="a2a_dd" href="http://www.addtoany.com/share_save"><img src="http://static.addtoany.com/buttons/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a><script type="text/javascript">a2a_linkname=document.title;a2a_linkurl=location.href;a2a_onclick=1;a2a_prioritize=["delicious","stumbleupon","friendfeed","twitter","dzone","digg","reddit","slashdot","facebook","newsvine","sphere","ping"];</script><script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script> -<a class="a2a_dd" href="http://www.addtoany.com/subscribe?linkname=&amp;linkurl=http%3A%2F%2Fwww.h3rald.com%2Frss%2F"><img src="http://static.addtoany.com/buttons/subscribe_120_16.gif" width="120" height="16" alt="Subscribe"/></a><script type="text/javascript">a2a_linkname=document.title;a2a_linkurl="http://www.h3rald.com/rss/";a2a_onclick=1;</script><script type="text/javascript" src="http://static.addtoany.com/menu/feed.js"></script> + <a class="a2a_dd" href="http://www.addtoany.com/share_save"><img src="http://static.addtoany.com/buttons/share_save_120_16.gif" width="120" height="16" alt="Share/Save/Bookmark"/></a><script type="text/javascript">a2a_linkname=document.title;a2a_linkurl=location.href;a2a_onclick=1;a2a_prioritize=["delicious","stumbleupon","friendfeed","twitter","dzone","digg","reddit","slashdot","facebook","newsvine","sphere","ping"];</script> + <% if @item[:feed] then %> + <script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script> + <a class="a2a_dd" href="http://www.addtoany.com/subscribe?linkname=&amp;linkurl=http%3A%2F%2Fwww.h3rald.com%2Frss%2F"><img src="http://static.addtoany.com/buttons/subscribe_120_16.gif" width="120" height="16" alt="Subscribe"/></a><script type="text/javascript">a2a_linkname=document.title;a2a_linkurl="http://www.h3rald.com<%= @item[:feed] %>rss/";a2a_onclick=1;</script><script type="text/javascript" src="http://static.addtoany.com/menu/feed.js"></script> + <% end %> </div> <% if @item[:type] == 'article' then %> <%= render 'comments' %>
M resources/.htaccessresources/.htaccess

@@ -27,6 +27,7 @@ </IfModule>

# Custom errors ErrorDocument 404 /404/index.html +ErrorDocument 403 /403/index.html ErrorDocument 500 /500/index.html # Set the default handler.
M resources/css/code.cssresources/css/code.css

@@ -1,10 +1,15 @@

.highlight { - font-family: "Consolas", Monospace; - border: 3px double #A4282D; + font-family: "Consolas", "Monaco", Monospace; + border: 1px solid #A4282D; padding: 5px; margin: 5px 0; overflow: auto; +} + +code +{ + font-family: "Consolas", "Monaco", Monospace; } .highlight .hll { background-color: #ffffcc }
M resources/css/elements.cssresources/css/elements.css

@@ -1,3 +1,45 @@

+/*** CONTENT ***/ + +#content img +{ + margin: 0 5px; + padding: 2px; +} + +#content li, #content dd +{ + margin-left: 30px; + line-height: 1.5em; +} + +#content dt +{ + margin-top: 1em; + font-weight: bold; + font-size: 1.2em; +} + +#content dd +{ + font-style: italic; +} + +#content p +{ + line-height:1.5em; + margin: 1.7em 0; +} + +blockquote, .note +{ + font-family: Georgia, Serif; + color:#555; + font-style:italic; + padding:0 0 0 33px; + margin: 0; + background: url(/images/theme/theme/quote.gif) no-repeat top left; +} + /*** HOME Page ***/ #services li

@@ -60,12 +102,17 @@ }

.project-data { - border-left: 1px dashed #A4282D; + border-left: 1px solid #A4282D; padding: 0 1em 1em 1.5em; margin: 0 0 0 1.5em; height: 300px; } +ul +{ + overflow: hidden; +} + /** Share buttons **/ .inner-border img

@@ -98,7 +145,7 @@ /**** TABLES ****/

table { - border-bottom: 1px solid #C0C0C0; + border-bottom: 1px solid #A4282D; } tr, td, th

@@ -106,15 +153,15 @@ {

padding: 5px; } -td, th +td { - border-left: 1px solid #C0C0C0; - border-right: 1px solid #C0C0C0; + border-left: 1px solid #A4282D; + border-right: 1px solid #A4282D; } th { - background-color: #C0C0C0; + border: 1px solid #A4282D; } #taglist, #timeline
M resources/css/text.cssresources/css/text.css

@@ -39,7 +39,6 @@ height: 40px;

display:block; float:left; padding: 5px; - color: #B80000; } h2 + p:first-line {

@@ -65,36 +64,6 @@

#footer, #border-bottom { color: #BDB7BA; -} - -/*** CONTENT ***/ - -#content img -{ - margin: 0 5px; - padding: 2px; -} - -#content li -{ - margin-left: 30px; - line-height: 1.5em; -} - -#content p -{ - line-height:1.5em; - margin: 1.7em 0; -} - -blockquote, .note -{ - font-family: Georgia, Serif; - color:#555; - font-style:italic; - padding:0 0 0 33px; - margin: 0; - background: url(/images/theme/theme/quote.gif) no-repeat top left; } /**** Article Lists ****/