AAAA emergency fixes wip

This commit is contained in:
etc404
2026-03-12 12:22:23 -06:00
parent 988fb067fe
commit ed8bd88b42
2 changed files with 56 additions and 42 deletions
+31 -20
View File
@@ -15,9 +15,9 @@ body, html {
background-color: var(--pale-yellow); background-color: var(--pale-yellow);
} }
.container { .body {
display: flex; display: flex;
height: 100vh; height: 100%;
} }
/* Header Styles */ /* Header Styles */
@@ -44,18 +44,26 @@ body, html {
font-size: 2.5em; font-size: 2.5em;
font-weight: bold; font-weight: bold;
letter-spacing: 4px; letter-spacing: 4px;
font-family: 'EB Garamond', serif;} font-family: 'EB Garamond', serif;
}
.body-left {
flex-grow: 0;
width: 400px;
}
.body-right {
flex-grow: 0;
width: 400px;
}
/* Left Sidebar */ /* Left Sidebar */
.sidebar-left { .sidebar-left {
overflow: hidden; overflow: hidden;
margin: 25px; margin: 25px;
position: fixed;
border-radius: 20px; border-radius: 20px;
z-index: 10; z-index: 10;
width: 200px;
background-color: var(--peach); background-color: var(--peach);
color: var(--dark); color: var(--dark);
padding: 6px; padding: 6px;
@@ -65,7 +73,7 @@ body, html {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: space-between;
align-items: center; align-items: center;
} }
@@ -94,18 +102,25 @@ body, html {
border: none; border: none;
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
} height: 100px;
.sidebar-left .nav_icon img {
height: 40px;
width: auto; width: auto;
border-radius: 8px; border-radius: 8px;
transition: transform 0.2s ease; transition: transform 0.2s ease;
} }
.sidebar-left .nav_icon img:hover { .sidebar-left .nav_icon:hover {
transform: scale(1.05); transform: scale(1.05);
} }
/*.sidebar-left .nav_icon input {*/
/* height: 20px;*/
/* width: auto;*/
/* border-radius: 8px;*/
/* transition: transform 0.2s ease;*/
/*}*/
/*.sidebar-left .nav_icon input:hover {*/
/* transform: scale(1.05);*/
/*}*/
/* Create Icon */ /* Create Icon */
.create_icon { .create_icon {
position: fixed; position: fixed;
@@ -130,13 +145,9 @@ body, html {
.sidebar-right { .sidebar-right {
margin: 25px; margin: 25px;
height: 75%; height: 75%;
position: fixed;
border-radius: 20px; border-radius: 20px;
z-index: 1; z-index: 10;
right: 0;
width: 200px;
background-color: var(--peach); background-color: var(--peach);
color: var(--dusty-red); color: var(--dusty-red);
padding: 5px; padding: 5px;
@@ -167,19 +178,19 @@ right: 0;
/* Main Content */ /* Main Content */
.main-content { .main-content {
flex-grow: 0; width: 100%;
flex-grow: 1;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
margin-left: 300px;
margin-right: 250px;
margin-top: 25px;
} }
.recipe-card { .recipe-card {
width: 100%;
display: flex; display: flex;
gap: 35px; gap: 35px;
justify-content: flex-start; justify-content: flex-start;
flex-direction: column;
} }
.card { .card {
+8 -5
View File
@@ -13,8 +13,9 @@
<img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl"> <img th:src="@{images/header_right.png}" alt="Violin f-hole shape to the right of header." class="swirl">
</header> </header>
<div class="container"> <div class="body">
<!--Navigation Bar --> <!--Navigation Bar -->
<div class="body-left">
<nav class="sidebar-left"> <nav class="sidebar-left">
<ul> <ul>
<li><a href="#">Home</a></li> <li><a href="#">Home</a></li>
@@ -28,11 +29,11 @@
</li> </li>
</ul> </ul>
</nav> </nav>
<a href="#" target="_blank" class="create_icon"> <a href="#" target="_blank" class="create_icon">
<img th:src="@{images/create_icon.png}" alt="Description of the icon"> <img th:src="@{images/create_icon.png}" alt="Description of the icon">
</a> </a>
</div>
<!-- Main Content --> <!-- Main Content -->
<main class="main-content"> <main class="main-content">
@@ -53,9 +54,11 @@
</main> </main>
<!--New Bar --> <!--New Bar -->
<nav class="sidebar-right"> <div class="body-right">
<div class="sidebar-right">
<h1> NEW </h1> <h1> NEW </h1>
</nav> </div>
</div>
</div> </div>
</body> </body>
</html> </html>