/* cv.css * CSS file for my curriculum vitae * * This file is copyright © 2005 martin f. krafft . * You may use this file for your own curriculum vitae * under the terms of the Artistic License 2.0, provided that you change all * personal data. The attribution has to appear only inside a comment, though * a brief note and link would be appreciated, if the CV is served as a web * page. You can use the screen-only class for this. */ body { font-family: "RotisSansSerif", "Bitstream Vera Sans", Helvetica, Arial, sans-serif; padding: 0; margin: 0; } @media print { body { font-size: smaller; } } @media screen { .document { margin: 0 auto; width: 50em; } } h1, h2 { font-family: "RotisSemiSerif", "Bitstream Vera Serif", "Times New Roman", Times, serif; padding-left: 25%; } h1 { font-size: 200%; background: transparent; margin: 0 0 1em 0; } @media screen { h1 { font-variant: small-caps; margin-top: 1em; } } h2 { font-size: 110%; font-weight: bold; clear: both; background-color: #ddd; color: inherit; /* border-top: 1.2em solid #ddd; */ margin: 1em 0 0 0; } h2 a { display: block; margin-top: -1.2em; } p { margin: 0.5em 0 0 25%; } ul { list-style: none; margin: 0; padding: 0 0 0 25%; } ol { padding: 0 0 0 25%; margin: 0; } @media screen { ol { list-style: none; } } li { margin-top: 0.5em; } table { margin: 1em 0 1em 25%; } a { color: #000; text-decoration: none; } @media screen { a { color: #c00; } h2 a { color: #000; } a:hover, a:focus { text-decoration: underline; } h2 a:hover, h2 a:focus { text-decoration: none; } } img.portrait { float: left; margin: 0.5em 0 0 0.5em; } html:first-child>body img.portrait { /* make image smaller only in opera */ width: 160px; height: 207px; margin-bottom: -0.5em; } @media print { img.portrait { width: 160px; height: 207px; margin-left: 0; margin-bottom: 0.1em; } html:first-child>body img.portrait { /* make image even smaller in opera */ width: 145px; height: 188px; } } p.personal { line-height: 1.5em; margin-top: 1.5em; margin-bottom: 1.5em; } p.label { float: left; } dl { margin: 0; } dt { margin: 0.5em 0 0 0.5em; float: left; } dt:first-child { margin: 0 0 0 0.5em; } dd { margin: 0.5em 0 0 25%; } dd div.line-block div.line:first-child { font-weight: bolder; } .refs { margin-top: 2em; } .signature { margin: 3em 0 0 0.5em; line-height: 4em; } .online-notes { margin: 3em 0 0 0; border-top: 2px solid #ddd; padding: 1em 0 0 25%; } .online-notes, .copyright { font-size: smaller; } @media screen { p.screen-only { margin-bottom: 1em; } .print-only { display: none; } } @media print { .screen-only { display: none; } .footer { display: none; } } div.section { page-break-before: auto; page-break-inside: "" !important; page-break-after: auto; } h2 { page-break-before: auto; page-break-after: "" !important; } dl { page-break-before: "" !important; page-break-inside: "" !important; page-break-after: auto; } @page { size: portrait; margin: 2cm 2cm 2cm 3cm; } .ie-note { display: none; position: relative; } * html body .ie-note { /* display in IE only */ font-family: "RotisSansSerif", "Bitstream Vera Sans", Helvetica, Arial, sans-serif; font-size: 80%; display: block; position: absolute; top: 0; left: 0; width: 96%; padding: 0.2em 2em; margin: 1em; border: 3px dotted #bbb; background-color: inherit; color: #000; text-align: justify; } * html body .ie-note a { /* display in IE only */ color: #000; } * html body .ie-note:hover a { /* display in IE only */ color: #999; } * html body .document { margin-top: 5em; } #internships, #publications { page-break-before: always; }