cv.marc/style/light.css
2025-02-15 22:11:17 +01:00

102 lines
1.5 KiB
CSS

@font-face {
font-display: swap;
font-family: "fa";
src: url("font/fa.woff2");
}
html {
font-family: "DejaVu Sans", sans-serif;
text-align: justify;
}
body {
margin-inline: auto;
max-inline-size: 102ch;
}
article header {
display: flex;
justify-content: space-between;
}
div.org {
display: flex;
}
section.images {
display: flex;
justify-content: space-between;
}
h1 { font-size: 1.25rem; }
h2 { font-size: 1.20rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.10rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1.00rem; }
h1, h2, h3, h4, h5, h6 {
margin-block: .5em;
}
h2 {
text-align: center;
}
img.big {
block-size: 4em;
}
img.inline {
block-size: 1.5em;
vertical-align: middle;
}
img.org {
block-size: 2.5em;
}
table {
margin-inline: auto;
}
table h3 {
text-align: center;
}
td.logo {
text-align: center;
}
td.logo img {
block-size: 1.5em;
}
th {
text-align: end;
}
ul {
padding-inline-start: 1.25em;
}
.columns {
display: grid;
grid-template-columns: 1fr;
}
.title, .duration {
font-weight: bold;
}
.sub, .period {
font-size: .75em;
}
.time {
text-align: end;
}
@media (width > 66ch) {
.columns { grid-template-columns: 2fr 1fr; }
aside { order: 2; }
main { order: 1; }
}
@media print {
@page { size: A4; }
html { font-size: 3.2mm; }
.columns { grid-template-columns: 2fr 1fr; }
aside { order: 2; }
main { order: 1; }
}