added mobile version for portfolio

This commit is contained in:
Joshua Perry 2022-04-17 12:42:52 +01:00
parent d36aaf3f91
commit c002aa4b5c
3 changed files with 17 additions and 4 deletions

View File

@ -14,8 +14,10 @@
<link rel="icon" type="image/svg+xml" href="assets/images/favicon.svg">
<link rel="stylesheet" href="style/main.css" media = "screen">
<link rel="stylesheet" href="style/mobile.css" media ="screen and (max-width:800px)">
<link rel="stylesheet" href="portfolio/portfolio.css" media="screen">
<link rel="stylesheet" href="style/mobile.css" media ="screen and (max-width:800px)">
<link rel="stylesheet" href="portfolio/portfolio_mobile.css" media ="screen and (max-width:800px)">
</head>
<body id="clicked">

View File

@ -0,0 +1,14 @@
.project {
margin: 0;
max-width: 25.6em;
border-radius: 0;
padding: 0;
}
.project > img {
max-width: 25em;
}
.project > video {
max-width: 25em;
}

View File

@ -14,13 +14,10 @@ body {
}
main {
margin-left: 0.2em;
border-top-right-radius: 0em;
border-bottom-right-radius: 0em;
}
.navigation {
min-width: 10em;
width: 200%;