html { background: #eee; color: #444; font-family: "Gentium Basic", serif; min-height: 80%; display: flex; flex-flow: column; align-items: center; justify-content: center; } body { max-width: 30em; margin: auto; padding: 2em; font-size: 16px; line-height: 1.5em; } h1, p { margin: 0; } a { color: inherit; text-decoration: none; border-bottom: 1px solid #bbb; } a:hover { color: #08f; border-bottom-color: #08f; } h1 a { border-bottom: none; } header { margin: 0 0 1em; } h1 { font-weight: normal; font-size: 2em; margin-right: 0.5em; } h1, .ipa { display: inline-block; } .ipa { color: #888; margin: 0; letter-spacing: 0.05em; } img.profile { float: right; height: 6em; width: 6em; border-radius: 50%; border: 1px solid #666; margin: -0.5em 0em 0.5em 0.5em; shape-outside: margin-box; } .icon { display: inline-block; width: 1em; height: 1em; stroke-width: 0; stroke: currentColor; fill: currentColor; } .contact { list-style-type: none; margin: 1em 0; padding: 0; } .contact li { list-style-type: none; display: inline; margin: 0 1em 0 0; padding: 0; } .contact a { display: inline-block; width: 1em; height: 1em; overflow: hidden; text-decoration: none; border: none; font-size: 1.7em; color: inherit; } .contact a .icon { margin-right: 1em; } .contact a:hover { color: #08f; } @media (prefers-color-scheme: dark) { html { background: #333; color: #aaa; } img.profile { border-color: #999; } a { border-bottom: 1px solid #555; } } @media (min-width: 480px) { body { font-size: 18px; } } @media (min-width: 800px) { body { font-size: 20px; } } @media (max-width: 580px) { img.profile { height: 5em; width: 5em; /* margin-top: 0; */ } } @media (max-width: 400px) { h1 { font-size: 1.75em; } img.profile { height: 5em; width: 5em; margin-top: 0; } }