How To Change Blog Pages CSS
.block-blog-archive .number {
display: block;
color: #444;
cursor: auto;
}
.block-blog-archive .sublist {
margin: 5px 0 5px 15px;
}
.block-blog-archive li.month {
padding: 3px 0 3px 15px;
}
.blog-page .page-title {
margin: 0;
}
.blog-page .post{
margin: 0 0 30px;
}
.blog-page .post:after {
content: "";
display: block;
clear: both;
}
.post-title{
display: inline-block;
padding: 20px 10px;
line-height: 20px;
font-size: 16px;
font-weight: bold;
color: #444;
}
.post-title:hover,
.post-title:focus{
color: #4ab2f1;
}
.post-date {
display: block;
margin: 0 0 15px;
background-color: #f6f6f6;
padding: 10px;
font-style: italic;
color: #444;
}
.post-body {
margin: 0 0 20px;
padding: 0 10px;
line-height: 22px;
}
.blog-page .tags,
.blogpost-page .tags {
margin: 0 0 15px;
overflow: hidden;
padding: 0 10px;
}
.blog-page .tags label,
.blogpost-page .tags label {
display: inline-block;
margin: 0 3px 3px 0;
font-weight: bold;
color: #444;
}
.blog-page .tags ul,
.blogpost-page .tags ul {
display: inline-block;
margin: 0 0 3px 3px;
font-size: 0;
}
.blog-page .tags li,
.blogpost-page .tags li {
display: inline-block;
font-size: 14px; /*reset zeroing*/
}
.blog-page .tags li.separator,
.blogpost-page .tags li.separator {
margin: 0 8px 0 0;
}
.blog-page .tags a,
.blogpost-page .tags a {
display: block;
color: #4ab2f1;
}
.blog-page .tags a:hover,
.blog-page .tags a:focus,
.blogpost-page .tags a:hover,
.blogpost-page .tags a:focus {
text-decoration: underline;
}
.blog-posts .buttons{
margin: 0;
padding: 0 10px;
}
.blog-posts .buttons .read-comments {
display: block;
margin: 0 0 15px;
font-weight: bold;
color: #444;
}
.blog-posts .buttons .read-comments:hover,
.blog-posts .buttons .read-comments:focus {
color: #4ab2f1;
}
.blog-posts .buttons .read-more {
display: inline-block;
border: none;
background-color: #4ab2f1;
padding: 10px 20px;
font-size: 12px;
color: #fff;
text-transform: uppercase;
}
.blog-posts .buttons .read-more:hover,
.blog-posts .buttons .read-more:focus {
background-color: #248ece;
}
.comment-list {
margin: 0 0 100px;
}
.comment-list .title {
margin: 0 0 15px;
padding: 0 10px;
font-size: 20px;
color: #444;
}
.comment-list .title strong {
font-weight: normal;
}
.comment-list .comment {
margin: 0 0 40px;
border-top: 1px solid #ddd;
}
.comment-list .comment:after {
content: "";
display: block;
clear: both;
}
.comment-info {
width: 150px;
margin: 20px auto;
}
.comment-info .username {
display: block;
margin: 0 0 -1px;
border: 1px solid #ddd;
background-color: #f6f6f6;
padding: 11px 0;
font-weight: bold;
color: #444;
}
.comment-info a.username:hover,
.comment-info a.username:focus {
color: #4ab2f1;
}
.comment-info .avatar {
position: relative;
width: 150px;
height: 150px;
border: 1px solid #ddd;
overflow: hidden;
}
.comment-info .avatar img {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
border: solid 2px #CEDBE1 !important;
}
.comment-time {
margin: 0 0 15px;
font-size: 13px;
font-weight: bold;
}
.comment-time span {
color: #444;
}
.comment-title {
margin: 0 0 15px;
font-size: 16px;
color: #444;
}
.comment-body {
line-height: 22px;
}
@media all and (min-width: 769px) {
/*** BLOG & NEWS ***/
.blog-posts .tags {
float: right;
width: 80%;
text-align: right;
}
.blog-posts .buttons {
float: left;
width: 20%;
text-align: left;
}
.comment-list .comment {
display: table;
width: 100%;
margin: 0;
}
.comment-list .comment:last-child {
border-bottom: 1px solid #ddd;
}
.comment-info {
display: table-cell;
width: 15%;
margin: 0;
vertical-align: top;
}
.comment-info .username {
min-height: 40px;
margin: 0;
border: none;
text-align: center;
}
.comment-info .avatar {
border: none;
}
.comment-info .avatar img {
max-width: 80%;
max-height: 80%;
}
.comment-content {
display: table-cell;
width: 85%;
border-left: 1px solid #ddd;
vertical-align: top;
text-align: left;
}
.comment-time {
min-height: 40px;
margin: 0;
background-color: #f6f6f6;
padding: 10px 15px;
font-size: 14px;
font-weight: normal;
}
.comment-title {
margin: 0 0 -20px;
padding: 20px;
}
.comment-body {
padding: 20px;
}
}
@media all and (min-width: 1001px) {
/*** BLOG***/
.comment-list {
margin: 0 0 50px;
}
}
Modified at 2024-08-27 11:55:42