Files
Checkmate/Client/src/Layouts/HomeLayout/index.css
T

38 lines
751 B
CSS
Raw Normal View History

2024-07-26 12:39:18 -04:00
.home-layout {
2024-06-18 19:17:21 -04:00
position: relative;
2024-08-05 21:25:21 +03:30
min-height: 100vh;
max-width: 1400px;
margin: 0 auto;
padding: var(--env-var-spacing-2);
2024-06-07 13:20:07 +03:30
}
2024-07-26 12:39:18 -04:00
.home-layout aside {
position: sticky;
top: var(--env-var-spacing-2);
left: 0;
height: calc(100vh - var(--env-var-spacing-2) * 2);
max-width: var(--env-var-side-bar-width);
2024-08-16 14:17:11 -04:00
}
2024-07-26 12:39:18 -04:00
.home-layout > div {
min-height: calc(100vh - var(--env-var-spacing-2) * 2);
flex: 1;
2024-06-07 13:20:07 +03:30
}
2024-08-14 17:47:19 -04:00
.home-layout > div:has(> [class*="fallback__"]) .background-pattern-svg {
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -50%);
2024-08-14 17:47:19 -04:00
z-index: 0;
width: 100%;
max-width: 800px;
height: 100%;
max-height: 800px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}