From f896082ab54550e6cdbba23ef1a10a072e7bcdba Mon Sep 17 00:00:00 2001 From: NumEricR <-> Date: Sun, 3 Apr 2011 12:03:07 +0200 Subject: [PATCH 01/39] CSS Optimization --- css/resume.css | 58 +++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 31 deletions(-) diff --git a/css/resume.css b/css/resume.css index 46ba5ed..400612b 100644 --- a/css/resume.css +++ b/css/resume.css @@ -17,64 +17,60 @@ .msg a:hover { background: #266400; } /* //-- yui-grids style overrides -- */ -body { font-family: Georgia; color: #444; } +body { font-family: Georgia, Garamond, "Times New Roman", Times, serif; color: #444; } #inner { padding: 10px 80px; margin: 80px auto; background: #f5f5f5; border: solid #666; border-width: 8px 0 2px 0; } .yui-gf { margin-bottom: 2em; padding-bottom: 2em; border-bottom: 1px solid #ccc; } /* //-- header, body, footer -- */ -#hd { margin: 2.5em 0 3em 0; padding-bottom: 1.5em; border-bottom: 1px solid #ccc } +#hd { margin: 2.5em 0 3em 0; padding-bottom: 1.5em; border-bottom: 1px solid #ccc; } #hd h2 { text-transform: uppercase; letter-spacing: 2px; } #bd, #ft { margin-bottom: 2em; } /* //-- footer -- */ #ft { padding: 1em 0 5em 0; font-size: 92%; border-top: 1px solid #ccc; text-align: center; } -#ft p { margin-bottom: 0; text-align: center; } +#ft p { margin-bottom: 0; text-align: center; } /* //-- core typography and style -- */ #hd h1 { font-size: 48px; text-transform: uppercase; letter-spacing: 3px; } -h2 { font-size: 152% } +h2 { font-size: 152%; } h3, h4 { font-size: 122%; } h1, h2, h3, h4 { color: #333; } p { font-size: 100%; line-height: 18px; padding-right: 3em; } -a { color: #990003 } +a { color: #990003; } a:hover { text-decoration: none; } strong { font-weight: bold; } li { line-height: 24px; border-bottom: 1px solid #ccc; } -p.enlarge { font-size: 144%; padding-right: 6.5em; line-height: 24px; } -p.enlarge span { color: #000 } -.contact-info { margin-top: 7px; text-align: right; font-size: 12px; position: relative; float: left; width: 100%;} -.contact-info a { position :relative; float: left; width: 100%;} -.contact-info img {float: right; border: 1px solid #ccc; width: 150px; height: 150px; margin: -24px 0 14px;} +.enlarge { font-size: 144%; padding-right: 6.5em; line-height: 24px; } +.enlarge span { color: #000; } +.contact-info { margin-top: 7px; text-align: right; font-size: 12px; position: relative; float: left; width: 100%; } +.contact-info a { position: relative; float: left; width: 100%; } +.contact-info img { float: right; border: 1px solid #ccc; width: 150px; height: 150px; margin: -24px 0 14px; } .first h2 { font-style: italic; } -.last { border-bottom: 0 } +.last { border-bottom: 0; } /* //-- section styles -- */ -a#pdf { display: block; float: left; background: #666; color: white; padding: 6px 50px 6px 12px; margin-bottom: 6px; text-decoration: none; } -a#pdf:hover { background: #222; } +#pdf { display: block; float: left; background: #666; color: #fff; padding: 6px 50px 6px 12px; margin-bottom: 6px; text-decoration: none; } +#pdf:hover { background: #222; } .org, .job { position: relative; margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #ccc; } .org a, .job a { border: none; text-decoration: none; } -.org h4, .job h4 { position: absolute; top: 0.35em; right: 0 } +.org h4, .job h4 { position: absolute; top: 0.35em; right: 0; } .org p, .job p { margin: 0.75em 0 3em 0; } .last { border: none; } -.content-languages { } -.content-languages ul { margin: 0; display: inline; float: left; position: relative; width: 30%;} -.content-languages li { margin: 3px 0; padding: 3px 0; position: relative; float: left; display-inline; } -.content-languages li span { font-size: 152%; display: block; margin-bottom: -2px; padding: 0 } -.talent { width: 32%; float: left } +.talent { width: 32%; float: left; } .talent h2 { margin-bottom: 6px; } -#srt-ttab { margin-bottom: 100px; text-align: center; } -#srt-ttab img.last { margin-top: 20px } +#srt-ttab { margin-bottom: 100px; text-align: center; } +#srt-ttab img.last { margin-top: 20px; } /* --// override to force 1/8th width grids -- */ -.yui-gf .yui-u{width:80.2%;} -.yui-gf div.first{width:12.3%;} +.yui-gf .yui-u { width: 80.2%; } +.yui-gf div.first { width: 12.3%; } -input#username { +#username { position: relative; float: left; height: 30px; @@ -83,20 +79,21 @@ input#username { -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; - font-family: Georgia; color: #444; + font-family: Georgia, Garamond, "Times New Roman", Times, serif; + color: #444; font-size: 18px; padding: 5px; } -button#gen { +#gen { position: relative; float: left; margin-left: 10px; width: 20%; height: 44px; - font-family: Georgia; color: #444; - font-size: 18px; - color: white; + font-family: Georgia, Garamond, "Times New Roman", Times, serif;; + font-size: 18px; + color: #fff; background-image: -webkit-gradient( linear, left bottom, @@ -114,8 +111,7 @@ button#gen { -moz-border-radius: 4px; border-radius: 4px; } - -button#gen:hover { +#gen:hover { cursor: pointer; } From c60d1c2d57717dc87d8748a6bf81877b82f6f44b Mon Sep 17 00:00:00 2001 From: NumEricR <-> Date: Sat, 9 Apr 2011 16:50:21 +0200 Subject: [PATCH 02/39] Others CSS optimization --- css/resume.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/resume.css b/css/resume.css index 400612b..94d9e02 100644 --- a/css/resume.css +++ b/css/resume.css @@ -12,7 +12,7 @@ .msg { padding: 10px; background: #222; position: relative; } -.msg h1 { color: #fff; } +.msg h1 { color: #fff; } .msg a { margin-left: 20px; background: #408814; color: white; padding: 4px 8px; text-decoration: none; } .msg a:hover { background: #266400; } @@ -91,7 +91,7 @@ li { line-height: 24px; border-bottom: 1px solid #ccc; } margin-left: 10px; width: 20%; height: 44px; - font-family: Georgia, Garamond, "Times New Roman", Times, serif;; + font-family: Georgia, Garamond, "Times New Roman", Times, serif; font-size: 18px; color: #fff; background-image: -webkit-gradient( From 6a64fa4e8a1ddf7b755d06dd6f81a2508927ce65 Mon Sep 17 00:00:00 2001 From: NumEricR <-> Date: Sun, 10 Apr 2011 17:24:47 +0200 Subject: [PATCH 03/39] Delete useless space --- js/githubresume.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/githubresume.js b/js/githubresume.js index 22a1a21..681eb2d 100644 --- a/js/githubresume.js +++ b/js/githubresume.js @@ -91,7 +91,7 @@ var run = function() { }; if (data.user.blog !== undefined && data.user.blog !== null) { - view.blog = addHttp + data.user.blog; + view.blog = addHttp + data.user.blog; } $.ajax({ From b3202f0f0ed5eb91ae332bc536866cf55737c693 Mon Sep 17 00:00:00 2001 From: NumEricR <-> Date: Sun, 10 Apr 2011 17:36:04 +0200 Subject: [PATCH 04/39] Add message if JS is disabled --- css/resume.css | 7 +++++++ index.html | 1 + 2 files changed, 8 insertions(+) diff --git a/css/resume.css b/css/resume.css index 94d9e02..ad8c231 100644 --- a/css/resume.css +++ b/css/resume.css @@ -128,3 +128,10 @@ li { line-height: 24px; border-bottom: 1px solid #ccc; } .enlarge-medium { font-size: 15px; } + +noscript { + display: block; + margin-top: 30px; + font-size: 152%; + color: #990003; +} \ No newline at end of file diff --git a/index.html b/index.html index ac1e791..d0b807c 100644 --- a/index.html +++ b/index.html @@ -13,5 +13,6 @@
+