summaryrefslogtreecommitdiff
path: root/res/style-markdown.css
diff options
context:
space:
mode:
Diffstat (limited to 'res/style-markdown.css')
-rw-r--r--res/style-markdown.css93
1 files changed, 56 insertions, 37 deletions
diff --git a/res/style-markdown.css b/res/style-markdown.css
index d2af317..c753a5a 100644
--- a/res/style-markdown.css
+++ b/res/style-markdown.css
@@ -10,11 +10,11 @@ body {
margin:0px;
}
-@page {
+/*@page {
size: auto;
- margin: .2in;
- margin-top: .2in;
-}
+ margin: .5in;
+ /*margin-top: .5in;
+}*/
@media screen {
body {
@@ -31,13 +31,6 @@ body {
}
-@media print {
- body {
- margin-top:2px;
- font-size:12px;
- }
-}
-
h1 {
text-align:right;
@@ -46,10 +39,10 @@ h1 {
font-weight:400;
border-top:3px solid #bbb;
border-bottom:1px solid #bbb;
- padding:0.1em;
- /*margin-top:22px;*/
+ padding:0.2em;
margin-top:1.2em;
margin-bottom:0.2em;
+ background-color:#fbfbfb;
}
h2 {
@@ -57,34 +50,14 @@ h2 {
color:#222;
font-size:2.0em;
font-weight:400;
+ letter-spacing:-.02em;
display:inline-block;
- width:60%;
- vertical-align:middle;
-
- margin-top:.9em;
- margin-bottom:0.4em;
- padding:.05em 0em;
-}
-
-
-div.jobmeta {
- display:inline-block;
- width:39%;
- text-align:right;
- color:#777;
- font-size:1.0em;
-
- vertical-align:middle;
- line-height:1.4em;
-
- padding:.1em 0em;
- margin-top:1.5em;
- margin-bottom:.5em;
+ vertical-align:top;
- /*border-left:2px dotted #aaa;*/
+ width:50%;
+ text-align:left;
}
-
div.witty-remark { color:#aaa; }
ul {
@@ -113,3 +86,49 @@ div#profile ul li {
margin-left:.8em;
padding-left:.2em;
}
+
+
+div.jobmeta {
+ display:inline-block;
+ width:49%;
+ /*text-align:right;*/
+ color:#777;
+ padding:.1em 0em;
+ margin-right:0;
+ position:sticky;
+}
+
+div.jobmeta ul,
+div.jobmeta ul li {
+ list-style-type:none;
+ border:none !important;
+ margin:0 !important;
+ padding:.2em 0 !important;
+ line-height:1em;
+ text-align:right;
+}
+div.jobmeta p.dates {
+ font-weight:800;
+ padding:0;
+ margin:0;
+ display:inline-block;
+ vertical-align:middle;
+}
+h2 { margin-top:1.5rem; }
+div.jobmeta { margin-top:1rem; }
+
+div#education {
+ text-align:left;
+}
+
+
+@media print {
+ @page {
+ size:auto;
+ margin:8mm 7mm;
+ }
+ body {
+ font-size:10pt;
+ }
+}
+

Generated by cgit