Created
May 10, 2021 21:26
-
-
Save BiancaNL/69347abebe7574949bda1e2226de4770 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.portfolio .gb-block-post-grid-image { | |
margin-bottom:0!important | |
} | |
.portfolio .gb-block-post-grid-image { | |
margin-bottom:0!important | |
} | |
.portfolio .featuredpost .hentry { | |
padding: 0; | |
position: relative; | |
} | |
.portfolio .featuredpost .gb-block-post-grid-header { | |
text-align:center; | |
position: absolute; | |
top: 0; | |
width: 100%; | |
height:100%; | |
} | |
.portfolio .gb-post-grid-item .gb-block-post-grid-header { | |
display:none; | |
} | |
.portfolio .gb-post-grid-item:hover .gb-block-post-grid-header{ | |
display:block; | |
background: rgba(112,123,133,0.8); | |
color: #fff; | |
text-align:center; | |
position: absolute; | |
top: 0; | |
width: 100%; | |
height:100%; | |
} | |
.portfolio .featuredpost .gb-block-post-grid-header .gb-block-post-grid-title { | |
position: absolute; | |
top: 45%; | |
width: 100%; | |
font-weight: 300; | |
font-size: 30px; | |
line-height: 1.0; | |
margin: 0; | |
z-index: 20; | |
text-align: center; | |
} | |
.portfolio .featuredpost .gb-block-post-grid-header .gb-block-post-grid-title a { | |
color:#fff; | |
} | |
/* blog homepage */ | |
.blog-left h2, | |
.blog-right h2{ | |
font-weight:300; | |
} | |
.blog-left h2 a { | |
font-size: 54px; | |
} | |
.blog-right h2 a { | |
font-size: 30px; | |
} | |
@media only screen and (max-width:1000px) { | |
.blog-left h2 a { | |
font-size: 32px; | |
} | |
} | |
/* Portfolio page */ | |
.portfolio-list .gb-post-grid-items .gb-post-grid-item{ | |
direction: rtl; | |
} | |
.gb-block-post-grid .is-list article, .gb-block-post-grid .gb-is-list article { | |
display: -ms-grid; | |
display: grid; | |
-ms-grid-columns: 10% 1fr; | |
grid-template-columns: 65% 1fr; | |
grid-template-rows: 1fr; | |
grid-gap: 0 2em | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment