]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/errors.scss
Make changeset comment create action resourceful
[rails.git] / app / assets / stylesheets / errors.scss
index 58650785c0a6520dcaca78d44524ccf4426b586f..77b440a889261beb4be326d47782c102669312e1 100644 (file)
@@ -1,18 +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;
 
-  img {
-    display: block;
-    max-width: 100%;
-    height: auto;
+  .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;
+    }
+  }
 }