comparison public/404.html @ 254:89f6c0016bab default tip

Update to latest rails
author nanaya <me@nanaya.net>
date Tue, 03 Sep 2024 19:21:25 +0900
parents 4a94ed44142d
children
comparison
equal deleted inserted replaced
253:d726e8b92dd1 254:89f6c0016bab
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en"> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8">
5 <title>The page you were looking for doesn't exist (404)</title> 4 <title>The page you were looking for doesn't exist (404)</title>
6 <meta name="viewport" content="width=device-width,initial-scale=1"> 5 <meta name="viewport" content="width=device-width,initial-scale=1">
7 <style> 6 <style>
8 body { 7 .rails-default-error-page {
9 background-color: #EFEFEF; 8 background-color: #EFEFEF;
10 color: #2E2F30; 9 color: #2E2F30;
11 text-align: center; 10 text-align: center;
12 font-family: arial, sans-serif; 11 font-family: arial, sans-serif;
13 margin: 0; 12 margin: 0;
14 } 13 }
15 14
16 div.dialog { 15 .rails-default-error-page div.dialog {
17 width: 95%; 16 width: 95%;
18 max-width: 33em; 17 max-width: 33em;
19 margin: 4em auto 0; 18 margin: 4em auto 0;
20 } 19 }
21 20
22 div.dialog > div { 21 .rails-default-error-page div.dialog > div {
23 border: 1px solid #CCC; 22 border: 1px solid #CCC;
24 border-right-color: #999; 23 border-right-color: #999;
25 border-left-color: #999; 24 border-left-color: #999;
26 border-bottom-color: #BBB; 25 border-bottom-color: #BBB;
27 border-top: #B00100 solid 4px; 26 border-top: #B00100 solid 4px;
30 background-color: white; 29 background-color: white;
31 padding: 7px 12% 0; 30 padding: 7px 12% 0;
32 box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); 31 box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
33 } 32 }
34 33
35 h1 { 34 .rails-default-error-page h1 {
36 font-size: 100%; 35 font-size: 100%;
37 color: #730E15; 36 color: #730E15;
38 line-height: 1.5em; 37 line-height: 1.5em;
39 } 38 }
40 39
41 div.dialog > p { 40 .rails-default-error-page div.dialog > p {
42 margin: 0 0 1em; 41 margin: 0 0 1em;
43 padding: 1em; 42 padding: 1em;
44 background-color: #F7F7F7; 43 background-color: #F7F7F7;
45 border: 1px solid #CCC; 44 border: 1px solid #CCC;
46 border-right-color: #999; 45 border-right-color: #999;
53 box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17); 52 box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
54 } 53 }
55 </style> 54 </style>
56 </head> 55 </head>
57 56
58 <body> 57 <body class="rails-default-error-page">
59 <!-- This file lives in public/404.html --> 58 <!-- This file lives in public/404.html -->
60 <div class="dialog"> 59 <div class="dialog">
61 <div> 60 <div>
62 <h1>The page you were looking for doesn't exist.</h1> 61 <h1>The page you were looking for doesn't exist.</h1>
63 <p>You may have mistyped the address or the page may have moved.</p> 62 <p>You may have mistyped the address or the page may have moved.</p>