75 lines
1.5 KiB
CSS
75 lines
1.5 KiB
CSS
/* src/View/homePage.css */
|
|
#home-page > div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--large-gap);
|
|
scroll-snap-type: x mandatory;
|
|
scroll-behavior: smooth;
|
|
overflow: hidden;
|
|
overflow-x: scroll;
|
|
padding-left: 0px;
|
|
padding-right: 0px;
|
|
padding-bottom: 0px;
|
|
}
|
|
#home-page > div > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: start;
|
|
gap: var(--gap-between-tiles);
|
|
padding: var(--content-padding);
|
|
width: 100%;
|
|
min-width: 100%;
|
|
height: 100%;
|
|
overflow: scroll;
|
|
scroll-snap-align: center;
|
|
}
|
|
#home-page #chat-grid {
|
|
margin-top: var(--content-padding);
|
|
display: grid;
|
|
gap: var(--gap-between-tiles);
|
|
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
|
|
}
|
|
@media (min-width: 640px) {
|
|
#home-page #overview-section {
|
|
width: 20rem;
|
|
min-width: 20rem;
|
|
}
|
|
#home-page #chat-section {
|
|
flex: 1;
|
|
min-width: unset;
|
|
}
|
|
}
|
|
@media (min-width: 1200px) {
|
|
#home-page > div {
|
|
gap: 8rem;
|
|
}
|
|
#home-page #chat-grid {
|
|
margin-top: 3rem;
|
|
}
|
|
#home-page #overview-section {
|
|
width: var(--max-input-width);
|
|
min-width: var(--max-input-width);
|
|
}
|
|
}
|
|
|
|
/* src/View/Components/chatEntry.css */
|
|
.chat-entry {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-end !important;
|
|
justify-content: start;
|
|
height: 8rem;
|
|
overflow: hidden;
|
|
}
|
|
.chat-entry h2 {
|
|
margin: 0px;
|
|
}
|
|
.chat-entry .shadow {
|
|
position: absolute;
|
|
left: -15px;
|
|
bottom: -45px;
|
|
font-size: 6rem;
|
|
opacity: 0.1;
|
|
white-space: nowrap;
|
|
}
|