website/assets/scss/shortcodes/verticalposts.scss

32 lines
778 B
SCSS
Raw Normal View History

2022-12-24 14:59:52 +01:00
.verticalposts {
hyphens: auto;
margin-top: 4em;
.verticalposts-wrapper {
border-radius: .5em;
display: flex;
flex-direction: row;
gap: 1em;
overflow-x: scroll;
scroll-snap-type: x proximity;
.post-group {
2023-03-09 17:02:06 +01:00
color: var(--vriish-gradient-text);
2022-12-24 14:59:52 +01:00
background: var(--vriish-gradient);
border-radius: .5em;
display: flex;
flex-direction: column;
scroll-snap-align: start;
min-width: 15em;
width: 33.333%;
.title {
flex: auto;
margin: 1em;
}
aside {
margin: 1em;
}
}
}
a {
text-decoration: none;
}
}