Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revised 404 page #64

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions src/App.sass
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@import "css/components/cards"

// pages
@import "css/pages/notfound"

// themes

Expand Down
5 changes: 2 additions & 3 deletions src/components/NotFound/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import React from 'react';

const NotFound = () => (
<div className={'NotFound'}>
<h1>
That is a 404.
</h1>
<h1 className={'Line'}>You look lost, friend.</h1>
<p className={'Line'}>Don&#39;t worry; it happens to all of us.</p>
</div>
);

Expand Down
39 changes: 39 additions & 0 deletions src/css/pages/_notfound.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.NotFound
text-align: center
//margin-top: 8%
//margin-left: 25%
width: 50%
height: 50%
//left: 50%
//right: 50%
-webkit-transform: rotate(10deg)
background-color: $black
color: $white
text-align: center
padding: 1%
position: absolute
top: 0
bottom: 0
left: 0
right: 0
margin: auto
@media (max-width: 1000px)
height: 25%
@media (max-width: 645px)
width: 200px
height: 310px
margin-left: auto
margin-right: auto

h1
margin-top: 18%
@media (max-width: 1000px)
margin-top: 5%
font-size: 3em
@media (max-width: 645px)
margin-top: 5%

p
@media(max-width: 1000px)
font-size: 1.75em
padding: 2px