Skip to content

Commit ab82474

Browse files
committed
add 404 header
1 parent 38ea4cf commit ab82474

2 files changed

Lines changed: 32 additions & 2 deletions

File tree

404.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
href="wp-includes/css/homepage.css" />
6363
<link rel="stylesheet" href="wp-includes/css/nav.css" />
6464
<link rel="stylesheet" href="wp-includes/css/dropnav.css" />
65+
<link rel="stylesheet" href="wp-includes/css/page.css" />
6566

6667
<link href="wp-includes/css/pages/404.css" rel="stylesheet" />
6768

@@ -105,7 +106,7 @@
105106
<body id="ibm-com" class="ibm-com ibm-type">
106107
<nav-header></nav-header>
107108

108-
<main id="content" class="main-content">
109+
<main id="content" class="main-content page-404">
109110
<!-- =========================== IMS Central 404 =========================== -->
110111
<hero-section
111112
name="We're sorry!"
@@ -114,6 +115,10 @@
114115
desc="The page you're looking for might have been moved or deleted.">
115116
</hero-section>
116117

118+
<section class="black-bg section-404">
119+
<h1>404</h1>
120+
</section>
121+
117122
<!-- <div class="bg-404 main-sec">
118123
<section id="intro-section" class="pure-g zs-section">
119124
<div class="pure-u-3-25">

wp-includes/css/page.css

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ a {
313313
/* Content containers */
314314
/* -------------------------------------------------------- */
315315
/* Targets all sections after hero */
316-
.main-content section:not(:first-child):not(.cta-banner) {
316+
.main-content section:not(:first-child):not(.cta-banner):not(.section-404) {
317317
padding: 4em;
318318
}
319319

@@ -627,6 +627,27 @@ a {
627627
display: block;
628628
}
629629

630+
.page-404 {
631+
height: 100vh;
632+
display: flex;
633+
flex-flow: column nowrap;
634+
}
635+
636+
.section-404 {
637+
display: flex;
638+
flex-flow: column nowrap;
639+
justify-content: start;
640+
align-items: center;
641+
flex-grow: 1;
642+
}
643+
644+
.section-404 h1 {
645+
font-weight: bold !important;
646+
font-size: 15em !important;
647+
color: #8d8d8d;
648+
line-height: 0em !important;
649+
}
650+
630651
/* -------------------------------------------------------- */
631652

632653
/* Media queries */
@@ -646,6 +667,10 @@ a {
646667
.pure-pad-r {
647668
padding: 1.2em 0em;
648669
}
670+
671+
.section-404 h1 {
672+
font-size: 10em !important;
673+
}
649674
}
650675

651676
/* 768px and below screen sizes */

0 commit comments

Comments
 (0)