-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
129 lines (111 loc) · 2 KB
/
Copy path404.html
File metadata and controls
129 lines (111 loc) · 2 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Dromi</title>
<style>
body {
margin: 0;
font-family: Arial;
background: #e8f5e9;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
/* TESTO */
h1 {
color: #2e7d32;
font-size: 50px;
margin-bottom: 10px;
}
p {
color: #333;
margin-bottom: 30px;
}
/* FINESTRA MAC */
.window {
width: 90%;
max-width: 600px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/* HEADER MAC */
.window-header {
background: #2e7d32;
padding: 10px;
display: flex;
align-items: center;
}
/* BOTTONI */
.buttons {
display: flex;
gap: 8px;
}
.btn {
width: 12px;
height: 12px;
border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
/* CONTENUTO */
.window-content {
background: #1e1e1e;
color: #00ff9c;
font-family: monospace;
padding: 20px;
white-space: pre;
font-size: 14px;
}
button {
background: #2e7d32;
color: white;
border: none;
padding: 12px 25px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
transition: 0.2s;
}
/* HOVER */
button:hover {
background: #1b5e20;
transform: scale(1.05);
}
/* CLICK */
button:active {
transform: scale(0.95);
}
</style>
</head>
<body>
<h1>Whoops!</h1>
<p>Non abbiamo trovato niente qui</p>
<div class="window">
<div class="window-header">
<div class="buttons">
<div class="btn red"></div>
<div class="btn yellow"></div>
<div class="btn green"></div>
</div>
</div>
<div class="window-content">
--snip--
from mdl import jekyll #Motore GitHub Pages
try:
client_req = jekyll.url.userrequest
jekyll.load(client_req)
except jekyll.Html404:
#Whoops! 404!
jekyll.client.load404()
--snip--
</div>
</div>
<button onclick="window.location.href = '/'">Torna alla home</button>
</body>
</html>