1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-31 13:21:44 +02:00

fix: use <div class="center"> instead of <center>

Signed-off-by: sheeit <sheeit@users.noreply.github.com>
This commit is contained in:
sheeit
2020-06-05 10:45:05 +01:00
parent 0c75e64761
commit 3bba904d33
7 changed files with 17 additions and 12 deletions

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" /> <link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head> </head>
<body class="fadeDown"> <body class="fadeDown">
<center> <div class="center">
<h1>Error.</h1> <h1>Error.</h1>
<div class="errorCode">400 <div class="errorCode">400
</div> </div>
<p>Sorry, I don't understand what you want me to do.</p> <p>Sorry, I don't understand what you want me to do.</p>
</center> </div>
</body> </body>
</html> </html>

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" /> <link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head> </head>
<body class="fadeDown"> <body class="fadeDown">
<center> <div class="center">
<h1>Error.</h1> <h1>Error.</h1>
<div class="errorCode">403 <div class="errorCode">403
</div> </div>
<p>You aren't allowed to be here.</p> <p>You aren't allowed to be here.</p>
</center> </div>
</body> </body>
</html> </html>

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" /> <link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head> </head>
<body class="fadeDown"> <body class="fadeDown">
<center> <div class="center">
<h1>Error.</h1> <h1>Error.</h1>
<div class="errorCode">404 <div class="errorCode">404
</div> </div>
<p>I can't find what you are looking for...</p> <p>I can't find what you are looking for...</p>
</center> </div>
</body> </body>
</html> </html>

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" /> <link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head> </head>
<body class="fadeDown"> <body class="fadeDown">
<center> <div class="center">
<h1>Error.</h1> <h1>Error.</h1>
<div class="errorCode">408 <div class="errorCode">408
</div> </div>
<p>I refuse to wait any longer.</p> <p>I refuse to wait any longer.</p>
</center> </div>
</body> </body>
</html> </html>

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" /> <link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head> </head>
<body class="fadeDown"> <body class="fadeDown">
<center> <div class="center">
<h1>Error.</h1> <h1>Error.</h1>
<div class="errorCode">500 <div class="errorCode">500
</div> </div>
<p>I don't know what to do. This isn't your fault.</p> <p>I don't know what to do. This isn't your fault.</p>
</center> </div>
</body> </body>
</html> </html>

View File

@@ -8,11 +8,11 @@
<link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" /> <link rel="stylesheet" href="{FOLDERNAME}/theme/style.css" />
</head> </head>
<body class="fadeDown"> <body class="fadeDown">
<center> <div class="center">
<h1>Error.</h1> <h1>Error.</h1>
<div class="errorCode">502 <div class="errorCode">502
</div> </div>
<p>I received some invalid information from my master.</p> <p>I received some invalid information from my master.</p>
</center> </div>
</body> </body>
</html> </html>

View File

@@ -288,6 +288,11 @@ tr.parent a[href^="/"] {
animation:fadeDown 1s ease; animation:fadeDown 1s ease;
} }
/* Center elements in error pages */
.fadeDown .center {
text-align: center;
}
/* Error code display */ /* Error code display */
.errorCode { .errorCode {
font-size: 80px; font-size: 80px;