mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-29 07:58:31 +02:00
* added recent news to the article page * changed some css to scss for more convenient use of blocks * added recent news to the article page * changed some css to scss for more convenient use of blocks * tags, link on image, link on categories
69 lines
1.1 KiB
SCSS
69 lines
1.1 KiB
SCSS
/*Post Widget*/
|
|
|
|
.post-preview {
|
|
position: relative;
|
|
font-size: 14px;
|
|
color: #666666;
|
|
min-height: 130px;
|
|
padding: 22px 20px;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.10);
|
|
|
|
&__description {
|
|
position: relative;
|
|
padding-left: 185px;
|
|
}
|
|
|
|
&__thumb {
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 2px;
|
|
width: 162px;
|
|
height: 80px;
|
|
background-color:var(--brand-primary);
|
|
overflow: hidden;
|
|
}
|
|
|
|
&__img {
|
|
display: block;
|
|
width: 100%;
|
|
|
|
&:hover {
|
|
transform:scale(1.04,1.04);
|
|
opacity:0.5;
|
|
}
|
|
}
|
|
|
|
&__text {
|
|
position: relative;
|
|
top: 0px;
|
|
font-size: 20px;
|
|
margin: 0px 0px 3px;
|
|
font-weight: 700;
|
|
color: #2b2b2b;
|
|
line-height: 1.5em;
|
|
text-transform: capitalize;
|
|
font-family: 'Roboto Condensed';
|
|
}
|
|
|
|
&__link {
|
|
color: #2b2b2b;
|
|
|
|
&:hover {
|
|
color: var(--brand-primary);
|
|
}
|
|
}
|
|
|
|
&__title {
|
|
position: relative;
|
|
font-size: 14px;
|
|
color: #5a5a5a;
|
|
font-weight: 400;
|
|
}
|
|
|
|
&__tags {
|
|
position: relative;
|
|
color: var(--brand-primary);
|
|
text-decoration: underline;
|
|
}
|
|
} |