*, *::before, *::after { box-sizing: border-box; font-style: inherit; } :root { --brand: #66cc00; --text: #000000de; --text-00: #ffffffde; --bg-00: #000000; --bg-01: #efefef; --bg-02: #dedede; --bg-03: #bebebe; --colw: 18rem; --colgap: 2rem; --gap: 1rem; --maxw: 60rem; --lh: 1.3rem; --bl-lh: 2rem; --bl-gap: 1rem; } body { font-family: "Inter var", "Inter", sans-serif; color: var(--text); margin: auto; padding: var(--gap); font-weight: 350; font-feature-settings: "ss01", "ss02", "ss03"; max-width: var(--maxw); display: grid; grid-template-columns: 1fr; grid-gap: var(--colgap); } /* body > div { column-width: var(--colw); column-gap: var(--gap); } */ body > div.info {grid-column: 1} body > div.cv {grid-column: 1} div.title > img { margin-top: 2rem; } h1 { margin-top: 1rem; } @media (min-width: 40rem) { body {grid-template-columns: var(--colw) 1fr} body > div.cv {grid-column: 2 / -1} } @media (min-width: 70rem) { h1 { margin-top: 2rem; } div.title { position: relative; } div.title > img { position: absolute; left: -5rem; width: 4rem; margin: 0; } } h1, h2, h3 { font-weight: 250; } h2 { margin-top: 2rem; margin-bottom: 1rem; } h3 { margin-top: 1rem; margin-bottom: .5rem; } h1 { font-size: 3rem; letter-spacing: -.1rem; } h2 {font-size: 2.3rem} h3 {font-size: 1.7rem} h4, h5, h6 { font-weight: 700; margin: 0; } h4 {font-size: 1.2rem} h5 {font-size: 1rem} h6 {font-size: .8rem} p, ul, ol, dl {line-height: var(--lh)} em {font-variation-settings: 'slnt' -5} strong {font-weight: 550} ul {list-style-type: "–"} ol {list-style-type: decimal-leading-zero} li {padding-left: calc(var(--gap) / 2)} dl { display: grid; grid-template-columns: max-content 1fr; grid-column-gap: 0; grid-row-gap: .5rem; } dt { grid-column: 1; font-feature-settings: "ss01", "ss02", "ss03", "tnum"; font-weight: 400; } dd { grid-column: 2; } .block { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-columns: 1fr; grid-gap: .2rem; grid-auto-rows: auto; } .img-block > img { width: 100%; height: 6rem; object-fit: cover; } .link-block > a { background: var(--bg-01); color: inherit; padding: var(--gap); height: 6rem; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr auto; text-decoration: none; } .link-block > a:hover { background: var(--bg-02); } .link-block > a:active{ background: var(--bg-03); } .link-block > a:hover > span.desc { text-decoration: underline; } .link-block > a > span.i { font-size: 2rem; text-align: right; } .link-block > a > span.desc { grid-row: 2; overflow: hidden; text-overflow: ellipsis; } .link-block > a > span > em { font-weight: 550; } footer { font-weight: 500; grid-column: 1 / -1; text-align: center; padding: var(--bl-gap); line-height: var(--bl-lh); margin: calc(-1 * var(--gap)); margin-top: 0; }