all repos — h3rald @ 99dbffd2c4273e1b1970b5a4376413faacf85f56

The sources of https://h3rald.com

Added backtype icon + styled google search.
h3rald h3rald@h3rald.com
Tue, 04 Aug 2009 14:38:31 +0200
commit

99dbffd2c4273e1b1970b5a4376413faacf85f56

parent

4d527f4ad85f8c9fd8a1cd06916296a886a4e9bd

M ui-dev/css/elements.cssui-dev/css/elements.css

@@ -134,10 +134,16 @@ }

#services h3 { - padding-top: 20px; font-size: 170%; font-style: italic; - height: 30px; + height: 50px; + display: block; +} + +#services h3 a +{ + padding-top: 35px; + vertical-align: middle; } #services img

@@ -228,7 +234,7 @@ }

/* Google Search */ -.gsc-branding, .gsc-resultsHeader, .gs-visibleUrl +.gsc-resultsHeader, .gs-visibleUrl, .gsc-trailing-more-results, .gs-watermark { display:none; }

@@ -242,13 +248,50 @@ .gsc-control, .gsc-resultsRoot

{ width: 850px; } -.gsc-results +.gsc-result { + padding: 6px 0; } -.gsc-search-box td +.gsc-search-box td, .gsc-search-box { border: none; +} + +.gsc-input +{ + width: 200px; +} + +.gsc-branding +{ + height: 20px; + font-size: 80%; + font-style: italic; + font-family: Georgia, Serif; + border: none; + text-align: right; +} + +.gsc-clear-button +{ + background: url('../images/icons/close.png') +} + +.gsc-cursor-page +{ + display: inline; + padding-right: 7px; +} + +.gsc-cursor-page:hover +{ + cursor: pointer; +} + +.gsc-cursor-current-page +{ + font-weight: bold; }
M ui-dev/css/text.cssui-dev/css/text.css

@@ -50,12 +50,12 @@ text-decoration:none;

outline:none; } -a, a.gs-title +a, a.gs-title, .gsc-cursor-page { color: #A4282D; } -a:hover, a.gs-title +a:hover, a.gs-title:hover, .gsc-cursor-page:hover { color: #CF282D; }
M ui-dev/home.htmui-dev/home.htm

@@ -5,18 +5,20 @@ <title>H3RALD</title>

<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.h3rald.com/rss"> <link rel="alternate" type="application/atom+xml" title="ATOM" href="http://www.h3rald.com/atom"> <meta name="author" content="Fabio Cevasco"> - <meta name="copyright" content="h3rald.com"> + <meta name="copyright" content="Fabio Cevasco"> <meta name="robots" content="all, follow"> <meta name="Revisit-After" content="2 Days"> <meta name="language" content="en"> <meta name="target_country" content="en-us"> <meta name="country" content="United States"> - <meta name="description" content="H3RALD - Fabio Cevasco’s Writings"> + <meta name="description" content="H3RALD - Fabio Cevasco's Writings"> <meta name="keywords" content="h3rald, fabio cevasco, ruby, rails technical writing, reviews, software, browsers, cakephp, genova, technical articles"> <link rel="shortcut icon" href="http://www.h3rald.com/favicon.ico" type="image/x-icon"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta content="44.388041;9.073248" name="ICBM"> + <script src="http://www.google.com/jsapi?key=ABQIAAAA6h3j8Jri5D_da53UPbEbThRlq2n1sm52B5HDRR5tm6o8XM18FhTKn3v155RpPeD0kWnWG81QEhhifQ" type="text/javascript"></script> + <script src="js/search.js" type="text/javascript"></script> <link href="css/layout.css" media="all" rel="stylesheet" type="text/css"> <link href="css/text.css" media="all" rel="stylesheet" type="text/css"> <link href="css/elements.css" media="all" rel="stylesheet" type="text/css">

@@ -27,8 +29,6 @@ function tweets_received(){

$('.twitter-item[title]').qtip(dark_tooltip); } </script> - <script src="http://www.google.com/jsapi?key=ABQIAAAA6h3j8Jri5D_da53UPbEbThRlq2n1sm52B5HDRR5tm6o8XM18FhTKn3v155RpPeD0kWnWG81QEhhifQ" type="text/javascript"></script> - <script src="js/search.js" type="text/javascript"></script> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <!-- JQuery Plugins -->

@@ -136,17 +136,17 @@ <div id="footer-container">

<div id="services"> <div class ="footer-left"> <div id="backtype"> - <img src="images/icons/rss.png" /><h3>&nbsp;<a href="http://www.backtype.com/h3rald">comments</a></h3> + <h3><img src="images/icons/backtype.png" />&nbsp;<a href="http://www.backtype.com/h3rald">comments</a></h3> </div> </div> <div class ="footer-center"> <div id="twitter"> - <img src="images/icons/twitter.png" /><h3>&nbsp;<a href="http://www.twitter.com/h3rald">tweets</a></h3> + <h3><img src="images/icons/twitter.png" />&nbsp;<a href="http://www.twitter.com/h3rald">tweets</a></h3> </div> </div> <div class ="footer-right"> <div id="delicious"> - <img src="images/icons/delicious.png" /><h3>&nbsp;<a href="http://www.delicious.com/h3rald">bookmarks</a></h3> + <h3><img src="images/icons/delicious.png" />&nbsp;<a href="http://www.delicious.com/h3rald">bookmarks</a></h3> </div> </div> </div>
M ui-dev/js/search.jsui-dev/js/search.js

@@ -1,4 +1,4 @@

-google.load('search', '1'); +google.load('search', '1', {nocss: 1}); function OnLoad() { // create a search control