aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-07 17:15:13 -0700
committerFuwn <[email protected]>2021-05-07 17:15:13 -0700
commit19ea676d2571e38de767443f5695dd4cedd29a64 (patch)
tree5eb4bd08035b380355006957c73a3199f52e0980 /styles
downloadresume-md-19ea676d2571e38de767443f5695dd4cedd29a64.tar.xz
resume-md-19ea676d2571e38de767443f5695dd4cedd29a64.zip
feat(resume): :star:
Diffstat (limited to 'styles')
-rw-r--r--styles/chmduquesne.css94
-rw-r--r--styles/chmduquesne.tex109
2 files changed, 203 insertions, 0 deletions
diff --git a/styles/chmduquesne.css b/styles/chmduquesne.css
new file mode 100644
index 0000000..3b09c68
--- /dev/null
+++ b/styles/chmduquesne.css
@@ -0,0 +1,94 @@
+<style type="text/css">
+/*
+ * Copyright 2013 Christophe-Marie Duquesne <[email protected]>
+ *
+ * CSS for making a resume with pandoc. Inspired by moderncv.
+ *
+ * This CSS document is delivered to you under the CC BY-SA 3.0 License.
+ * https://creativecommons.org/licenses/by-sa/3.0/deed.en_US
+ */
+
+/* Whole document */
+body {
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ max-width: 800px;
+ margin: auto;
+ background: #FFFFFF;
+ padding: 10px 10px 10px 10px;
+}
+
+/* Title of the resume */
+h1 {
+ font-size: 55px;
+ color: #757575;
+ text-align:center;
+ margin-bottom:15px;
+}
+h1:hover {
+ background-color: #757575;
+ color: #FFFFFF;
+ text-shadow: 1px 1px 1px #333;
+}
+
+/* Titles of categories */
+h2 {
+ /* This is called "sectioncolor" in the ConTeXt stylesheet. */
+ color: #397249;
+}
+/* There is a bar just before each category */
+h2:before {
+ content: "";
+ display: inline-block;
+ margin-right:1%;
+ width: 16%;
+ height: 10px;
+ /* This is called "rulecolor" in the ConTeXt stylesheet. */
+ background-color: #9CB770;
+}
+h2:hover {
+ background-color: #397249;
+ color: #FFFFFF;
+ text-shadow: 1px 1px 1px #333;
+}
+
+/* Definitions */
+dt {
+ float: left;
+ clear: left;
+ width: 17%;
+ /*font-weight: bold;*/
+}
+dd {
+ margin-left: 17%;
+}
+p {
+ margin-top:0;
+ margin-bottom:7px;
+}
+
+/* Blockquotes */
+blockquote {
+ text-align: center
+}
+
+/* Links */
+a {
+ text-decoration: none;
+ color: #397249;
+}
+a:hover, a:active {
+ background-color: #397249;
+ color: #FFFFFF;
+ text-decoration: none;
+ text-shadow: 1px 1px 1px #333;
+}
+
+/* Horizontal separators */
+hr {
+ color: #A6A6A6;
+}
+
+table {
+ width: 100%;
+}
+</style>
diff --git a/styles/chmduquesne.tex b/styles/chmduquesne.tex
new file mode 100644
index 0000000..ccd94b7
--- /dev/null
+++ b/styles/chmduquesne.tex
@@ -0,0 +1,109 @@
+% Copyright 2013 Christophe-Marie Duquesne <[email protected]>
+% Copyright 2014 Mark Szepieniec <http://github.com/mszep>
+%
+% ConText style for making a resume with pandoc. Inspired by moderncv.
+%
+% This CSS document is delivered to you under the CC BY-SA 3.0 License.
+% https://creativecommons.org/licenses/by-sa/3.0/deed.en_US
+
+\startmode[*mkii]
+ \enableregime[utf-8]
+ \setupcolors[state=start]
+\stopmode
+$if(mainlang)$
+\mainlanguage[$mainlang$]
+$endif$
+
+\setupcolor[hex]
+\definecolor[titlegrey][h=757575]
+\definecolor[sectioncolor][h=397249]
+\definecolor[rulecolor][h=9cb770]
+
+% Enable hyperlinks
+\setupinteraction[state=start, color=sectioncolor]
+
+\setuppapersize [$if(papersize)$$papersize$$else$letter$endif$][$if(papersize)$$papersize$$else$letter$endif$]
+\setuplayout [width=middle, height=middle,
+ backspace=20mm, cutspace=0mm,
+ topspace=10mm, bottomspace=20mm,
+ header=0mm, footer=0mm]
+
+%\setuppagenumbering[location={footer,center}]
+
+\setupbodyfont[11pt, helvetica]
+
+\setupwhitespace[medium]
+
+\setupblackrules[width=31mm, color=rulecolor]
+
+\setuphead[chapter] [style=\tfd]
+\setuphead[section] [style=\tfd\bf, color=titlegrey, align=middle]
+\setuphead[subsection] [style=\tfb\bf, color=sectioncolor, align=right,
+ before={\leavevmode\blackrule\hspace}]
+\setuphead[subsubsection][style=\bf]
+
+$if(number-sections)$
+$else$
+\setuphead[chapter, section, subsection, subsubsection][number=no]
+$endif$
+
+%\setupdescriptions[width=10mm]
+
+\definedescription
+ [description]
+ [headstyle=bold, style=normal,
+ location=hanging, width=18mm, distance=14mm, margin=0cm]
+
+\setupitemize[autointro, packed] % prevent orphan list intro
+\setupitemize[indentnext=no]
+
+\setupfloat[figure][default={here,nonumber}]
+\setupfloat[table][default={here,nonumber}]
+
+\setuptables[textwidth=max, HL=none]
+
+\setupthinrules[width=15em] % width of horizontal rules
+
+\setupdelimitedtext
+ [blockquote]
+ [before={\setupalign[middle]},
+ indentnext=no,
+ ]
+
+$if(toc)$
+\setupcombinedlist[content][list={$placelist$}]
+
+$endif$
+$for(header-includes)$
+$header-includes$
+$endfor$
+
+\starttext
+$if(title)$
+\startalignment[center]
+ \blank[2*big]
+ {\tfd $title$}
+$if(author)$
+ \blank[3*medium]
+ {\tfa $for(author)$$author$$sep$\crlf $endfor$}
+$endif$
+$if(date)$
+ \blank[2*medium]
+ {\tfa $date$}
+$endif$
+ \blank[3*medium]
+\stopalignment
+$endif$
+$for(include-before)$
+$include-before$
+$endfor$
+$if(toc)$
+\placecontent
+$endif$
+
+$body$
+
+$for(include-after)$
+$include-after$
+$endfor$
+\stoptext