File Editor
Directories:
.. (Back)
rtl
Files:
class.related-posts-customize.php
jetpack-related-posts.php
related-posts-customizer.js
related-posts-rtl.css
related-posts.css
related-posts.js
Create New File
Create
Edit File: related-posts-rtl.css
.jp-related-posts-i2{margin-top:1.5rem}.jp-related-posts-i2__list{--hgap:1rem;column-gap:var(--hgap);display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0;row-gap:2rem}.jp-related-posts-i2__post{display:flex;flex-basis:calc((100% - var(--hgap))/2);flex-direction:column}.jp-related-posts-i2__post:nth-last-child(n+3):first-child,.jp-related-posts-i2__post:nth-last-child(n+3):first-child~*{flex-basis:calc(33.33333% - var(--hgap)*2/3)}.jp-related-posts-i2__post:nth-last-child(4):first-child,.jp-related-posts-i2__post:nth-last-child(4):first-child~*{flex-basis:calc((100% - var(--hgap))/2)}.jp-related-posts-i2__post-link{display:flex;flex-direction:column;line-height:1.2;margin-bottom:1rem;row-gap:.5rem;width:100%}.jp-related-posts-i2__post-link:focus-visible{outline-offset:2px}.jp-related-posts-i2__post-img{max-width:100%;order:-1}.jp-related-posts-i2__post-defs{list-style-type:unset;margin:0}.jp-related-posts-i2__post-defs dt{height:1px;overflow:hidden;position:absolute;width:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}.jp-related-posts-i2__post-defs dd{margin:0}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__list{display:block}.jp-relatedposts-i2[data-layout=list] .jp-related-posts-i2__post{margin-bottom:2rem}@media only screen and (max-width:640px){.jp-related-posts-i2__list{display:block}.jp-related-posts-i2__post{margin-bottom:2rem}}#jp-relatedposts{clear:both;display:none;margin:1em 0;padding-top:1em;position:relative}.jp-relatedposts:after{clear:both;content:"";display:block}#jp-relatedposts h3.jp-relatedposts-headline{display:inline-block;float:right;font-family:inherit;font-size:9pt;font-weight:700;margin:0 0 1em}#jp-relatedposts h3.jp-relatedposts-headline em:before{border-top:1px solid #0003;content:"";display:block;margin-bottom:1em;min-width:30px;width:100%}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;float:right;margin:0 0 1em;width:33%}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{filter:alpha(opacity=80);-moz-opacity:.8;opacity:.8;padding-left:20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{border-bottom:0;bottom:0;display:block;left:0;position:absolute;right:0;top:0}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items time{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{display:block;font-family:inherit;margin:0;max-width:100%;text-transform:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{filter:alpha(opacity=100);font-size:inherit;font-weight:400;-moz-opacity:1;opacity:1;text-decoration:none}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{height:auto;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt,.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post{clear:both;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img{float:right;margin-left:3%;max-width:33%;overflow:hidden}#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{display:inline-block;max-width:63%}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{clear:both;margin:0 0 1em;width:100%}#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title{float:none;margin-left:0;max-width:100%}}@media print{.jp-relatedposts{display:none!important}}
Save Changes
Rename File
Rename