Skip to content

Commit

Permalink
Merge pull request #63 from Yaronkr/404500
Browse files Browse the repository at this point in the history
class names amended
  • Loading branch information
Julien1212 committed Jun 16, 2022
2 parents c8eb04f + 0e4f3a5 commit 595187c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 36 deletions.
23 changes: 5 additions & 18 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>The page you were looking for doesn't exist (404)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
.rails-error {
background-image: url("images/baby-logo.png");
background-repeat: no-repeat;
color: #325288;
Expand All @@ -13,32 +13,19 @@
margin: 0;
}

.rails-default-error-page div.dialog {
.rails-error div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}

/* .rails-default-error-page div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #BBB;
border-top: #B00100 solid 4px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
background-color: white;
padding: 7px 12% 0;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
} */

.rails-default-error-page h1 {
.rails-error h1 {
font-size: 150%;
color: #325288;
line-height: 1.5em;
}

.rails-default-error-page div.dialog > p {
.rails-error div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
Expand All @@ -55,7 +42,7 @@
</style>
</head>

<body class="rails-default-error-page">
<body class="rails-error">
<!-- This file lives in public/404.html -->
<div class="dialog">
<div>
Expand Down
23 changes: 5 additions & 18 deletions public/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>We're sorry, but something went wrong (500)</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>
.rails-default-error-page {
.rails-error {
background-image: url("images/baby-logo.png");
background-repeat: no-repeat;
color: #325288;
Expand All @@ -13,32 +13,19 @@
margin: 0;
}

.rails-default-error-page div.dialog {
.rails-error div.dialog {
width: 95%;
max-width: 33em;
margin: 4em auto 0;
}

/* .rails-default-error-page div.dialog > div {
border: 1px solid #CCC;
border-right-color: #999;
border-left-color: #999;
border-bottom-color: #BBB;
border-top: #B00100 solid 4px;
border-top-left-radius: 9px;
border-top-right-radius: 9px;
background-color: white;
padding: 7px 12% 0;
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
} */

.rails-default-error-page h1 {
.rails-error h1 {
font-size: 150%;
color: #325288;
line-height: 1.5em;
}

.rails-default-error-page div.dialog > p {
.rails-error div.dialog > p {
margin: 0 0 1em;
padding: 1em;
background-color: #F7F7F7;
Expand All @@ -55,7 +42,7 @@
</style>
</head>

<body class="rails-default-error-page">
<body class="rails-error">
<!-- This file lives in public/500.html -->
<div class="dialog">
<div>
Expand Down

0 comments on commit 595187c

Please sign in to comment.