From d0e09b8642648f921aa91eb37fe1ad71d34927dc Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 31 Oct 2013 01:41:45 -0400 Subject: Initial commit. --- (limited to 'styles') diff --git a/styles/fonts.css b/styles/fonts.css new file mode 100644 index 0000000..efbf2e8 --- /dev/null +++ b/styles/fonts.css @@ -0,0 +1,22 @@ +@font-face { + font-family: "Linux Libertine"; + font-style: normal; + font-weight: normal; + src: + local("Linux Libertine"), + local("Linux-Libertine"), + local("Linux Libertine Regular"), + local("Linux-Libertine-Regular"), + url("../fonts/LinLibertine_R_subset.woff"); +} +@font-face { + font-family: "Linux Libertine"; + font-style: normal; + font-weight: bold; + src: + local("Linux Libertine"), + local("Linux-Libertine"), + local("Linux Libertine Bold"), + local("Linux-Libertine-Bold"), + url("../fonts/LinLibertine_RB_subset.woff"); +} diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 0000000..f36c5d9 --- /dev/null +++ b/styles/main.css @@ -0,0 +1,132 @@ +@import url("fonts.css") screen; + +@page { + size: letter; + margin: 0.750in; + @top-center { + font-family: "Linux Libertine"; + font-size: 10pt; + content: "Patrick “P. J.” MᶜDermott"; + } + @bottom-center { + font-family: "Linux Libertine"; + font-size: 10pt; + content: "Page " counter(page) " of " counter(pages); + } +} +@page :first { + @top-center { + font-family: "Linux Libertine"; + font-size: 10pt; + content: ""; + } +} + +@media screen { + html { + margin: 0 auto 0 auto; + width: 8.500in; + } + body { + margin: 0.750in; + } +} + +* { + margin: 0; + padding: 0; + background: none; + border: 0 none; + font-size: 100.000%; + vertical-align: baseline; +} +html { + background-color: #FFFFFF; +} +body { + font-family: "Linux Libertine"; + font-size: 10.000pt; + line-height: 1.000; +} +span.super { + vertical-align: text-top; + font-size: 0.666em; +} + +header { + width: 100.000%; +} +header>h1 { + text-align: center; + font-weight: bold; + font-size: 14.000pt; +} +header>div { + float: left; + width: 50.000%; + border-bottom: 1.000px solid #000000; + padding: 0 0 0.250em 0; + margin: 0 0 0.625em 0; +} +header>div.left { + text-align: left; +} +header>div.right { + text-align: right; +} + +section { + margin: 0 0 0.500em 0; +} +section>h2 { + float: left; + width: 1.500in; + text-transform: uppercase; +} +section>ul { + margin: 0 0 0 1.500in; + list-style-type: none; +} +section>ul>li { + margin: 0 0 0.500em 0; + page-break-inside: avoid; +} +section>ul>li>h3 { + position: relative; +} +section>ul>li>h4 { + position: relative; +} +section>ul>li>p { + position: relative; +} +section>ul>li span { + font-weight: normal; +} +section>ul>li>ul { + padding: 0 0 0 0.250in; + list-style-type: disc; +} +section>dl { + margin: 0 0 0 1.500in; + list-style-type: none; +} +section>dl>dt { + font-weight: bold; +} +section>dl>dd { + margin: 0 0 0 0.250in; +} + +section.edu>ul>li>p>span { + position: absolute; + left: 3.000in; +} +section.hon>ul>li>p>span { + position: absolute; + left: 0.500in; +} +section.wor>ul>li>h3>span { + position: absolute; + left: 3.000in; +} -- cgit v0.9.1