mirror of https://github.com/sindresorhus/awesome
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
936 B
SCSS
50 lines
936 B
SCSS
:host {
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: stretch;
|
|
align-content: flex-start;
|
|
}
|
|
.column-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.demo-content {
|
|
background-color: transparent;
|
|
border-color: hsla(var(--ig-gray-400));
|
|
border-width: 2px;
|
|
border-style: dashed;
|
|
justify-content: center;
|
|
align-items: center;
|
|
align-content: flex-start;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
top: 50%;
|
|
position: absolute;
|
|
padding: 64px;
|
|
min-width: 50px;
|
|
min-height: 50px;
|
|
}
|
|
.image {
|
|
object-fit: cover;
|
|
margin: 0 0 24px;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
max-width: 280px;
|
|
flex-shrink: 0;
|
|
}
|
|
.h5 {
|
|
color: hsla(var(--ig-info-500));
|
|
margin: 0 0 16px;
|
|
height: max-content;
|
|
min-width: min-content;
|
|
}
|
|
.text {
|
|
text-align: center;
|
|
color: hsla(var(--ig-gray-700));
|
|
margin: 0 0 24px;
|
|
height: max-content;
|
|
min-width: min-content;
|
|
max-width: 320px;
|
|
}
|