Skip to content

Commit cc77bbe

Browse files
authored
Merge pull request #1521 from gurleennsidhuu/page
made a 404 page
2 parents 9299c14 + 2910d4e commit cc77bbe

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

site/404.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- ((! set title Docs !)) ((! set documentation !)) ((! set nobreadcrumb !)) -->
2+
3+
<div class="center">
4+
<div class="head">
5+
<h1><b>404</b></h1>
6+
<h5><b>Oops, page not found!</b> <br>The page doesn't exist or some other error occurred.</h5>
7+
<a href="https://ocaml.org/" class="btn">Home</a>
8+
</div>
9+
</div>

site/css/ocamlorg.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,16 @@ ul.translations:after { content: "]"; }
549549
height: 0px;
550550
}
551551
}
552+
.center{
553+
display: table;
554+
text-align: center;
555+
width: 100%;
556+
height:53vh;
557+
}
558+
.head{
559+
display: table-cell;
560+
vertical-align:middle;
561+
}
552562

553563
/* Footer
554564
***********************************************************************/

0 commit comments

Comments
 (0)