| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244 |
- /*
- * Themezee Related Posts CSS
- * https://themezee.com/plugins/related-posts/
- *
- * Copyright(C) 2015, ThemeZee.com - support@themezee.com
- * License: GPL v3
- * License URI: http://www.gnu.org/licenses/gpl-3.0.html
- *
- * @package Momentous Lite
- */
- /*--------------------------------------------------------------
- # General Styling
- ---------------------------------------------------------------- */
- .related-posts .entry-meta .meta-author {
- margin-left: 0.5em;
- }
- .related-posts .entry-meta span:before {
- display: inline-block;
- -webkit-font-smoothing: antialiased;
- font: normal 16px 'Genericons';
- vertical-align: top;
- color: #555;
- margin-top: 0.2em;
- }
- .related-posts .entry-meta .meta-date:before{
- content: '\f303';
- margin-right: 0.2em;
- }
- .related-posts .entry-meta .meta-author:before{
- content: '\f411';
- }
- /*--------------------------------------------------------------
- # List Layout
- ---------------------------------------------------------------- */
- ul.related-posts-list {
- margin: 1em 0 0;
- padding: 0;
- list-style: none;
- }
- .related-posts-list li {
- margin: 0 0 1em;
- padding: 0;
- list-style: none;
- }
- .related-posts-list li .entry-header {
- margin-top: 0.25em;
- }
- .related-posts-list li .entry-title {
- font-size: 1.3em;
- padding: 0;
- border: none;
- }
- .related-posts-list li .entry-meta {
- padding: 0.5em;
- border: none;
- }
- .related-posts-list li .wp-post-image {
- float: left;
- margin: 0 1em 0 0;
- padding: 0;
- border: none;
- max-width: 20%;
- height: auto;
- }
- /*--------------------------------------------------------------
- # Grid Layouts
- ---------------------------------------------------------------- */
- .related-posts-grid {
- margin: 1em 0 0;
- }
- .related-posts-columns {
- margin-right: -1em;
- }
- .related-posts-columns .related-post-column {
- float: left;
- margin-bottom: 1em;
- padding-right: 1em;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- }
- .related-posts-two-columns .related-post-column {
- width: 50%;
- }
- .related-posts-three-columns .related-post-column {
- width: 33.3333333333333%;
- }
- .related-posts-four-columns .related-post-column {
- width: 25%;
- }
- .related-posts-two-columns .related-post-column:nth-child(2n + 1) {
- clear: left;
- }
- .related-posts-three-columns .related-post-column:nth-child(3n + 1) {
- clear: left;
- }
- .related-posts-four-columns .related-post-column:nth-child(4n + 1) {
- clear: left;
- }
- .related-posts-two-columns .related-post-column .entry-title {
- font-size: 1.6em;
- }
-
- .related-posts-three-columns .related-post-column .entry-title {
- font-size: 1.4em;
- }
- .related-posts-four-columns .related-post-column .entry-title {
- font-size: 1.2em;
- }
- .related-posts-four-columns .related-post-column .entry-meta .meta-date,
- .related-posts-four-columns .related-post-column .entry-meta .meta-author {
- display: block;
- }
- .related-posts-columns .related-post-column .wp-post-image {
- margin: 0 0 1em 0;
- padding: 0;
- border: none;
- max-width: 100%;
- }
- /*--------------------------------------------------------------
- # Media Queries
- ---------------------------------------------------------------- */
- @media only screen and (max-width: 60em) {
-
- /* Columns */
- .related-posts-two-columns .related-post-column .entry-title {
- font-size: 1.4em;
- }
-
- .related-posts-three-columns .related-post-column .entry-title {
- font-size: 1.2em;
- }
- .related-posts-four-columns .related-post-column .entry-title {
- font-size: 1.1em;
- }
-
- }
- @media only screen and (max-width: 50em) {
-
- /* Columns */
- .related-posts-four-columns .related-post-column {
- width: 50%;
- }
-
- .related-posts-four-columns .related-post-column:nth-child(2n + 1) {
- clear: left;
- }
-
- .related-posts-two-columns .related-post-column .entry-title {
- font-size: 1.25em;
- }
-
- /* List */
- .related-posts-list li .wp-post-image {
- max-width: 30%;
- }
- }
- @media only screen and (max-width: 35em) {
- /* Columns */
- .related-posts-three-columns {
- margin: 0;
- }
-
- .related-posts-three-columns .related-post-column {
- float: none;
- width: 100%;
- padding-right: 0;
- }
-
- .related-posts-three-columns .related-post-column .entry-title {
- font-size: 1.4em;
- }
- .related-posts-two-columns .related-post-column .entry-title,
- .related-posts-four-columns .related-post-column .entry-title {
- font-size: 1.1em;
- }
- }
- @media only screen and (max-width: 25em) {
- .related-posts .entry-meta .meta-date,
- .related-posts .entry-meta .meta-author {
- display: block;
- margin: 0;
- }
-
- /* Columns */
- .related-posts-two-columns,
- .related-posts-four-columns {
- margin: 0;
- }
-
- .related-posts-two-columns .related-post-column,
- .related-posts-four-columns .related-post-column {
- float: none;
- width: 100%;
- padding-right: 0;
- }
-
- .related-posts-three-columns .related-post-column .entry-title {
- font-size: 1.2em;
- }
-
- /* List */
- .related-posts-list li .wp-post-image {
- float: none;
- margin: 0 0 0.5em 0;
- max-width: 100%;
- }
- }
|