Add filter for code lang

This commit is contained in:
Jake
2021-12-03 17:59:09 -07:00
committed by mDuo13
parent a67abd3975
commit 1eae37e095
5 changed files with 130 additions and 30 deletions

View File

@@ -12,6 +12,7 @@
}
.card-footer {
background-color: unset;
font-size: initial;
}
.card-deck .card a{
@@ -19,6 +20,85 @@
}
}
.contribute_1 {
// border-top: 2px solid linear-gradient(to right rgba(255,0,0,.8), rgba(255,0,0,0));
&::before {
content:"";
background: -webkit-linear-gradient(left, rgba(254, 255, 1, 1), rgba(255, 45, 154, 1) );
display: block;
height:2px;
width: 100%;
position: absolute;
top: 0;
}
@include media-breakpoint-down(md) {
&::before {
left: 0;
// transform: rotate(90deg);
height: 100%;
width: 2px;
}
}
}
.contribute_2 {
&::before {
content:"";
background: -webkit-linear-gradient(left, rgba(255, 45, 154, 1), rgba(226, 76, 255, 1));
display: block;
height:2px;
width: 100%;
position: absolute;
top: 0;
}
@include media-breakpoint-down(md) {
&::before {
left: 0;
height: 100%;
width: 2px;
}
}
}
.contribute_3 {
&::before {
content:"";
background: -webkit-linear-gradient(left, rgba(226, 76, 255, 1),rgba(154, 82, 255, 1) );
display: block;
height:2px;
width: 100%;
position: absolute;
top: 0;
}
@include media-breakpoint-down(md) {
&::before {
left: 0;
height: 100%;
width: 2px;
}
}
}
.contribute_4 {
&::before {
content:"";
background: -webkit-linear-gradient(left, rgba(154, 82, 255, 1),rgba(154, 82, 255, 1) );
display: block;
height:2px;
width: 100%;
position: absolute;
top: 0;
}
@include media-breakpoint-down(md) {
&::before {
left: 0;
height: 100%;
width: 2px;
}
}
}
.card-body > p,
.card-body > p:not(:last-child) {
padding: 0;