Skip to content

Commit

Permalink
Updated 404 Pages to be responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
amalinalai committed Dec 23, 2023
1 parent 42d5a41 commit 05881b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>you seem to be lost.</title>
<link rel="stylesheet" href="/404s.css" type="text/css" media="all">
<link rel="stylesheet" href="404s.css" type="text/css" media="all">
</head>
<body>
<div class="card">
Expand Down
11 changes: 10 additions & 1 deletion 404s.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,13 @@
font-size: 12pt;
font-style: italic;
text-align: center;
}
}

/* Use a media query to add a break point at 700px: */
@media screen and (max-width: 700px) {

.card {
width: 90%;
}

}

0 comments on commit 05881b2

Please sign in to comment.