make the website not godawful on mobile
This commit is contained in:
parent
48af2e6b1a
commit
e4dca5500f
2 changed files with 10 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>About Me | nexy7574.co.uk</title>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
<link rel="stylesheet" href="responsive.css">
|
||||
|
|
|
@ -8,18 +8,22 @@
|
|||
@media screen and (max-width: 1400px) {
|
||||
body {
|
||||
max-width: 80%;
|
||||
min-width: 700px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
body {
|
||||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
width: 100%;
|
||||
font-size: initial;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
nav {
|
||||
flex-direction: column;
|
||||
padding: 0;
|
||||
}
|
||||
ul.navbar {
|
||||
display: flex;
|
||||
|
@ -36,4 +40,8 @@
|
|||
#array {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
header {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue