60 lines
1.3 KiB
SCSS
60 lines
1.3 KiB
SCSS
/*--------------------------------
|
|
Single Demo
|
|
-------------------------------*/
|
|
.single-demo {
|
|
text-align: center;
|
|
background: var(--color-lessdark);
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
transition: 0.3s;
|
|
position: relative;
|
|
a {
|
|
display: block;
|
|
}
|
|
|
|
.thumbnail {
|
|
position: relative;
|
|
img {
|
|
border-radius: 10px;
|
|
width: 100%;
|
|
}
|
|
.image-light {
|
|
display: none;
|
|
}
|
|
.label-badge {
|
|
position: absolute;
|
|
right: 20px;
|
|
border-radius: 5px;
|
|
background-color: transparent;
|
|
background: #fff700;
|
|
padding: 0 12px;
|
|
color: #000;
|
|
font-size: 14px;
|
|
height: 29px;
|
|
line-height: 29px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
font-weight: 500;
|
|
display: inline-block;
|
|
width: 60px;
|
|
bottom: 20px;
|
|
}
|
|
}
|
|
.title {
|
|
margin: 0;
|
|
margin-top: 20px;
|
|
font-size: 20px;
|
|
letter-spacing: 0.5px;
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
}
|
|
&:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
}
|
|
.react-image {
|
|
img {
|
|
max-height: 150px;
|
|
}
|
|
} |