woutergr/public/woutergr.css

156 lines
2.2 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;
}
#header {
font-size: 125%;
width: 100%;
height: 75vh;
padding-top: 25vh;
}
.title {
font-weight: bold;
}
.tech {
font-size: 85%;
margin-top: 0.5em;
color: var(--accentlight);
}
.tech::before {
content: "💾 ";
}
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;
font-size: 5vh;
}
#profession {
text-align: right;
font-size: 4vh;
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);
}
@media only screen and (max-width: 40rem) {
#keywords {
margin-top: 1em;
}
}
.date {
font-style: italic;
}
section.refs ul {
list-style: none;
line-height: 1.15;
}
section.refs li {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: baseline;
margin-top: 1rem;
}
@media only screen and (min-width: 45rem) {
section.refs li {
flex-direction: row;
}
section.refs li :nth-child(1) {
flex: 1 2 1rem;
margin: 0.1rem;
}
section.refs li :nth-child(2) {
flex: 3 1 15rem;
}
}
@media (prefers-color-scheme: light) {
html {
color: black;
background: white;
}
a {
color: var(--accent);
}
.tech {
color: var(--accent);
}
}