Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

Remove need to readjust margins in 404.html #219

Closed
wants to merge 1 commit into from
Closed
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
23 changes: 12 additions & 11 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,23 @@
<style>

* {
line-height: 1.5;
line-height: 1.2;
margin: 0;
}

html {
color: #888;
display: table;
font-family: sans-serif;
height: 100%;
text-align: center;
width: 100%;
}

body {
left: 50%;
margin: -43px 0 0 -150px;
position: absolute;
top: 50%;
width: 300px;
display: table-cell;
vertical-align: middle;
margin: 2em auto;
}

h1 {
Expand All @@ -32,19 +33,19 @@
}

p {
line-height: 1.2;
margin: 0 auto;
width: 280px;
}

@media only screen and (max-width: 270px) {
@media only screen and (max-width: 280px) {

body {
margin: 10px auto;
position: static;
body, p {
width: 95%;
}

h1 {
font-size: 1.5em;
margin: 0 0 0.3em 0;
}

}
Expand Down