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">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<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>
|
<title>About Me | nexy7574.co.uk</title>
|
||||||
<link rel="stylesheet" href="index.css">
|
<link rel="stylesheet" href="index.css">
|
||||||
<link rel="stylesheet" href="responsive.css">
|
<link rel="stylesheet" href="responsive.css">
|
||||||
|
|
|
@ -8,18 +8,22 @@
|
||||||
@media screen and (max-width: 1400px) {
|
@media screen and (max-width: 1400px) {
|
||||||
body {
|
body {
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
min-width: 700px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 800px) {
|
@media screen and (max-width: 800px) {
|
||||||
body {
|
body {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
min-width: 100%;
|
||||||
|
width: 100%;
|
||||||
font-size: initial;
|
font-size: initial;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
nav {
|
nav {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
ul.navbar {
|
ul.navbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -36,4 +40,8 @@
|
||||||
#array {
|
#array {
|
||||||
grid-template-columns: repeat(1, 1fr);
|
grid-template-columns: repeat(1, 1fr);
|
||||||
}
|
}
|
||||||
|
header {
|
||||||
|
margin: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue