Visual improvements

This commit is contained in:
etc404
2026-03-12 13:19:48 -06:00
parent 3858673569
commit 87f8f7e4d7
+17 -5
View File
@@ -9,21 +9,21 @@
/* login.css */ /* login.css */
body, html { body, html {
height: 100%; height: 100vh;
margin: 0; margin: 0;
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
background-color: var(--pale-yellow); background-color: var(--pale-yellow);
overflow: clip;
} }
.body { .body {
display: flex; display: flex;
flex-direction: row;
height: 100%; height: 100%;
} }
/* Header Styles */ /* Header Styles */
.top-header { .top-header {
position: sticky;
top: 0;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -48,11 +48,13 @@ body, html {
} }
.body-left { .body-left {
position: sticky;
flex-grow: 0; flex-grow: 0;
width: 400px; width: 400px;
} }
.body-right { .body-right {
position: sticky;
flex-grow: 0; flex-grow: 0;
width: 400px; width: 400px;
} }
@@ -183,29 +185,39 @@ body, html {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
overflow: scroll;
height: 100%;
} }
.recipe-card { .recipe-card {
margin-top: 35px;
width: 100%; width: 100%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 35px; gap: 35px;
justify-content: flex-start; justify-content: flex-start;
flex-direction: row; flex-direction: row;
height: fit-content;
} }
.card { .card {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
max-height: 200px;
flex: 0.2 0.2 260px; flex: 1 1 260px;
max-width: 300px; max-width: 400px;
background: var(--peach); background: var(--peach);
border-radius: 12px; border-radius: 12px;
padding: 20px; padding: 20px;
} }
.card .card-text {
height: 100%;
overflow: scroll;
}
.card img { .card img {
width: 100%; width: 100%;
height: 100px; height: 100px;