diff options
author | Aaron Ball <nullspoon@oper.io> | 2022-02-18 20:05:12 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2022-02-18 20:08:37 -0700 |
commit | c5a315eede02fed1974e59276ded46c331eef511 (patch) | |
tree | 64d8452888812bd1e30a00128b9c1a8ddee40ae1 /res | |
parent | 15b1ddbd36efd59d34af802bfbc31dec4b4b12ff (diff) | |
download | resume-c5a315eede02fed1974e59276ded46c331eef511.tar.gz resume-c5a315eede02fed1974e59276ded46c331eef511.tar.xz |
Convert resume to markdown
This completely rewrites the css stylesheets to better work with cmark,
the new post-processor. There is now a style-header stylesheet, which
contains styling for the header (cleverly named, I know), but is in its
own file since it is a somewhat complext setup. This also includes the
style-markdown stylesheet for the remainder of the resume.
This also completely rewrites the resume from asciidoc to markdown, with
some inline html until things lke per-element classes is supported.
Finally, this cleans up the makefile to only include relevant make
targets (except for rst which may still become a thing) and updates it
to default to markdown builds. The post-receive hook was also updated to
reflect these target changes.
Finally, finally, this includes a few touchups on the resume content,
including some tooling updates, some rewording, and some time updates.
Diffstat (limited to 'res')
-rw-r--r-- | res/style-header.css | 53 | ||||
-rw-r--r-- | res/style-markdown.css | 100 |
2 files changed, 153 insertions, 0 deletions
diff --git a/res/style-header.css b/res/style-header.css new file mode 100644 index 0000000..199aa70 --- /dev/null +++ b/res/style-header.css @@ -0,0 +1,53 @@ +/** + * Resume author and author-details styles + */ +div.resume-author-sect { + width:100%; + vertical-align:top; + margin-top:0px; + margin-bottom:10px; + letter-spacing:0px; +} + +/* Author left side, containing author name */ +div.resume-author-name { + display:inline-block; + font-size:2.8em; + font-weight:200; + border-right:2px dotted #aaa; + text-align:right; + padding: 0px 30px 0px 0px; + width:46%; + color:#111; +} + +div.resume-author-name p { + margin:1px; +} + +/* Author right side, containing author email, phone, website, etc */ +div.resume-author-contact { + padding: .9em 0em 0em 2em; + display:inline-block; + vertical-align:top; +} + +div.resume-author-contact ul, +div.resume-author-contact div { + margin:0px; + padding-left:0px; + list-style-type:none; + font-size: 1.1em; +} + +div.resume-author-contact ul li, +div.resume-author-contact ul li a, +div.resume-author-contact div.line, +div.resume-author-contact div.line a { + text-decoration:none; + color:#111; + font-family: mono; + white-space:pre; +} + +div.resume-author-contact ul li a:hover { text-decoration:underline; } diff --git a/res/style-markdown.css b/res/style-markdown.css new file mode 100644 index 0000000..57189f8 --- /dev/null +++ b/res/style-markdown.css @@ -0,0 +1,100 @@ +body { + color:#222; + background:#fff; + background-color:#fff; + font-family: DejaVu Sans; + + text-align:left; + letter-spacing:-.2px; + padding:0px; + margin:0px; +} + +@page { + size: auto; + margin: .2in; + margin-top: .2in; +} + +@media screen { + body { + margin-top:60px; + width:8.5in; + padding:.5in; + border:1px solid #aaa; + box-shadow: 0px 0px 9px #999; + margin-left:auto; + margin-right:auto; + + font-size:13px; + } +} + + +@media print { + body { + margin-top:2px; + font-size:12px; + } +} + + +h1 { + text-align:right; + color:#555; + font-size:2.0em; + font-weight:400; + border-top:3px solid #bbb; + border-bottom:1px solid #bbb; + padding:0.1em; + /*margin-top:22px;*/ + margin-top:1.2em; + margin-bottom:0.2em; +} + +h2 { + white-space:nowrap; + color:#222; + font-size:1.9em; + font-weight:400; + display:inline-block; + width:62%; + vertical-align:middle; + + margin-top:1em; + margin-bottom:0.5em; + padding:.1em 0em; +} + + +div.jobmeta { + display:inline-block; + width:37%; + text-align:right; + color:#777; + font-size:1.1em; + + vertical-align:middle; + line-height:1.4em; + + padding:.1em 0em; + margin-top:1.5em; + margin-bottom:.5em; + + border-left:2px dotted #aaa;*/ +} + + +div.witty-remark { color:#aaa; } + + +ul { + margin-top:.7em; + padding-left:20px; + text-align:left; + list-style-position:outside; +} +li p { + margin:2px; + text-align:left; +} |