|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- /*
- Theme Name: Twenty Seventeen
-
- Adding support for languages written in a Right To Left (RTL) direction is easy,
- it's just a matter of overwriting all the horizontal positioning attributes
- of your CSS stylesheet in a separate stylesheet file named rtl.css.
-
- https://codex.wordpress.org/Right-to-Left_Language_Support
-
- */
-
- /* Reset */
-
- body {
- direction: rtl;
- unicode-bidi: embed;
- }
-
- th {
- text-align: right;
- }
-
- /* Accessibility */
-
- .screen-reader-text:focus {
- left: auto;
- right: 5px;
- }
-
- /* Typography */
-
- textarea {
- padding-right: 3px;
- }
-
- li > ul,
- li > ol {
- margin-left: 0;
- margin-right: 1.5em;
- }
-
- th:first-child,
- td:first-child {
- padding-left: 0.4em;
- padding-right: 0;
- }
-
- th:last-child,
- td:last-child {
- padding-left: 0;
- padding-right: 0.4em;
- }
-
- /* Forms */
-
- input[type="radio"],
- input[type="checkbox"] {
- margin-left: 0.5em;
- margin-right: 0;
- }
-
- /* Media */
-
- .mejs-offscreen {
- right: -10000px;
- }
-
- /* Site Branding */
-
- .custom-logo-link {
- padding-left: 1em;
- padding-right: 0;
- }
-
- /* Main Navigation */
-
- .main-navigation ul {
- text-align: right;
- }
-
- .main-navigation ul ul {
- padding-left: 0;
- padding-right: 1.5em;
- }
-
- .menu-toggle .icon {
- margin-left: 0.5em;
- margin-right: 0;
- }
-
- .dropdown-toggle {
- left: -0.5em;
- right: auto;
- }
-
- /* Front Page */
-
- .wp-custom-header-video-button {
- left: 30px;
- right: auto;
- }
-
- .twentyseventeen-panel .recent-posts .entry-header .edit-link {
- margin-left: 0;
- margin-right: 1em;
- }
-
- /* Blog, Archive, Search */
-
- .blog .entry-meta a.post-edit-link,
- .archive .entry-meta a.post-edit-link,
- .search .entry-meta a.post-edit-link {
- margin-left: 0;
- margin-right: 1em;
- }
-
- .search .page .entry-meta a.post-edit-link {
- margin-right: 0;
- }
-
- .sticky .icon-thumb-tack {
- left: auto;
- right: -1.5em;
- }
-
- .prev.page-numbers .icon,
- .next.page-numbers .icon {
- display: inline-block;
- -ms-transform: rotate(180deg); /* IE 9 */
- -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
- transform: rotate(180deg);
- }
-
- .prev.page-numbers {
- float: right;
- }
-
- .next.page-numbers {
- float: left;
- }
-
- .nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
- margin-left: 0.5em;
- margin-right: 0;
- }
-
- .nav-links .nav-next .nav-title .nav-title-icon-wrapper {
- margin-left: 0;
- margin-right: 0.5em;
- }
-
- /* Blog Entries */
-
- .entry-footer .cat-links,
- .entry-footer .tags-links {
- padding-left: 0;
- padding-right: 2.5em;
- }
-
- .entry-footer .cat-links .icon,
- .entry-footer .tags-links .icon {
- left: auto;
- margin-left: 0.5em;
- margin-right: 0;
- right: 0;
- }
-
- /* Comments */
-
- .comment-body {
- margin-left: 0;
- margin-right: 65px;
- }
-
- .comment-reply-link .icon {
- left: auto;
- right: -2em;
- -webkit-transform: scale(-1, 1);
- -ms-transform: scale(-1, 1);
- transform: scale(-1, 1);
- }
-
- .comment-author .avatar {
- left: auto;
- right: -65px;
- }
-
- .comment-reply-link:before {
- left: auto;
- right: -2em;
- }
-
- .children .comment-author .avatar {
- left: auto;
- right: -45px;
- }
-
- .form-submit {
- text-align: left;
- }
-
- /* Post Formats */
-
- .format-quote blockquote .icon {
- left: auto;
- right: -1.25em;
- -webkit-transform: none;
- -ms-transform: none;
- transform: none;
- }
-
- /* Post Navigation */
-
- .nav-links .nav-previous .nav-title .nav-title-icon-wrapper,
- .nav-links .nav-next .nav-title .nav-title-icon-wrapper {
- display: inline-block;
- -ms-transform: rotate(180deg); /* IE 9 */
- -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
- transform: rotate(180deg);
- }
-
- /* Widgets */
-
- .widget ul {
- margin: 0;
- }
-
- .search-form .search-submit {
- left: 3px;
- right: auto;
- }
-
- .widget .tagcloud a,
- .widget.widget_tag_cloud a,
- .wp_widget_tag_cloud a {
- float: right;
- margin: 4px 0 0 4px !important; /* !important to override inline styles */
- }
-
- .widget ul li li {
- padding-left: 0;
- padding-right: 1.5rem;
- }
-
- /* Footer */
-
- .social-navigation a {
- margin-left: 1em;
- margin-right: 0;
- }
-
- /* Customizer styles */
-
- .twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel .twentyseventeen-panel-title {
- left: 3.2em;
- right: auto;
- }
-
- /* Gallery Styles */
-
- .gallery-item,
- .gallery-caption {
- text-align: right;
- }
-
- /* SVG Fallback */
-
- .no-svg .dropdown-toggle {
- left: 0;
- right: auto;
- }
-
- /* Media queries */
-
- @media screen and (min-width: 48em) {
-
- body.page-template-full-width-page #primary {
- float: none;
- }
-
- .has-sidebar:not(.error404) #primary {
- float: right;
- }
-
- .has-sidebar #secondary {
- float: left;
- }
-
- .error404 #primary {
- float: none;
- }
-
- /* Site Branding */
-
- .custom-logo-link {
- padding-left: 2em;
- padding-right: 0;
- }
-
- /* Navigation */
-
- .main-navigation ul ul {
- padding-right: 0;
- }
-
- .main-navigation ul ul:before,
- .main-navigation ul ul:after {
- left: 0.5em;
- right: auto;
- }
-
- .main-navigation ul ul,
- .main-navigation ul ul ul {
- left: auto;
- right: -999em;
- }
-
- .main-navigation ul ul li:hover > ul,
- .main-navigation ul ul li.focus > ul {
- left: auto;
- right: 100%;
- }
-
- .main-navigation ul li:hover > ul,
- .main-navigation ul li.focus > ul {
- left: auto;
- right: 0.5em;
- }
-
- .main-navigation ul li.menu-item-has-children:before,
- .main-navigation ul li.menu-item-has-children:after,
- .main-navigation ul li.page_item_has_children:before,
- .main-navigation ul li.page_item_has_children:after {
- left: 1em;
- right: auto;
- }
-
- .main-navigation .menu-item-has-children > a > .icon,
- .main-navigation .page_item_has_children > a > .icon {
- left: auto;
- right: 5px;
- }
-
- .main-navigation ul ul .menu-item-has-children > a > .icon,
- .main-navigation ul ul .page_item_has_children > a > .icon {
- left: 1em;
- right: auto;
- -webkit-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- transform: rotate(90deg);
- }
-
- /* Scroll down arrow */
-
- .navigation-top .menu-scroll-down {
- left: 0;
- right: auto;
- }
-
- .site-header .menu-scroll-down {
- left: 0;
- right: auto;
- }
-
- .entry-title a {
- margin-left: auto;
- margin-right: -2px;
- }
-
- /* Front Page */
-
- .page-two-column .panel-content .entry-header {
- float: right;
- }
-
- .page-two-column .panel-content .entry-content {
- float: left;
- }
-
- /* Front Page - Recent Posts */
-
- .page-two-column .panel-content .recent-posts {
- clear: left;
- float: left;
- }
-
- /* Blog, Archive, Search */
-
- .sticky .icon-thumb-tack {
- left: auto;
- right: -2.5em;
- }
-
- body:not(.has-sidebar):not(.page-one-column) .page-header,
- body.has-sidebar.error404 #primary .page-header,
- body.page-two-column:not(.archive) #primary .entry-header,
- body.page-two-column.archive:not(.has-sidebar) #primary .page-header {
- float: right;
- }
-
- .blog:not(.has-sidebar) #primary article,
- .archive:not(.has-sidebar):not(.page-one-column) #primary article,
- .search:not(.has-sidebar) #primary article,
- .has-sidebar.error404 #primary .page-content,
- .error404.has-sidebar #primary .page-content,
- body.page-two-column:not(.archive) #primary .entry-content,
- body.page-two-column #comments {
- float: left;
- }
-
- .entry-footer .edit-link a.post-edit-link {
- margin-left: 0;
- margin-right: 1em;
- }
-
- /* Entry content */
-
- /* with sidebar */
-
- .has-sidebar .entry-content blockquote.alignleft {
- margin-left: 0;
- width: 34%;
- }
-
- .has-sidebar #primary .entry-content blockquote.alignright,
- .has-sidebar #primary .entry-content blockquote.alignright.below-entry-meta {
- margin-right: 0;
- width: 34%;
- }
-
- .has-sidebar #primary .entry-content blockquote.alignleft.below-entry-meta {
- margin-left: -72.5%;
- width: 62%;
- }
-
- /* blog index and archive */
-
- .blog:not(.has-sidebar) .entry-content blockquote.alignleft,
- .twentyseventeen-front-page.page-two-column .entry-content blockquote.alignleft,
- .archive:not(.has-sidebar) .entry-content blockquote.alignleft,
- .page-two-column .entry-content blockquote.alignleft {
- margin-left: 0;
- width: 34%;
- }
-
- .blog:not(.has-sidebar) .entry-content blockquote.alignright,
- .twentyseventeen-front-page.page-two-column #primary .entry-content blockquote.alignright,
- .archive:not(.has-sidebar) .entry-content blockquote.alignright,
- .page-two-column #primary .entry-content blockquote.alignright {
- margin-right: -72.5%;
- width: 62%;
- }
-
- /* Post formats */
-
- .format-quote blockquote .icon {
- left: auto;
- right: -1.5em;
- }
-
- .navigation.pagination {
- float: left;
- }
-
- .has-sidebar .navigation.pagination,
- .archive.page-one-column:not(.has-sidebar) .navigation.pagination {
- float: none;
- }
-
- .post-navigation .nav-previous {
- float: right;
- }
-
- .post-navigation .nav-next {
- float: left;
- text-align: left;
- }
-
- /* Comments */
-
- ol.children .children {
- padding-left: 0;
- padding-right: 2em;
- }
-
- /* Post Navigation */
-
- .nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
- left: auto;
- right: -2em;
- }
-
- .nav-links .nav-next .nav-title .nav-title-icon-wrapper {
- left: -2em;
- right: auto;
- }
-
- /* Footer */
-
- .site-footer .widget-column.footer-widget-1 {
- float: right;
- }
-
- .site-footer .widget-column.footer-widget-2 {
- float: left;
- }
-
- .social-navigation {
- clear: right;
- float: right;
- }
-
- .site-info {
- float: right;
- }
-
- .social-navigation + .site-info {
- margin-left: 0;
- margin-right: 6%;
- }
- }
-
- @media screen and (min-width: 67em) {
-
- /* Sticky posts */
-
- .sticky .icon-thumb-tack {
- left: auto;
- right: -1.25em;
- }
- }
-
- @media screen and (min-width: 79em) {
-
- .has-sidebar #primary .entry-content blockquote.alignright,
- .has-sidebar #primary .entry-content blockquote.alignright.below-entry-meta {
- margin-right: -20%;
- }
-
- .blog:not(.has-sidebar) .entry-content blockquote.alignleft,
- .archive:not(.has-sidebar) .entry-content blockquote.alignleft,
- .page-two-column .entry-content blockquote.alignleft,
- .twentyseventeen-front-page .entry-content blockquote.alignleft {
- margin-left: -20%;
- }
- }
|