Skip to content

Commit

Permalink
feat: 404 agregada y configurada
Browse files Browse the repository at this point in the history
  • Loading branch information
PRO X committed Jun 24, 2024
1 parent e9d67e2 commit 243ab14
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

ErrorDocument 404 http://localhost/Programas/Portafolio/HTML/404.html
19 changes: 19 additions & 0 deletions CSS/404.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

* {
text-align: center;
}

h1 {
font-size: 60px;
margin-top: 60px;
}

h2 {
font-size: 40px;
}

a {
text-decoration: none;
color: black;
font-size: 20px;
}
6 changes: 3 additions & 3 deletions CSS/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ nav {

nav #menu-btn {
position: relative;
top: 90px;
margin-right: 20px;
top: 80px;
margin-right: 20%;
background-color: black;
}

Expand All @@ -74,7 +74,7 @@ nav ul li a:hover {
#Logo {
max-width: 10%;
position: relative;
right: 50%;
right: 60%;
}

/* Seccion de inicio */
Expand Down
18 changes: 18 additions & 0 deletions HTML/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bredalis Gautreaux/Página No Encontrada</title>
<link rel="stylesheet" href="../CSS/404.css">
<link rel="shortcut icon" href="../IMG/Logo.png" type="image/x-icon">
</head>
<body>

<h1>404</h1>
<img src="../IMG/Logo.png">
<h2>Página No Encontrada</h2>
<p><a href="index.html">Volver a la página principal</a></p>

</body>
</html>
Binary file modified IMG/Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 243ab14

Please sign in to comment.