Skip to content

Commit

Permalink
404 (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
agsfer authored Nov 29, 2023
1 parent 4781e3c commit c2d2d22
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
16 changes: 10 additions & 6 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
layout: article
title: 404
show_title: false
header:
theme: dark
background: '#123'
---
<div class="layout--404">
<div class="sign">
<h1>404</h1>
<h1 class="h2_title grey">404</h1>
<p>Page not found :(</p>
</div>
</div>

{{ content }}
<div class="main-docs search-results-wrapper">
<div class="search-wrapper">
<div class="search-input-wrapper">
<input type="text" onclick="fetchAndPopulate()" id="search-input" placeholder="Search starts from 4 letters...">
</div>
<h2>Search results</h2>
<ul id="results-container" class="results-container"></ul>
</div>
</div>
16 changes: 10 additions & 6 deletions docs/_layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,19 @@
layout: article
title: 404
show_title: false
header:
theme: dark
background: '#123'
---
<div class="layout--404">
<div class="sign">
<h1>404</h1>
<h1 class="h2_title grey">404</h1>
<p>Page not found :(</p>
</div>
<div class="main-docs search-results-wrapper">
<div class="search-wrapper">
<div class="search-input-wrapper">
<input type="text" onclick="fetchAndPopulate()" id="search-input" placeholder="Search starts from 4 letters...">
</div>
<h2>Search results</h2>
<ul id="results-container" class="results-container"></ul>
</div>
</div>

{{ content }}
</div>
2 changes: 1 addition & 1 deletion docs/_layouts/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2 class="h2_title {{ _section.classtitle }}">{{ _section.title }}</h2>
<div class="grid--container">
<div class="grid">
<div class="cell cell--12 cell--lg-12">
<h2 class="h2_title">{{ _section.title }}</h2>
<h2 class="h2_title grey">{{ _section.title }}</h2>
</div>
</div>
{%- if _section.children -%}
Expand Down
4 changes: 4 additions & 0 deletions docs/_sass/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ h2.h2_doc {
}
}

.layout--404 .sign h1 {
border: none;
}

.article__header--overlay {
.hero.hero--center {
background: #20a5df url('../../assets/images/bg_hero.png') 0 0 no-repeat;
Expand Down

0 comments on commit c2d2d22

Please sign in to comment.