81 lines
No EOL
1.2 KiB
CSS
81 lines
No EOL
1.2 KiB
CSS
|
|
|
|
.article_blop {
|
|
position: relative;
|
|
overflow: clip;
|
|
z-index: 0;
|
|
|
|
background: var(--bg_2);
|
|
|
|
margin: 2rem;
|
|
padding: 0;
|
|
|
|
border-radius: 1rem;
|
|
|
|
box-shadow: 0px 5px 5px 0px #00000040;
|
|
transition: 0.3s;
|
|
|
|
min-height: 10rem;
|
|
}
|
|
|
|
.article_blop_bg {
|
|
position: absolute;
|
|
left: 0px;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
|
|
opacity: 0.2;
|
|
|
|
z-index: -1;
|
|
}
|
|
|
|
.article_blop:hover {
|
|
box-shadow: 0px 8px 8px 0px #00000040;
|
|
}
|
|
|
|
.article_blop_content {
|
|
padding: 1rem;
|
|
padding-top: 5rem;
|
|
}
|
|
|
|
.article_blop_tags {
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.2rem;
|
|
|
|
width: 40%;
|
|
height: auto;
|
|
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-flow: row wrap;
|
|
|
|
justify-content: right;
|
|
}
|
|
.article_blop_tags :first-child {
|
|
margin-left: auto;
|
|
}
|
|
.article_blop_tags li {
|
|
margin-right: 0.4rem;
|
|
margin-bottom: 0.4rem;
|
|
|
|
padding-left: 0.2rem;
|
|
padding-right: 0.2rem;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
|
|
background-color: var(--highlight_1);
|
|
border-radius: 0.3rem;
|
|
color: var(--bg_2);
|
|
|
|
|
|
} |