.ps-page { display: flex; width: 100vw; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 1rem; pointer-events: none; @media screen and (min-width: 1200px) { padding: 2rem; flex-direction: row; flex-wrap: wrap; } @media screen and (min-width: 1600px) { padding: 4rem; } &_home { flex-direction: column; flex-wrap: nowrap; } &_home &--contents { font-size: 1.25rem; } &--contents { border: 12px solid black; margin-top: 20rem; margin-bottom: 20rem; width: 100%; max-width: 800px; flex-basis: 100%; flex-shrink: 1; pointer-events: all; color: var(--foreground); background: white; word-break: break-word; display: flex; flex-direction: column; margin: 0; font-weight: 500; line-height: 1.75; padding: 1.5rem; @media screen and (min-width: 1200px) { padding: 3rem; } a { color: var(--accent); border-bottom: 1px solid white; transition: border-bottom 0.1s ease; text-decoration: none; &:hover { border-bottom: 4px solid var(--accent); } } img { width: 230px; margin-top: 1rem; } pre, code { background-color: var(--background-alt); border-radius: 4px; padding: 4px; } pre { display: flex; flex-direction: row; } code { overflow: scroll; } > * { margin-bottom: 0; margin-top: 1.5rem; } > h1, > h2 { line-height: 1.5; } } &--links { margin-top: 1rem; display: flex; flex-direction: row; flex-wrap: wrap; @media screen and (min-width: 700px) { margin-top: 1.5rem; } @media screen and (min-width: 1000px) { margin-top: 2rem; } } &--link { pointer-events: all; color: var(--foreground); background: white; text-decoration: none; text-align: center; font-weight: 900; font-size: 2rem; line-height: 1em; padding: 0.4rem; margin: 0; margin-right: 1rem; margin-bottom: 1rem; text-shadow: 0.01em 0px 0px white; transition: text-shadow 0.1s ease; border: 0.75rem solid black; &:hover { text-shadow: 0.1em 0px 0px var(--accent); } @media screen and (min-width: 700px) { font-size: 3rem; margin-right: 1.5rem; margin-bottom: 1.5rem; } @media screen and (min-width: 1000px) { font-size: 4rem; margin-right: 2rem; margin-bottom: 2rem; } } }