personal-website/cv.css
2023-02-13 18:00:07 +01:00

83 lines
1.1 KiB
CSS

a {
text-decoration: none;
}
a::after {
/* copied from https://practicaltypography.com/how-to-use.html */
position: relative;
content: "\FEFF°";
margin-left: 0.1em;
font-size: 90%;
top: -0.1em;
color: var(--accent);
font-feature-settings: "caps";
font-variant-numeric: normal;
}
a:hover {
background: var(--hover-background);
transition-property: background;
transition-duration: 0.2s;
}
h3 {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
aside {
margin-top: -0.6rem;
text-transform: uppercase;
opacity: 0.7;
letter-spacing: 0.05em;
line-height: 1;
}
section#publications span.journal,
section#conferences span.conference {
font-style: italic;
}
h2 {
border-bottom-width: 1px;
border-bottom-color: var(--accent);
border-bottom-style: solid;
}
@media print {
:root {
--primary: #000000;
--background: #ffffff;
--accent: #000000;
}
h2 {
border-bottom-width: 0.5pt;
}
html,
body {
max-width: initial;
font-size: 10pt;
padding: 0;
}
aside {
opacity: 1.0;
}
a::after {
display: none;
}
a:hover {
background: inherit;
}
@page {
margin: 25mm;
size: A4;
}
}