Change summary
templates/home_unauthenticated.html | 32 +++++++++++++++++++-----------
1 file changed, 20 insertions(+), 12 deletions(-)
Detailed changes
@@ -6,18 +6,26 @@
<meta name="title" content="umu">
<meta name="description" content="umu">
<style>
-html {
- background: #1C1C1C;
- color: #dcdcdc;
- font-family: sans-serif;
- font-size: 50px;
- position: absolute;
- top: 50%;
- left: 50%;
- -moz-transform: translateX(-50%) translateY(-50%);
- -webkit-transform: translateX(-50%) translateY(-50%);
- transform: translateX(-50%) translateY(-50%);
-}
+ html {
+ background: #1C1C1C;
+ color: #dcdcdc;
+ font-family: sans-serif;
+ text-align: center;
+ height: 100%;
+ margin: 0 auto;
+ }
+ body {
+ height: 100%;
+ padding: 0;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ max-width: 450px;
+ }
+ p {
+ font-size: 50px;
+ }
</style>
</head>
<body>