]> prime8.dev >> repos - p8d.git/commitdiff
Center home page when screen is big enough
authorDamian Myrda <monkey.damianek@gmail.com>
Wed, 11 Sep 2024 12:57:53 +0000 (07:57 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Wed, 11 Sep 2024 12:57:53 +0000 (07:57 -0500)
web/templates/index.html

index c03960d77109cdb1a41e0a66b727bfe935d4f633..6b911caca9b159b229656dfa93b35507b20401fe 100644 (file)
     max-width: 800px !important;
     margin: auto !important;
   }
+
+  @media (min-width: 1200px) {
+    #content {
+      margin: 0 !important;
+      position: absolute !important;
+      top: 50% !important;
+      left: 50% !important;
+      transform: translate(-50%, -50%) !important;
+      width: 800px;
+    }
+  }
 </style>
 {% endblock %}