mirror of
https://github.com/resume/resume.github.com.git
synced 2024-09-11 12:25:56 +03:00
added subtle background, added email and print links
This commit is contained in:
parent
be62711f5c
commit
9def42b332
@ -117,4 +117,8 @@ a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#actions {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* --------- */
|
@ -17,8 +17,8 @@
|
||||
.msg a:hover { background: #266400; }
|
||||
|
||||
/* //-- yui-grids style overrides -- */
|
||||
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; }
|
||||
body { font-family: Georgia, Garamond, "Times New Roman", Times, serif; color: #444; background: url('../images/low_contrast_linen.png'); padding: 80px 0 80px 0;}
|
||||
#inner { padding: 10px 80px; margin: 0 auto; background: #f5f5f5; border: solid #666; border-width: 8px 0 2px 0; box-shadow: 0 1px 3px #000; }
|
||||
.yui-gf { margin-bottom: 2em; padding-bottom: 2em; border-bottom: 1px solid #ccc; }
|
||||
|
||||
/* //-- header, body, footer -- */
|
||||
@ -43,7 +43,7 @@ li { line-height: 24px; border-bottom: 1px solid #ccc; }
|
||||
p.enlarge { font-size: 144%; padding-right: 6.5em; line-height: 24px; }
|
||||
.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;}
|
||||
.contact-info img {float: right; border: 1px solid #ccc; width: 140px; height: 140px; margin: -24px 0 14px; border-radius: 3px;}
|
||||
.first h2 { font-style: italic; }
|
||||
.last { border-bottom: 0; }
|
||||
|
||||
@ -134,3 +134,19 @@ noscript {
|
||||
font-size: 152%;
|
||||
color: #990003;
|
||||
}
|
||||
|
||||
#actions {
|
||||
margin: 0 auto 40px auto;
|
||||
width: 73.076em;
|
||||
}
|
||||
|
||||
#actions * {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#actions a {
|
||||
color: #ccc;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 0 5px #000;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
BIN
images/low_contrast_linen.png
Normal file
BIN
images/low_contrast_linen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -110,7 +110,8 @@ var run = function() {
|
||||
followers: data.followers,
|
||||
followersLabel: data.followers > 1 ? 'followers' : 'follower',
|
||||
username: username,
|
||||
since: since
|
||||
since: since,
|
||||
resume_url: window.location
|
||||
};
|
||||
|
||||
if (data.blog !== undefined && data.blog !== null && data.blog !== '') {
|
||||
@ -125,6 +126,10 @@ var run = function() {
|
||||
html = Mustache.to_html(template, view);
|
||||
$('#resume').html(html);
|
||||
document.title = name + "'s Résumé";
|
||||
$("#actions #print").click(function(){
|
||||
window.print();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -1,4 +1,10 @@
|
||||
<div id="actions" class="yui-t7">
|
||||
<a href="#" id="print">Print</a>
|
||||
<a target='none' href="mailto:?subject=Resume for {{name}}&body=Link to resume: {{resume_url}}" id="email">Email</a>
|
||||
</div>
|
||||
|
||||
<div id="doc2" class="yui-t7">
|
||||
|
||||
<div id="inner" class="vcard">
|
||||
|
||||
<div id="hd">
|
||||
|
Loading…
Reference in New Issue
Block a user