body { font-family: sans-serif; font-size: 13px; max-width: 800px; margin: 0 auto; padding: 1em; display: grid; box-sizing: border-box; justify-content: center; line-height: 1.54; min-height: 100vh; background: #dce0df; grid-template: "a m" 1fr "f f" / 240px 1fr; gap: 2em; } a { /* text-decoration-line: overline; */ text-decoration-thickness: 1px; text-decoration-color: rgba(0, 0, 0, 0.2); transition: .5s text-decoration-color; } a:hover { text-decoration-color: rgba(0, 0, 0, 0.5); } ul { padding-left: 1em; } /* aside info */ #summary img { border-radius: 2px; max-width: 100%; display: block; } #summary figure { margin: 0 0 1em; } #summary table td:first-child { padding-right: 1em; font-weight: 600; } /* pubs list */ #publications ul { list-style: none; margin: 0; padding: 0 0 0 2em; position: relative; } #publications ul::before { content: attr(data-year); position: absolute; writing-mode: vertical-rl; text-orientation: upright; left: 0; top: .4em; line-height: 1em; opacity: .5; } #publications p { margin: 0; } #publications li+li {margin: 1em 0 0} #publications .title a { text-decoration: none; color: #000; font-style: italic; font-weight: 500; } #publications .buttons a { display: inline-block; text-decoration: none; border: 1px solid #666; font-size: .8em; padding: 0 .5em; border-radius: 4px; } #publications .buttons a+a { margin: 0 0 0 .5em; }