Files
thymecrunch/demo/src/main/resources/static/css/home.css
T
2026-03-12 12:42:14 -06:00

219 lines
3.3 KiB
CSS

:root {
--dusty-red: #D43F3F;
--dusty-red-hover: #C73636;
--dark-yellow: #FFD27F;
--pale-yellow: #FFECB3;
--peach: #F5A96E;
--dark: #850000;
}
/* login.css */
body, html {
height: 100%;
margin: 0;
font-family: 'Roboto', sans-serif;
background-color: var(--pale-yellow);
}
.body {
display: flex;
height: 100%;
}
/* Header Styles */
.top-header {
position: sticky;
top: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--dusty-red);
color: var(--dark-yellow);
padding: 10px 20px;
height: 60px;
gap: 40px;
}
.top-header .swirl {
height: 40px;
width: auto;
margin: 0 20px;
}
.site-name {
font-size: 2.5em;
font-weight: bold;
letter-spacing: 4px;
font-family: 'EB Garamond', serif;
}
.body-left {
flex-grow: 0;
width: 400px;
}
.body-right {
flex-grow: 0;
width: 400px;
}
/* Left Sidebar */
.sidebar-left {
overflow: hidden;
margin: 25px;
border-radius: 20px;
z-index: 10;
background-color: var(--peach);
color: var(--dark);
padding: 6px;
font-size: 1.75em;
font-weight: 900;
letter-spacing: 1.5px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.sidebar-left ul {
list-style: none;
padding: 0;
}
.sidebar-left li {
margin-bottom: 7px;
}
.sidebar-left a {
color: var(--dark);
text-decoration: none;
transition: 0.1s ease;
}
.sidebar-left a:hover {
color: var(--dusty-red);
}
.sidebar-left .nav_icon {
background: none;
border: none;
padding: 0;
cursor: pointer;
height: 100px;
width: auto;
border-radius: 8px;
transition: transform 0.2s ease;
}
.sidebar-left .nav_icon:hover {
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 {
position: fixed;
bottom: 30px;
left: 55px;
z-index: 1000;
transition: transform 0.2s ease;
}
.create_icon:hover {
transform: scale(1.02);
}
.create_icon img {
width: 150px;
height: auto;
border-radius: 10%;
}
/* Right Sidebar */
.sidebar-right {
margin: 25px;
height: 75%;
border-radius: 20px;
z-index: 10;
background-color: var(--peach);
color: var(--dusty-red);
padding: 5px;
font-size: 1.6em;
font-weight: 900;
letter-spacing: 1.5px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.sidebar-right ul {
list-style: none;
padding: 0;
}
.sidebar-right li {
margin-bottom: 5px;
}
.sidebar-right a {
color: var(--dusty-red);
text-decoration: none;
}
/* Main Content */
.main-content {
width: 100%;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: flex-start;
}
.recipe-card {
width: 100%;
display: flex;
flex-wrap: wrap;
gap: 35px;
justify-content: flex-start;
flex-direction: row;
}
.card {
display: flex;
align-items: center;
gap: 10px;
flex: 0.2 0.2 260px;
max-width: 300px;
background: var(--peach);
border-radius: 12px;
padding: 20px;
}
.card img {
width: 100%;
height: 100px;
object-fit: cover;
border-radius: 8px;
}
.card-left, .card-right {
flex-shrink: 0;
width: 50%;
}