Files
thymecrunch/demo/css/home.css
T
2026-03-07 21:19:51 -07:00

172 lines
2.4 KiB
CSS

body, html {
background-attachment: fixed;
height: 100%;
margin: 0;
font-family: 'Roboto', sans-serif;
}
.container {
display: flex;
height: 100vh;
}
/* Header Styles */
.top-header {
position: sticky;
top: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: #1f3d57;
color: white;
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;}
/* Left Sidebar */
.sidebar-left {
overflow: hidden;
margin: 20px;
position: fixed;
border-radius: 20px;
z-index: 10;
width: 200px;
background-color: #38a7e8;
color: white;
padding: 20px;
font-size: 1.15em;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sidebar-left ul {
list-style: none;
padding: 0;
}
.sidebar-left li {
margin-bottom: 15px;
}
.sidebar-left a {
color: white;
text-decoration: none;
font-weight: bold;
}
.sidebar-left .nav_icon {
height: 40px;
width: auto;
margin: 5 5px;
}
/* Create Icon */
.create_icon {
position: fixed;
bottom: 30px;
left: 60px;
z-index: 1000;
}
.create_icon img {
width: 150px;
height: auto;
border-radius: 10%;
}
/* Right Sidebar */
.sidebar-right {
overflow: hidden;
margin: 20px;
height: 70%;
position: fixed;
border-radius: 20px;
z-index: 1;
right: 0;
overflow-x: hidden;
width: 200px;
background-color: #38a7e8;
color: white;
padding: 20px;
font-size: 1.15em;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sidebar-right ul {
list-style: none;
padding: 0;
}
.sidebar-right li {
margin-bottom: 15px;
}
.sidebar-right a {
color: white;
text-decoration: none;
font-weight: bold;
}
/* Main Content */
.main-content {
flex-grow: 0;
display: flex;
justify-content: center;
align-items: center;
margin-left: 300px;
margin-right: 250px;
margin-top: 0px;
}
.recipe-card {
display: flex;
flex-wrap: wrap;
gap: 35px;
justify-content: flex-start;
}
.card {
display: flex;
align-items: center;
gap: 10px;
flex: 0.2 0.2 260px;
max-width: 300px;
background: orange;
border-radius: 12px;
padding: 20px;
}
.card img {
width: 100%;
height: 100px;
object-fit: cover;
border-radius: 8px;
}
.card-left, .card-right {
width: 50%;
}