132 lines
1.8 KiB
CSS
132 lines
1.8 KiB
CSS
:root {
|
|
--accent: #018661;
|
|
--accentlight: #90ee90;
|
|
}
|
|
|
|
html {
|
|
font-family: Palatino, serif;
|
|
font-size: 1.1rem;
|
|
color: white;
|
|
width: 100%;
|
|
margin: 0;
|
|
background: black;
|
|
text-size-adjust: none;
|
|
}
|
|
|
|
body {
|
|
max-width: 60em;
|
|
margin: 0 auto;
|
|
padding: 0 1em 1em 1em;
|
|
}
|
|
|
|
a {
|
|
color: var(--accentlight);
|
|
}
|
|
|
|
#image {
|
|
background-image: url("profile.png");
|
|
background-repeat: no-repeat;
|
|
background-position: right bottom;
|
|
background-size: contain;
|
|
height: 25vh;
|
|
}
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
html {
|
|
color: black;
|
|
background: white;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
}
|
|
}
|
|
|
|
#header {
|
|
font-size: 125%;
|
|
width: 100%;
|
|
height: 75vh;
|
|
padding-top: 25vh;
|
|
}
|
|
|
|
.title {
|
|
font-weight: bold;
|
|
}
|
|
|
|
dl {
|
|
display: grid;
|
|
grid-template-columns: 8em auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 40rem) {
|
|
dl {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
text-align: right;
|
|
margin: 0.1em 0;
|
|
}
|
|
|
|
#profession {
|
|
text-align: right;
|
|
font-size: 125%;
|
|
font-style: italic;
|
|
}
|
|
|
|
h2::before {
|
|
background-color: var(--accent);
|
|
content: "";
|
|
display: inline-block;
|
|
height: 4px;
|
|
vertical-align: middle;
|
|
margin-right: 0.5em;
|
|
width: 17%;
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 3em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
#keywords {
|
|
text-align: center;
|
|
font-style: italic;
|
|
margin-top: 5em;
|
|
}
|
|
|
|
#scrollhint {
|
|
font-size: 200%;
|
|
text-align: center;
|
|
color: var(--accent);
|
|
}
|
|
|
|
|
|
section.refs ul {
|
|
list-style: none;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
section.refs > ul {
|
|
padding-left: 16em;
|
|
}
|
|
|
|
section.refs ul li {
|
|
position: relative;
|
|
margin: 0.5em 0;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
section.refs ul li .date {
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: -16em;
|
|
width: 13em;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
}
|
|
|