1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-30 18:00:16 +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" />
</head>
<body class="fadeDown">
<center>
<div class="center">
<h1>Error.</h1>
<div class="errorCode">400
</div>
<p>Sorry, I don't understand what you want me to do.</p>
</center>
</div>
</body>
</html>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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