Skip to content

Commit

Permalink
Fix nav
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkuranda committed Sep 6, 2022
1 parent 013de8c commit b6879b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions public/css/mobile/result.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
font-size: calc(var(--phi) * 1em);
}

.result-nav {
font-size: calc(1em / var(--phi) / var(--phi));
padding: 3em;
border-radius: 1.5em;
}
.result-nav > a > i {
margin-right: 3em;
}

.result-container {
display: block;
}
Expand Down
10 changes: 5 additions & 5 deletions public/css/result.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ main {
background-color: var(--honey-yellow);
padding: 1em;
margin-bottom: 0.5em;
border-radius: .5em;
border-radius: 0.5em;
}
.result-nav > a > i {
margin-right: .5em;
margin-right: 0.5em;
}

.result-container {
Expand All @@ -20,7 +20,7 @@ main {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: .5em;
border-radius: 0.5em;
}
.result-details {
margin: 2em;
Expand Down Expand Up @@ -60,6 +60,6 @@ main {
margin: 1em;
}
.result-ingredients > ul > li > span {
margin-left: .618em;
margin-left: 0.618em;
cursor: default;
}
}

0 comments on commit b6879b7

Please sign in to comment.