Skip to content

Commit a763354

Browse files
authored
Add files via upload
1 parent 3b4bba9 commit a763354

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

404.html

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,60 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<style>
99
* {
10-
line-height: 1.2;
1110
margin: 0;
12-
}
13-
14-
html {
15-
color: #888;
16-
display: table;
17-
font-family: sans-serif;
18-
height: 100%;
19-
text-align: center;
20-
width: 100%;
11+
padding: 0;
12+
box-sizing: border-box;
2113
}
2214

2315
body {
24-
display: table-cell;
25-
vertical-align: middle;
26-
margin: 2em auto;
16+
font-family: 'Arial', sans-serif;
17+
background: linear-gradient(135deg, #1100ff, #1eff00);
18+
color: #fff;
19+
display: flex;
20+
justify-content: center;
21+
align-items: center;
22+
height: 100vh;
23+
text-align: center;
2724
}
2825

2926
h1 {
30-
color: #555;
31-
font-size: 2em;
32-
font-weight: 400;
27+
font-size: 3rem;
28+
margin-bottom: 1rem;
29+
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
3330
}
3431

3532
p {
36-
margin: 0 auto;
37-
width: 280px;
33+
font-size: 1.2rem;
34+
margin-bottom: 2rem;
35+
color: #ddd;
3836
}
3937

40-
@media only screen and (max-width: 280px) {
41-
42-
body,
43-
p {
44-
width: 95%;
45-
}
46-
47-
h1 {
48-
font-size: 1.5em;
49-
margin: 0 0 0.3em;
50-
}
38+
a {
39+
display: inline-block;
40+
padding: 10px 20px;
41+
font-size: 1rem;
42+
font-weight: bold;
43+
color: #fff;
44+
background: #00c6ff;
45+
text-decoration: none;
46+
border-radius: 5px;
47+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
48+
transition: background-color 0.3s, transform 0.2s;
49+
}
5150

51+
a:hover {
52+
background: #0072ff;
53+
transform: translateY(-3px);
5254
}
5355
</style>
5456
</head>
5557

5658
<body>
57-
<h1>Page Not Found</h1>
58-
<h1><a href="index.html">Home</a></h1>
59-
60-
61-
62-
59+
<div>
60+
<h1>404 - Page Not Found</h1>
61+
<p>Η σελίδα που ψάχνετε δεν υπάρχει. Επιστρέψτε στην αρχική σελίδα.</p>
62+
<a href="index.html">Επιστροφή στην Αρχική</a>
63+
</div>
6364
</body>
6465

65-
</html>
66-
<!-- IE needs 512+ bytes: https://docs.microsoft.com/archive/blogs/ieinternals/friendly-http-error-pages -->
66+
</html>

0 commit comments

Comments
 (0)