]> git.ekhem.eu.org Git - website.git/commitdiff
Replace grid with flex.
authorJakub Czajka <jczajka@google.com>
Sun, 24 Dec 2023 18:28:16 +0000 (19:28 +0100)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 14 Jan 2024 17:29:17 +0000 (18:29 +0100)
index.html

index 055a20b1c070ad3af9ad1f60c0de443093b0e710..cdf9c3f622825ff151b3219892e0f2f6a84bbe15 100644 (file)
@@ -1,21 +1,20 @@
 <!DOCTYPE html>
 <html>
+<meta name="viewport" content="width=device-width">
 <head>
   <title>Ekhem</title>
-  <meta name="viewport" content="heigth=device-height, width=device-width, initial-scale=1.0">
   <style>
     html {
       background-color: #7fa99b;
-      display: grid;
-      grid-template-columns: auto min(95vw, 700px) auto;
+      display: flex;
       height: 100%;
+      justify-content: center;
     }
     body {
       background-color: #f1d18a;
       border-style: double;
-      grid-column: 2;
-      margin: 10px 0;
       padding: 5px;
+      width: min(95vw, 700px);
     }
     h3 {
       margin-bottom: 0px;