Refactor about section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2023-08-03 13:34:12 +06:00
parent 6179b05fd5
commit 6eb8bf43dd
11 changed files with 450 additions and 469 deletions

View file

@ -1,5 +1,43 @@
.card {
box-shadow: none;
transition: all 0.3s ease-out;
overflow: hidden;
&:hover,&:focus {
box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
border: 1px solid #fff;
transition: all 0.3s ease-out;
}
.card-head{
height: 172px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.card-body {
text-align: justify;
}
.card-img-top {
transition: all 0.3s ease-out !important;
}
.card-img-sm {
width: 32px;
height: 32px;
}
.card-img-xs {
width: 24px;
height: 24px;
}
}
.post-card {
width: calc(100% / 3);
width: 24rem;
display: inline-flex;
.post-card-link {
@ -9,35 +47,16 @@
.card {
margin: 5px;
position: relative;
box-shadow: none;
transition: all 0.3s ease-out;
overflow: hidden;
&:hover,
&:focus {
box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
border: 1px solid #fff;
transition: all 0.3s ease-out;
.card-img-top {
transform: scale(1.2);
transition: all 0.3s ease-out;
}
}
.card-head {
height: 172px;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
.card-img-top {
transition: all 0.3s ease-out !important;
}
}
.card-body {
text-align: justify;
padding: 1.25rem !important;
padding-bottom: 0 !important;