Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ All contributions should conform to the [NumFOCUS Contributor Code of Conduct](h

## Types of Contributions

The original body of work took place at a series of unconferences and various spurts of energy, today the DISCOVER-Cookbook is a living project with numerous contributors. Because it is code to produce a book rather than code for a software library or application, it has different needs than typical open source software systems. Because of these unique needs, we separate various types of contributions:
The original body of work took place at a series of unconferences and various spurts of energy. Today, the DISCOVER Cookbook is a living project with numerous contributors. Because it is code to produce a book rather than code for a software library or application, it has different needs than typical open source software systems. Because of these unique needs, we separate various types of contributions:

### Ideas, Questions, and Discussions

Expand All @@ -38,7 +38,7 @@ The original body of work took place at a series of unconferences and various sp

### Content and Design

While content is the heart of the project, the quality of the content needs to remain high. Due to a high volume of generated text being submitted for review, content takes longer to review and approve. We value these contributions but understand that thorough review is necessary.
While content is the heart of the project, maintaining high quality is essential. Due to a high volume of generated text being submitted for review, content takes longer to review and approve. We value these contributions but understand that thorough review is necessary.

- Start with an idea in [discussions](https://github.com/numfocus/DISCOVER-Cookbook/discussions).
- Once the community approves, create an [issue](https://github.com/numfocus/DISCOVER-Cookbook/issues).
Expand Down
72 changes: 54 additions & 18 deletions DISCOVER/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@
}
body {
height: 100vh;
background: linear-gradient(135deg, black, #e4f0ff);
background: linear-gradient(135deg, #eef2ff, #f8fafc);
display: flex;
align-items: center;
justify-content: center;
font-family: 'Segoe UI', sans-serif;
overflow: hidden;
position: relative;

}

.light-blur {
position: absolute;
width: 500px;
height: 500px;
background: radial-gradient(circle at center, transparent);
border-radius: 50%;
background: radial-gradient(circle, rgba(99,102,241,0.35), transparent 70%);
border-radius: 50%;
filter: blur(80px);
top: 20%;
left: 10%;
Expand All @@ -40,44 +41,48 @@
}

.glass-card {
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
/* background-color: #444;*/
background: rgba(31, 41, 55, 0.9);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
padding: 2.5rem 3rem;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.3);
max-width: 500px;
text-align: center;
z-index: 1;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
box-shadow: 0 10px 30px rgba(192, 91, 91, 0.1);
}

h1 {
font-size: 2.5em;
color: rgb(52, 51, 51);
color: rgb(255, 250, 250);
margin-bottom: 0.5rem;
line-height:1.5;
}

p {
font-size: 1.1em;
color: rgb(52, 51, 51);
color: rgb(255, 247, 247);
margin-bottom: 1.4rem;
line-height: 1.5;
}

a {
display: inline-block;
margin: 0.4rem;
padding: 0.6rem 1rem;
border-radius: 8px;
border-radius: 12px;
text-decoration: none;
background: #d0bfff;
color: #1f1f1f;
background: #86efac;
color: #064e3b;
font-weight: 600;
transition: background 0.3s ease;
}

a:hover {
background: #c1aaff;
background: #9eaba2;
color: rgb(255, 255, 255);
}

select {
Expand All @@ -86,22 +91,53 @@
border-radius: 6px;
border: 1px solid #ccc;
font-size: 1em;
background: #fff;

background: #2f3a47; /* Darker background matching the card */
color: #fff;
}
select option
{
background: #2f3a47;
color: #fff;
}

@media (max-width: 600px) {
body {
padding: 1rem;
}
.glass-card {
max-width: 90%;
padding: 1.5rem;
border-radius: 12px;
}
h1 {
font-size: 1.8em;
}
p {
font-size: 1em;
}
a {
padding: 0.5rem 0.8rem;
font-size: 0.9em;
}
select {
width: 100%;
}
}
</style>
</head>
<body>
<div class="light-blur"></div>
<div class="glass-card">
<h1 id="title">404 - Page Not Found</h1>
<h1 id="title">Oops! We can’t find that page</h1>
<p id="message">This page might’ve wandered off or was never here at all.</p>
<p id="suggestion">Maybe it was deleted, renamed, or never existed in the first place.</p>
<p><strong id="what-do">What can you do?</strong></p>
<a href="./intro.html" id="home">⬅️ Back to Home</a>
<a href="https://github.com/numfocus/DISCOVER-Cookbook/issues" id="report">🐞 Report the Issue</a>

<div>
<label for="language-switcher" style="display:block; margin-top:1.5rem; color:#444;">🌐 Switch Language:</label>
<label for="language-switcher" style="display:block; margin-top:1.5rem; color:#fffbfb;"> 🌐 Switch Language</label>
<select id="language-switcher">
<option value="en">English</option>
<option value="es">Español</option>
Expand All @@ -114,7 +150,7 @@ <h1 id="title">404 - Page Not Found</h1>
<script>
const translations = {
en: {
title: "404 - Page Not Found",
title: "Oops! We can’t find that page",
message: "This page might’ve wandered off or was never here at all.",
suggestion: "Maybe it was deleted, renamed, or never existed in the first place.",
whatDo: "What can you do?",
Expand All @@ -123,7 +159,7 @@ <h1 id="title">404 - Page Not Found</h1>
footer: "If you think this is an error, let us know by creating an issue."
},
es: {
title: "404 - Página no encontrada",
title: "No se pudo encontrar la página",
message: "Esta página se ha perdido o nunca existió.",
suggestion: "Tal vez fue eliminada, renombrada o nunca existió.",
whatDo: "¿Qué puedes hacer?",
Expand Down