Add publication section (#620)

* Add publication section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Don't make tags clickable

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
Emruz Hossain 2022-07-29 23:12:14 +06:00 committed by GitHub
parent eb167e0155
commit b81fd5078b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 239 additions and 5 deletions

View file

@ -444,7 +444,8 @@ mark {
@media only screen and (max-width: 576px) {
.skills-section .container,
.projects-section .container {
.projects-section .container,
.publications-section .container {
padding-left: 0.3rem;
padding-right: 0.3rem;
}
@ -457,7 +458,8 @@ mark {
.skills-section,
.projects-section,
.recent-posts-section,
.achievements-section {
.achievements-section,
.publications-section {
padding-left: 0;
padding-right: 0;
}

View file

@ -0,0 +1,147 @@
.publications-section h1 > span{
margin-top: -55px; /* Size of fixed header */
padding-bottom:55px;
display: block;
}
.publications-section .card {
background: #fff;
border-top: 2px solid #248aaa;
}
.publications-section .card .card-header {
background: none;
border: none;
display: flex;
flex-direction: column;
}
.publications-section .card .card-header .sub-title {
color: #8392a5;
margin-top: 0.4rem;
}
.publications-section .card .sub-title :nth-child(2) {
float: right !important;
}
.publications-section .card .card-body {
padding: 0;
padding-left: 1rem;
padding-right: 1rem;
}
.publications-section .card .card-footer {
background: #fff;
border: none;
padding: 0;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 0.3rem;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.publications-section .card .card-footer .tags {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
}
.publications-section .card .card-footer .tags .badge {
cursor: auto;
}
.filtr-publications {
padding: 1rem !important;
}
.publications-section .btn-group{
justify-content: center;
}
/* ============= Device specific fixes ======= */
/* 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) {
.publications-section {
padding-left: 0;
padding-right: 0;
width: 100%;
}
.publications-section .container {
max-width: 100%;
}
.publicationss-section .filtr-publications {
padding: 0;
}
.publicationss-section .pub-filtr-item {
padding-left: 0.2rem;
padding-right: 0.2rem;
}
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px) {
.publications-section {
padding-left: 0;
padding-right: 0;
width: 100%;
}
.publications-section .container {
max-width: 100%;
}
.publications-section .filtr-publications {
padding: 0;
}
.publications-section .pub-filtr-item {
padding-left: 0.2rem;
padding-right: 0.2rem;
flex: 100%;
}
}
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
.publications-section .btn {
margin-top: 0.3125rem;
}
.publications-section .pub-filtr-item {
flex: 100%;
max-width: 100%;
}
.publications-section .card .card-footer .tags {
flex: 100%;
}
}
/* 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

@ -1,6 +1,6 @@
"use strict";
var projectCards;
var projectCards, publicationCards;
(function ($) {
jQuery(document).ready(function () {
@ -79,7 +79,22 @@ var projectCards;
var projectCardHolder = document.getElementById("project-card-holder");
if (projectCardHolder != null && projectCardHolder.children.length != 0) {
projectCards = $(".filtr-projects").filterizr({ layout: 'sameWidth' });
projectCards = $(".filtr-projects").filterizr(
{
layout: 'sameWidth',
controlsSelector: '.project-filtr-control',
});
}
// ================== Publication cards =====================
var publicationCardHolder = document.getElementById("publication-card-holder");
if (publicationCardHolder != null && publicationCardHolder.children.length != 0) {
publicationCards = $(".filtr-publications").filterizr(
{
layout: 'sameWidth',
gridItemsSelector: '.pub-filtr-item',
controlsSelector: '.pub-filtr-control',
});
}
function showGithubStars() {