-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
112 lines (111 loc) · 2.91 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>oldemmi</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #404040;
color: #f3f3f3;
margin: 0;
padding: 0;
}
button {
border: 1px solid #ccc;
border-radius: 0px;
cursor: pointer;
background-color: #353535;
color: #fff;
}
a {
color: #b3c46d;
text-decoration: none;
}
a:hover {
color: #a7b766;
text-decoration: none;
}
a:active {
color: #a0b742;
text-decoration: none;
}
a:visited {
color: #aab775;
text-decoration: none;
}
.navbar {
background-color: #282828;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ccc;
position: sticky;
top: 0;
z-index: 10;
overflow: hidden;
}
.navbar img {
height: 40px;
border: none;
}
.navbar button {
padding: 10px 15px;
}
.navbar .oldemmi {
display: flex;
align-items: center;
}
.navbar .oldemmi .text {
margin-left: 5px;
font-weight: bold;
font-size: 1.2em;
}
.caca {
padding: 20px;
margin: 40px auto;
text-align: center;
}
.error {
font-weight: bold;
font-size: 5.5em;
}
.message {
font-weight: bold;
font-size: 2.1em;
margin: 10px 0;
}
.back {
margin: 20px 0;
padding: 10px 15px;
}
</style>
</head>
<body>
<div class="navbar">
<div class="oldemmi" onclick="back()">
<img src="https://lgor360.github.io/oldemmi/logo.png" alt="oldemmi logo">
<div class="text">
oldemmi
</div>
</div>
<button onclick="goToSearch()">🔎</button>
</div>
<div class="caca">
<div class="error">404</div>
<div class="message">sorry, but page not found :(</div>
<button class="back" onclick="back()">back</button>
</div>
<script>
// функция для возвращения на главную страницу
function back() {
window.location.href = `https://lgor360.github.io/oldemmi/main.html`
}
function goToSearch() {
window.location.href = `https://lgor360.github.io/oldemmi/search?filter=Posts`;
}
</script>
</body>
</html>