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.

119 lines
1.9 KiB
SCSS

#blog-hero {
.bg-blog-head {
border-radius: $border;
}
img {
display: block;
width: 100%;
height: auto;
}
.lead {
text-align: justify;
}
}
.blog-h-box {
border-radius: $border;
}
#blog-start {
img {
border-radius: $border;
}
}
.hashtags {
.tags {
list-style: none;
margin: 0;
overflow: hidden;
padding: 0;
li {
float: right;
}
}
.tag {
background: #eee;
border-radius: 3px 0 0 3px;
color: #999;
display: inline-block;
height: 26px;
line-height: 26px;
padding: 0 20px 0 23px;
position: relative;
margin: 0 10px 10px 0;
text-decoration: none;
-webkit-transition: color 0.2s;
&::before {
background: #fff;
border-radius: 10px;
box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
content: '';
height: 6px;
right: 10px;
position: absolute;
width: 6px;
top: 10px;
}
&::after {
background: #fff;
border-bottom: 13px solid transparent;
border-right: 10px solid #eee;
border-top: 13px solid transparent;
content: '';
position: absolute;
left: 0;
top: 0;
}
&:hover {
background-color: $txt-hover;
color: white;
&::after {
border-right-color: $txt-hover;
}
}
}
}
.blog-card-btn {
align-items: center;
background-color: transparent;
color: $txt-hover;
cursor: pointer;
display: flex;
font-family: Vazirmatn, sans-serif;
font-size: 14px;
font-weight: 700;
line-height: 1.5;
text-decoration: none;
text-transform: uppercase;
outline: 0;
border: 0;
padding: 1rem;
&:before {
background-color: $txt-hover;
content: "";
display: inline-block;
height: 1px;
margin-left: 10px;
transition: all .42s cubic-bezier(.25, .8, .25, 1);
width: 0;
}
&:hover {
&:before {
background-color: $txt-hover;
width: 2rem;
}
}
}