/* Theme Name: BlockMag Description: Adds support for languages written in a Right To Left (RTL) direction. It's easy, just a matter of overwriting all the horizontal positioning attributes of your CSS stylesheet in a separate stylesheet file named rtl.css. See: https://codex.wordpress.org/Right_to_Left_Language_Support */ @charset "UTF-8"; body { direction: rtl; unicode-bidi: embed; } .editor-styles-wrapper .wp-block-main-header .wp-block-navigation, .wp-block-main-header .wp-block-navigation { margin-left: 0; margin-right: auto; } .editor-styles-wrapper .wp-block-scroll-down, .wp-block-scroll-down { left: clamp(8px, 3.5vw, 63px); right: auto; } .editor-styles-wrapper .wp-block-scroll-down a:after, .wp-block-scroll-down a:after { margin-left: 0; margin-right: 10px; } .editor-styles-wrapper .social-inside-slider, .social-inside-slider { left: auto; right: 9px; } .editor-styles-wrapper svg.icon, svg.icon { margin-left: 7px; margin-right: 0; } .editor-styles-wrapper .wp-block-button.is-style-button .wp-block-button__link:after, .wp-block-button.is-style-button .wp-block-button__link:after { transform: rotate(225deg); margin-bottom: 1px; } .editor-styles-wrapper .wp-block-footer .tnp-subscription-minimal input.tnp-submit, .wp-block-footer .tnp-subscription-minimal input.tnp-submit { border-top-left-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 0; border-bottom-right-radius: 0; } .editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link, .wp-block-group-heading .is-style-button .wp-block-button__link { padding-left: 15px; padding-right: 0; } .editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link:hover, .editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link:focus, .wp-block-group-heading .is-style-button .wp-block-button__link:hover, .wp-block-group-heading .is-style-button .wp-block-button__link:focus { padding-left: 10px; padding-right: 0; } .editor-styles-wrapper .wp-block-footer .tnp-subscription-minimal form input.tnp-email, .wp-block-footer .tnp-subscription-minimal form input.tnp-email { border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 5px; border-bottom-right-radius: 5px; } .editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link::before, .wp-block-group-heading .is-style-button .wp-block-button__link::before { left: 0; right: auto; } .wp-block-button.is-style-button .wp-block-button__link::after { margin-left: 0; } .editor-styles-wrapper .wp-block-group-heading .is-style-button .wp-block-button__link::after, .wp-block-group-heading .is-style-button .wp-block-button__link::after { left: 0; right: auto; } /* Style Guide */ .editor-styles-wrapper .wp-block-widget-area ul, .editor-styles-wrapper ul.wp-block-archives, .editor-styles-wrapper .wp-block-categories ul, .wp-block-widget-area ul, ul.wp-block-archives, .wp-block-categories ul { padding-right: 0; } .editor-styles-wrapper .wp-block-archives-list > li>a, .editor-styles-wrapper .wp-block-categories-list > li > a, .wp-block-archives-list>li>a, .wp-block-categories-list > li > a { float: right; } .editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-archives li:before, .editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-categories li:before, .wp-block-sidebar .wp-block-widget .wp-block-archives li:before, .wp-block-sidebar .wp-block-widget .wp-block-categories li:before { left: auto; right: 0; } .editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-archives li, .editor-styles-wrapper .wp-block-sidebar .wp-block-widget .wp-block-categories li, .wp-block-sidebar .wp-block-widget .wp-block-archives li, .wp-block-sidebar .wp-block-widget .wp-block-categories li { padding-left: 0; padding-right: 36px; } .has-drop-cap:not(:focus):first-letter, .block-editor .editor-styles-wrapper .has-drop-cap:not(:focus):first-letter { margin: 0.15em -0.07em 0 0.15em; } .content > .video-play > span { padding-left: 0; padding-right: 7px; } .trending-wrapper ul { padding-left: 40px; padding-right: 0; } .trending-wrapper ul li:not(:first-child) { margin-left: 0; margin-right: 10px; } .wp-block-button.is-style-button .wp-block-button__link:after, .wp-block-lifestyle-news .wp-block-post-template > li .wp-block-post-excerpt__more-link:after, .wp-block-featured-news .wp-block-post-template > li .wp-block-post-excerpt__more-link:after, .wp-block-style-news .wp-block-post-template > li .wp-block-post-excerpt__more-link:after, .wp-block-most-popular-news .wp-block-post-template > li .wp-block-post-excerpt__more-link:after { transform: rotate(225deg); margin-left: 0; margin-right: 5px; } .wp-block-section .wp-block-post-date:before { margin-right: 0; margin-left: 5px; } .wp-block-widget-area ul, ul.wp-block-archives, ul.wp-block-categories, .wp-block-archives ul, .wp-block-categories ul { padding-left: 0; padding-right: 20px; } .is-style-post-author-card.wp-block-post-author .wp-block-post-author__content { padding-left: 0; padding-right: 10px; } .post-navigation-link-previous a svg.icon { transform: rotate(180deg); } .post-navigation-link-next a svg.icon { transform: rotate(-180deg); } .post-navigation-link-next.has-text-align-right.wp-block-post-navigation-link { text-align: left; } /* --- > Media Quries -------------------------------------------------------- */ /* --- > 360px -------------------------------------------------------- */ @media screen and (min-width: 22.5em) {} /* --- > 600px -------------------------------------------------------- */ @media screen and (min-width: 37.5em) { .wp-block-section.wp-block-style-news .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li { float: right; } .wp-block-section.wp-block-style-news .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li:nth-child(2n) { clear: right; } .wp-block-lifestyle-news .wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li:not(:first-child):not(:last-child) { padding-left: calc(1.25 * var(--wp--style--block-gap)); padding-right: 0; } .wp-block-lifestyle-news .wp-block-post-template > li:not(:last-child):not(:first-child):not(:nth-child(2n + 1)) { border-left: 1px solid var(--wp--preset--color--border-color); border-right: 0; } .wp-block-footer .wp-block-site-info .wp-block-social-links .wp-block-social-link:last-child .wp-block-social-link-anchor { margin-left: -10px; margin-right: 0; } } /* --- > 601px -------------------------------------------------------- */ @media screen and (min-width: 37.5625em) {} /* --- > 768px -------------------------------------------------------- */ @media screen and (min-width: 48em) { .wp-block-section.wp-block-featured-news .wp-block-post-template > li { float: right; margin-left: 0; margin-right: 30px; } .wp-block-section.wp-block-featured-news .wp-block-post-template > li:nth-child(4n) { clear: right; } .wp-block-section.wp-block-featured-news .wp-block-post-template > li:first-child { border-left: 1px solid var(--wp--preset--color--border-color); border-right: 0; margin-right: 0; padding-left: 30px; padding-right: 0; } .wp-block-section.wp-block-most-popular-news .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li:after { left: -30px; right: auto; } } /* --- > 782px -------------------------------------------------------- */ @media screen and (min-width: 48.875em) { .wp-block-main-header .wp-block-fse-pro-header-search .search-container, .wp-block-main-header .wp-block-fse-pro-header-social .social-container, .editor-styles-wrapper .wp-block-main-header .wp-block-fse-pro-header-search .search-container, .editor-styles-wrapper .wp-block-main-header .wp-block-fse-pro-header-social .social-container, .topbar-wrapper .wp-block-fse-pro-header-search .search-container, .topbar-wrapper .wp-block-fse-pro-header-social .social-container { right: auto; left: 0; } .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child), .wp-block-section.wp-block-categoriwise-news .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) { margin-left: 0; margin-right: calc(1.25 * var(--wp--style--block-gap, 2em)); } .wp-block-section.wp-block-newsletter .newsletter-inner-wrap .site-newsletter-wrapper { padding-left: 0; padding-right: 10%; } .wp-block-feature-content .wp-block-group-content .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child), .wp-block-featured-video .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child), .wp-block-newsletter .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) { margin-right: 0; } .wp-block-footer .wp-block-widget:not(:first-child) { border-left: 0; border-right: 1px solid var(--wp--preset--color--ironside-grey); padding-left: 0; padding-right: calc(1.25 * var(--wp--style--block-gap, 2em)); } } /* --- > 1024px -------------------------------------------------------- */ @media screen and (min-width: 64em) { .content > .video-play > span { padding-right: 14px; } .current-date-wrapper + .trending-wrapper { border-left: 0; border-right: 1px solid; padding-left: 0; padding-right: 24px; } .wp-block-section.wp-block-style-news .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li:nth-child(2) { float: right; clear: none; } .wp-block-section.wp-block-style-news .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li:nth-child(2n) { clear: none; } .wp-block-lifestyle-news .wp-block-post-template > li:nth-child(2n + 1):not(:last-child):not(:first-child) { border-left: 1px solid var(--wp--preset--color--border-color); border-right: 0; } .wp-block-lifestyle-news .wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li:nth-child(4n+1) { border-left: 0; padding-left: 0 !important; } } /* --- > 1200px -------------------------------------------------------- */ @media screen and (min-width: 75em) { .wp-block-main-header.wp-block-main-header-logo-center .wp-block-navigation .wp-block-navigation-item:not(:last-child):after { left: -12px; right: auto; } header .wp-block-main-header.wp-block-main-header-logo-center .wp-block-navigation .wp-block-navigation__submenu-icon { margin-left: auto; margin-right: -12px; } } /* --- > 1366px -------------------------------------------------------- */ @media screen and (min-width: 85.375em) { .wp-block-section.wp-block-featured-news .wp-block-post-template > li:first-child { padding-left: 40px; } .wp-block-section.wp-block-featured-news .wp-block-post-template > li { margin-right: 40px; } .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child), .wp-block-section.wp-block-categoriwise-news .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:first-child) { margin-left: 0; margin-right: calc(1.666666666666667 * var(--wp--style--block-gap, 2em)); } .wp-block-section.wp-block-most-popular-news .wp-block-post-template.is-flex-container.is-flex-container.columns-3 > li:after { left: -40px; } .wp-block-section.wp-block-newsletter .newsletter-inner-wrap .site-newsletter-wrapper { padding-right: 20%; } .wp-block-lifestyle-news .wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li:not(:first-child):not(:last-child) { padding-left: calc(1.666666 * var(--wp--style--block-gap)); } .wp-block-lifestyle-news .wp-block-post-template.is-flex-container.is-flex-container.columns-4 > li:not(:first-child):not(:last-child) { padding-right: calc(1.666666 * var(--wp--style--block-gap)); } } /* --- > 1600px -------------------------------------------------------- */ @media screen and (min-width: 100em) { .editor-styles-wrapper .social-inside-slider, .social-inside-slider { left: auto; right: 28px; } .is-style-post-author-card.wp-block-post-author .wp-block-post-author__content { padding-right: 21px; padding-left: 0; } } /* --- > 1920px -------------------------------------------------------- */ @media screen and (min-width: 120em) { .editor-styles-wrapper .social-inside-slider, .social-inside-slider { left: auto; right: 63px; } }