Skip to content

Commit

Permalink
Fix CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Xi Zhang committed Sep 18, 2023
1 parent ce420d4 commit d0e774b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h3>Social Media</h3>
</div>
</div>
<aside>
<img src="./images/profile.jpeg" alt="profile picture" width="360px">
<img src="./images/profile.jpeg" alt="profile picture" width="320px">
</aside>
</article>
</main>
Expand Down
1 change: 1 addition & 0 deletions public/recipes/oven-roasted-vegetables.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<html>
<head>
<title>Oven Vegetables</title>
<meta name="viewport" content="width=device-width"/>
<link href="https://fonts.googleapis.com/css?family=Noto+Sans" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="../style.css">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦬</text></svg>">
Expand Down
12 changes: 10 additions & 2 deletions public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ body {
display: flex;
justify-content: center;
}

nav ul li {
padding: 1px;
}

nav ul a {
border: solid 2px black;
}
}

@media screen and (min-width: 25em) {
Expand All @@ -34,9 +42,11 @@ body {

nav ul {
display: flex;
border: 1px solid black;
}

nav ul a {
border: 1px solid black;
display: unset;
}

Expand All @@ -60,13 +70,11 @@ nav li {
}

nav ul {
border: 1px solid black;
list-style: none;
padding: unset;
}

nav ul a {
border: 1px solid black;
color: inherit;
display: block;
font-size: small;
Expand Down

0 comments on commit d0e774b

Please sign in to comment.