File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/assets/sass/blog/_blog-archive.scss
/*
* Style Blog */
// Common style blog for archive and single
.blog-content,
.page-content {
article {
margin-bottom: 40px;
.entry-content {
position: relative;
padding: 30px 0 30px;
&:after {
content: '';
position: absolute;
bottom: 0;
display: block;
width: 200px;
height: 2px;
@include transition();
}
&:hover {
&:after {
width: 100%;
}
}
}
.entry-title {
margin: 0;
font-size: 36px;
line-height: 48px;
-ms-word-wrap: break-word;
word-wrap: break-word;
}
.entry-meta {
font-size: 14px;
margin-bottom: 20px;
padding: 10px 0;
text-transform: uppercase;
font-weight: bold;
> span {
margin-right: 25px;
position: relative;
float: left;
&:after {
content: '';
width: 6px;
height: 6px;
background: $border-color;
border-radius: 50%;
display: inline-block;
position: absolute;
right: -15px;
top: 8px;
}
&:last-child {
&:after {
display: none;
}
}
}
}
.flexslider .flex-direction-nav a:before {
color: #fff;
}
// post format
&.format-quote blockquote {
font-style: italic;
a {
&:hover {
text-decoration: underline;
}
}
p {
font-weight: 100;
margin-bottom: 10px;
}
}
}
}
// Style for archive page
.blog-content {
width: 100% !important;
.col-sm-6.aligncenter & {
h2.entry-title {
font-size: 26px;
}
}
&:after {
@extend .clear-after;
}
article {
margin-bottom: 60px;
.content-inner {
.thumbnail,
.post-image {
position: relative;
overflow: hidden;
img {
width: 100%;
@include transition(all 1s);
}
}
.entry-title {
margin: 0;
font-size: 36px;
line-height: 48px;
-ms-word-wrap: break-word;
word-wrap: break-word;
}
.entry-summary {
line-height: 27px;
}
.entry-content {
position: relative;
padding: 30px 0 51px;
.entry-meta {
padding: 10px 0;
text-transform: uppercase;
font-weight: bold;
margin-bottom: 7px;
&:after {
@extend .clear-after;
}
}
}
.readmore {
margin-top: 21px;
a {
@extend .thim-button;
i {
@extend .thim-button-icon;
}
&:hover {
i {
@extend .effect-right;
}
}
}
}
}
&.col-md-4,
&.col-md-3 {
.content-inner .entry-title {
font-size: 24px;
}
.entry-meta >span {
font-size: 13px;
margin-right: 20px;
}
}
&:hover {
.thumbnail {
img {
@extend .effect-zoom;
}
}
}
// post format
&.format-quote {
.content-inner {
.entry-title {
margin-bottom: 30px;
}
blockquote {
font-size: 15px;
margin-bottom: 0;
p {
font-weight: 400;
}
}
.readmore {
display: none;
}
cite {
font-size: 18px;
}
}
}
}
}
// Panagation
.loop-pagination {
margin: 27px 0 0;
text-align: center;
font-weight: bold;
li {
display: inline-block;
list-style: none;
.page-numbers {
display: inline-block;
width: 25px;
height: 35px;
line-height: 35px;
margin: 0 5px;
&.next, &.prev {
font-size: 0;
&:before {
font-family: FontAwesome;
font-size: 16px;
line-height: 34px;
}
}
&.prev:before {
content: "\f104";
}
&.next:before {
content: "\f105";
}
&.current {
&:after {
content: '';
position: relative;
display: block;
height: 2px;
width: 10px;
margin: 0 auto;
bottom: 5px;
}
}
}
}
}