X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/328c4fce50037c6e9b294effbd7180a9e41201db..0ae489e3199827640a8007b782f1b9dc6bd0fcc5:/app/assets/stylesheets/errors.scss diff --git a/app/assets/stylesheets/errors.scss b/app/assets/stylesheets/errors.scss index 8ef3b9771..77b440a88 100644 --- a/app/assets/stylesheets/errors.scss +++ b/app/assets/stylesheets/errors.scss @@ -1,12 +1,43 @@ body { + margin: 1rem; + margin-top: 2rem; font-family: system-ui; } -.logo { - float: left; - margin: 10px; +main { + display: flex; + flex-direction: column; + align-items: center; + gap: 1rem 2rem; + max-width: 960px; + + .logo { + flex-shrink: 0; + + img { + display: block; + max-width: 100%; + height: auto; + } + } + + .details { + h1 { + margin-top: 0; + } + } } -.details { - float: left; +@media (min-width: 640px) { + body { + margin: 2rem; + } + + main { + flex-direction: row; + + .logo { + align-self: start; + } + } }