* { margin: 0; padding: 0; } body { width: 100%; min-height: 100vh; display: flex; justify-content: center; } main { width: 50%; display: flex; flex-direction: column; gap: 32px; margin-top: 32px; } a { color: black; } a.gray { background: lightgray; } a.green { background: lime; } a:hover { color: white; background: black; text-decoration: line-through; } p img { vertical-align: bottom; } /** HEADER */ header .links { display: flex; flex-direction: row; border-top: dashed 2px black; border-bottom: dashed 2px black; margin: 4px 0; font-size: 18px; } .links .crosspage-links { display: flex; flex-direction: row; flex-grow: 1; } .crosspage-links a { padding: 4px 8px; } .external-links a:hover { background: unset; color: black; } .external-links img { vertical-align: middle; height: 24px; } .status { display: flex; flex-direction: column; justify-content: center; align-items: center; } .rain { width: 100%; min-height: 96px; background-image: url('/static/img/rain.gif'); background-repeat: repeat; display: flex; justify-content: end; align-items: end; } .rain p { padding: 0 32px; font-family: cursive, serif; } .rain img { vertical-align: bottom; } .projects { display: flex; flex-direction: column; gap: 8px; } .project { padding-top: 16px; display: flex; flex-direction: row; gap: 8px; } .project .icon-wrapper { display: flex; justify-content: center; align-items: center; } .icon-wrapper img { width: 256px; } .project .summary { display: flex; flex-direction: column; justify-content: space-between; } .summary .title { display: flex; flex-direction: row; gap: 16px; } .title .year { font-size: 10px; } .project .screenshots { display: flex; flex-direction: row; gap: 8px; } .screenshots a:hover { background: unset; color: unset } .screenshots img { vertical-align: bottom; width: 128px; } .links { display: flex; flex-direction: row; gap: 8px; align-items: center; } .projects>.project { border-top: 1px solid black; } .projects>.project:first-child { border-top: none; } @media only screen and (max-width: 1400px) { main { width: 70%; } } @media only screen and (max-width: 1200px) { main { width: 80%; } } @media only screen and (max-width: 1000px) { main { width: unset; } .project { flex-direction: column; } .screenshots { justify-content: center; } }