Update publication + accomplishment section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2023-08-07 01:22:21 +06:00
parent 9bfbcfca44
commit b36d258104
2 changed files with 118 additions and 193 deletions

View file

@ -9,89 +9,51 @@
background: #fff; background: #fff;
border-top: 2px solid #248aaa; border-top: 2px solid #248aaa;
height: 100%; height: 100%;
}
.card .card-header { &:hover,
background: none; &:focus {
border: none; border-top: 2px solid #248aaa;
} }
.card .card-header .sub-title { .card-header {
background: none;
border: none;
.sub-title {
color: #8392a5; color: #8392a5;
margin-top: 0.4rem; margin-top: 0.4rem;
} }
.card .sub-title :nth-child(2) {
float: none !important;
} }
.card .card-body { .card-body {
padding: 0; padding: 0;
padding-left: 1rem; padding-left: 1rem;
padding-right: 1rem; padding-right: 1rem;
} }
.card .card-footer { .card-footer {
background: #fff; background: #fff;
border: none; border: none;
padding: 0; padding: 0;
padding-left: 0.7rem; padding-left: 0.7rem;
padding-bottom: 0.3rem; padding-bottom: 0.3rem;
} }
/* ============= Device specific fixes ======= */
/* Large screens such as TV */
@media only screen and (min-width: 1824px) {
} }
/* Extra large devices (large desktops, 1200px and up) */ @include media('<=large') {
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
}
/* IPad Pro */
@media (max-width: 1024px) {
width: 100%; width: 100%;
padding: 0; padding: 0;
padding-left: 0.2rem; padding-left: 0.2rem;
padding-right: 0.2rem; padding-right: 0.2rem;
margin-top: 2rem;
.container { .container {
max-width: 100%; max-width: 100%;
} }
} }
/* Large devices (desktops, 992px and up) */ @include media('<=small') {
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px) {
}
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
flex: 100%; flex: 100%;
max-width: 100%; max-width: 100%;
margin-top: 2rem;
}
/* iPhoneX, iPhone 6,7,8 */
@media only screen and (max-width: 375px) {
}
/* Galaxy S5, Moto G4 */
@media only screen and (max-width: 360px) {
}
/* iPhone 5 or before */
@media only screen and (max-width: 320px) {
} }
} }

View file

@ -8,30 +8,35 @@
.card { .card {
background: #fff; background: #fff;
border-top: 2px solid #248aaa; border-top: 2px solid #248aaa;
&:hover,
&:focus {
border-top: 2px solid #248aaa;
} }
.card .card-header {
.card-header {
background: none; background: none;
border: none; border: none;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
}
.card .card-header .sub-title { .sub-title {
color: #8392a5; color: #8392a5;
margin-top: 0.4rem; margin-top: 0.4rem;
}
.card .sub-title :nth-child(2) { span:nth-child(2) {
float: right !important; float: right !important;
} }
}
}
.card .card-body { .card-body {
padding: 0; padding: 0;
padding-left: 1rem; padding-left: 1rem;
padding-right: 1rem; padding-right: 1rem;
} }
.card .card-footer { .card-footer {
background: #fff; background: #fff;
border: none; border: none;
padding: 0; padding: 0;
@ -42,15 +47,6 @@
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
} }
.card .card-footer .tags {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
}
.card .card-footer .tags .badge {
cursor: auto;
} }
.filtr-publications { .filtr-publications {
@ -61,22 +57,7 @@
justify-content: center; justify-content: center;
} }
/* ============= Device specific fixes ======= */ @include media('<=large') {
/* Large screens such as TV */
@media only screen and (min-width: 1824px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
}
/* IPad Pro */
@media (max-width: 1024px) {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
width: 100%; width: 100%;
@ -95,55 +76,37 @@
} }
} }
/* Large devices (desktops, 992px and up) */ @include media('<=medium') {
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px) {
padding-left: 0;
padding-right: 0;
width: 100%;
.container {
max-width: 100%;
}
.filtr-publications {
padding: 0;
}
.pub-filtr-item { .pub-filtr-item {
padding-left: 0.2rem;
padding-right: 0.2rem;
flex: 100%; flex: 100%;
} }
} }
/* Small devices (landscape phones, 576px and up) */ @include media('<=small') {
.pub-filtr-item {
@media only screen and (max-width: 576px) { flex: 100%;
max-width: 100%;
}
.details-btn {
.btn { .btn {
margin-top: 0.3125rem; margin-top: 0.5rem;
margin-left: auto;
} }
.pub-filtr-item { }
.card {
.card-footer {
padding-left: 0.5rem;
.tags {
flex: 100%; flex: 100%;
max-width: 100%; max-width: 100%;
}
.card .card-footer .tags {
flex: 100%;
}
}
/* iPhoneX, iPhone 6,7,8 */ .btn {
@media only screen and (max-width: 375px) { margin-top: 0.2rem;
} }
}
/* Galaxy S5, Moto G4 */ }
@media only screen and (max-width: 360px) { }
}
/* iPhone 5 or before */
@media only screen and (max-width: 320px) {
} }
} }