cuddly/samples/cv/print.css

170 lines
2.3 KiB
CSS

body {
margin: 0;
font-size: 10pt;
print-color-adjust: exact;
font-family: Ubuntu;
font-weight: 300;
line-height: 1.3;
}
main {
height: 297mm;
display: flex;
}
main > * {
padding-top: 1.75cm;
}
header {
position: absolute;
margin-left: 33%;
padding-left: .2cm;
padding-top: .5cm;
}
h1 {
display: inline-block;
font-weight: initial;
font-size: 16pt;
}
h1, h2, h3 {
margin: 0;
}
img.icon {
height: 1em;
width: 1em;
}
.sidebar {
width: 33%;
padding-bottom: .5cm;
background-color: rgb(169, 223, 252);
}
.sidebar > * {
margin-left: .5cm;
margin-right: .2cm;
}
.sidebar h2 {
font-weight: inherit;
font-size: 1.2em;
display: flex;
align-items: center;
}
.sidebar h2::after {
content: '';
display: block;
flex: 1;
height: 1px;
margin-left: .5em;
background: black;
}
.sidebar a {
color: inherit;
text-decoration: none;
}
.sidebar dt {
font-weight: 600;
display: inline;
margin-left: -.8cm;
margin-right: .1cm;
}
.sidebar dd {
margin: 0;
display: inline;
}
.sidebar dl > div {
margin-top: 1em;
margin-bottom: 1em;
padding-left: 1cm;
display: block;
}
.sidebar dl.icon-list dt {
position: absolute;
}
.sidebar dl.icon-list dd {
display: block;
margin-left: 0;
}
.experiences {
flex: 1;
}
.experiences > * {
margin-left: .2cm;
margin-right: .5cm;
}
.experiences h2 {
font-weight: inherit;
font-size: 1.2em;
background-color: rgb(231, 231, 231);
padding: .1em .2cm;
margin-bottom: .3cm;
}
.experiences h2 img {
width: .75em;
margin-right: .5em;
}
.experiences h3 {
font-weight: 600;
font-size: 1em;
display: flex;
justify-content: space-between;
}
.experiences h3 span.period {
font-weight: 300;
flex-shrink: 0;
}
.experiences p,
.experiences ul {
margin: .2cm 0;
}
.experiences ul {
padding-left: .75cm;
font-size: .9em;
}
.experiences p.info {
display: flex;
}
.experiences p.info span.organisation {
flex-grow: 1;
display: block;
font-style: italic;
}
.experiences p.info span.type {
flex-shrink: 0;
display: block;
margin-left: .5cm;
}
.experiences p.description {
margin-bottom: .5cm;
}
@page {
size: a4;
margin: 0cm;
}