123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781 |
- /*
- Theme Name: Dyad
- Adding support for language 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.
- http://codex.wordpress.org/Right_to_Left_Language_Support
- */
- /*--------------------------------------------------------------
- >>> TABLE OF CONTENTS:
- ----------------------------------------------------------------
- # Elements
- # Heading
- # Navigation
- # Site Banner
- # Content
- ## Index, Archive, Search
- ## 404 Error Pages
- ## Single Posts, Single Pages
- ## Comments
- # Infinite scroll, posts navigation
- # Site Footer
- ## Widgets
- ## Social Media Nav
- # Media Queries
- # WP.com specific styles
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- # Elements
- --------------------------------------------------------------*/
- body {
- direction: rtl;
- unicode-bidi: embed;
- }
- blockquote {
- border-left: 0;
- border-right: 3px solid #ddd;
- margin-left: 0;
- margin-right: 1.5em;
- padding-left: 0;
- padding-right: 1.5em;
- }
- blockquote blockquote {
- margin-right: 0;
- }
- /**
- * Lists
- */
- ul,
- ol {
- margin-left: 0;
- margin-right: 3em;
- }
- li > ul,
- li > ol {
- margin-left: 0;
- margin-right: 1.5em;
- }
- /**
- * Tables
- */
- th,
- tfoot td {
- text-align: right;
- }
- pre:before {
- left: 0;
- right: auto;
- }
- /*--------------------------------------------------------------
- # Heading
- --------------------------------------------------------------*/
- .site-header {
- left: 0;
- right: auto;
- }
- /**
- # Site Branding - Logo
- */
- .site-branding .site-logo-link {
- padding-left: 0.5em;
- padding-right: auto;
- }
- /*--------------------------------------------------------------
- # Navigation
- --------------------------------------------------------------*/
- #site-navigation {
- text-align: left;
- }
- #site-navigation ul li {
- margin-left: 0;
- margin-right: 1.5em;
- }
- #site-navigation ul ul {
- left: auto;
- right: -9999em;
- }
- #site-navigation ul ul:before {
- left: auto;
- margin-left: 0;
- margin-right: -10px;
- right: 50%;
- }
- #site-navigation ul ul ul:before {
- border-width: 8px 8px 8px 0;
- border-color: transparent #292c2f transparent transparent;
- left: 0;
- margin-left: 0;
- margin-right: 0;
- right: auto;
- }
- #site-navigation ul ul li {
- margin-right: 0;
- text-align: right;
- }
- #site-navigation ul li:hover > ul,
- #site-navigation ul li.focus > ul {
- left: auto;
- margin-left: 0;
- margin-right: -110px;
- right: 50%;
- }
- #site-navigation ul ul li:hover > ul,
- #site-navigation ul ul li.focus > ul {
- left: 100%;
- right: auto;
- margin: 0;
- }
- #site-navigation ul ul ul {
- padding-left: 8px;
- padding-right: 0;
- }
- /*--------------------------------------------------------------
- # Site Banner
- --------------------------------------------------------------*/
- #site-banner {
- direction: ltr;
- }
- /*--------------------------------------------------------------
- # Content
- --------------------------------------------------------------*/
- /*--------------------------------------------------------------
- ## Index, Archive, Search
- --------------------------------------------------------------*/
- /* Grid of posts */
- .posts .hentry {
- float: right;
- }
- /* Content */
- .posts .entry-inner:before,
- .posts .entry-inner:after {
- left: auto;
- margin-left: 0;
- margin-right: -25px;
- right: 0;
- }
- .posts .entry-inner-content {
- left: 0;
- right: auto;
- text-align: right;
- }
- .too-short .link-more:before {
- left: auto;
- right: 0;
- }
- .posts .has-post-thumbnail .edit-link {
- left: 0;
- right: auto;
- }
- /* Posts without featured image */
- .posts .hentry:not(.has-post-thumbnail) .entry-inner:after,
- .posts .hentry:not(.has-post-thumbnail) .entry-inner:before {
- left: 50%;
- margin-left: -20px;
- margin-right: 0;
- right: auto;
- }
- /*--------------------------------------------------------------
- ## 404 Error Pages
- --------------------------------------------------------------*/
- .error404 .search-form .search-field,
- .posts .no-results .search-form .search-field {
- text-align: right;
- }
- /*--------------------------------------------------------------
- ## Single Posts, Single Pages
- --------------------------------------------------------------*/
- /* site inner */
- .is-singular:not(.home) .site-inner {
- float: left;
- }
- .is-singular:not(.home):not(.has-post-thumbnail) .site-inner,
- .single-format-image .site-inner,
- .single-format-image.has-post-thumbnail .site-inner {
- float: none;
- }
- /* entry inner - separator */
- .is-singular .entry-inner:after,
- .is-singular .entry-inner:before,
- .error404 .entry-inner:after,
- .error404 .entry-inner:before {
- left: auto;
- right: 50%;
- }
- .is-singular .entry-inner:after,
- .error404 .entry-inner:after {
- margin: -18px -18px 0 0;
- }
- .is-singular .entry-inner:before,
- .error404 .entry-inner:before {
- margin: -18px -18px 0 0;
- }
- /* entry header */
- .has-post-thumbnail.is-singular:not(.home):not(.single-format-image):not(.page-template-eventbrite-index) .entry-header {
- left: auto;
- right: 0;
- text-align: right;
- }
- .is-singular.single-format-image .entry-header,
- .is-singular.single-format-image.has-post-thumbnail .entry-header {
- text-align: center;
- }
- .is-singular.has-post-thumbnail:not(.single-format-image) .entry-posted .posted-info {
- float: right;
- }
- .is-singular.has-post-thumbnail:not(.single-format-image) .entry-posted .edit-link {
- float: left;
- }
- .is-singular.single-format-image.has-post-thumbnail .entry-posted .posted-info,
- .is-singular.single-format-image.has-post-thumbnail .entry-posted .edit-link {
- float: none;
- }
- /* entry content */
- .tags-links a {
- margin: 0 0 0.5em 0.5em;
- }
- .tags-links a:last-of-type {
- margin-left: 0;
- }
- /* entry media */
- .is-singular .entry-media {
- left: auto;
- right: 0;
- }
- /*--------------------------------------------------------------
- ## Comments
- --------------------------------------------------------------*/
- /* comments area */
- .comments-title .add-comment-link {
- float: left;
- }
- .comment-author {
- position: relative;
- }
- .comment-author .avatar-container {
- left: auto;
- right: -100px;
- }
- .bypostauthor .comment-author:before {
- left: auto;
- right: -100px;
- }
- ol.children .bypostauthor .comment-author:before {
- left: auto;
- right: -80px;
- }
- .comment-body {
- margin-left: 0;
- margin-right: 100px;
- }
- .comment .reply {
- left: 0;
- right: auto;
- }
- .comment .reply:before {
- margin-left: 3px;
- margin-right: 0;
- }
- /* */
- ol.comment-list ol.children {
- padding-left: 0;
- padding-right: 50px;
- }
- ol.comment-list ol.children .comment-author .avatar-container {
- left: 0;
- right: -80px;
- }
- ol.comment-list ol.children .comment-body {
- margin-left: 0;
- margin-right: 80px;
- }
- /**
- * Comments pagination
- */
- .comment-navigation .nav-previous {
- float: right;
- }
- .comment-navigation .nav-next {
- float: left;
- }
- /*--------------------------------------------------------------
- ## Site Footer
- --------------------------------------------------------------*/
- .widget-area .widget {
- float: right;
- }
- /*
- * Infinite Footer
- */
- #infinite-footer .container {
- float: left;
- }
- .posts-navigation .nav-previous {
- float: right;
- }
- .posts-navigation .nav-next {
- float: left;
- }
- .footer-bottom-info.has-social-menu .site-info {
- float: right;
- }
- .footer-bottom-info.has-social-menu .social-links {
- float: left;
- }
- .is-singular.has-post-thumbnail .footer-bottom-info.has-social-menu .site-info,
- .is-singular.has-post-thumbnail .footer-bottom-info.has-social-menu .social-links {
- float: none;
- }
- /*--------------------------------------------------------------
- ## Widgets
- --------------------------------------------------------------*/
- .widget {
- text-align: right;
- }
- .widget-title {
- text-align: right;
- }
- .widget ul li li {
- padding-left: 0;
- padding-right: 1.5em;
- }
- /**
- * Tag cloud widget
- */
- .widget .tagcloud a,
- .widget.widget_tag_cloud a {
- float: right;
- margin: 2px 0 0 2px;
- }
- /* Calendar */
- .widget_calendar caption {
- text-align: right;
- }
- /*--------------------------------------------------------------
- ## Media Queries
- --------------------------------------------------------------*/
- @media screen and (min-width: 1601px) {
- /*
- Index, Archive, Search - post grid
- */
- .posts .entry-media {
- float: right;
- }
- .posts .hentry:nth-of-type(6n+4).has-post-thumbnail .entry-media,
- .posts .hentry:nth-of-type(6n+5).has-post-thumbnail .entry-media,
- .posts .hentry:nth-of-type(6n+6).has-post-thumbnail .entry-media {
- float: left;
- }
- .posts .entry-inner {
- left: 0;
- right: auto;
- }
- .posts .hentry:nth-of-type(6n+4).has-post-thumbnail .entry-inner,
- .posts .hentry:nth-of-type(6n+5).has-post-thumbnail .entry-inner,
- .posts .hentry:nth-of-type(6n+6).has-post-thumbnail .entry-inner,
- .posts .hentry.has-post-thumbnail:nth-of-type(6n+4) .edit-link,
- .posts .hentry.has-post-thumbnail:nth-of-type(6n+5) .edit-link,
- .posts .hentry.has-post-thumbnail:nth-of-type(6n+6) .edit-link {
- left: auto;
- right: 0;
- }
- .posts .hentry:nth-of-type(6n+4).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-of-type(6n+5).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-of-type(6n+6).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-of-type(6n+4).has-post-thumbnail .entry-inner:before,
- .posts .hentry:nth-of-type(6n+5).has-post-thumbnail .entry-inner:before,
- .posts .hentry:nth-of-type(6n+6).has-post-thumbnail .entry-inner:before {
- left: 0;
- margin-left: -25px;
- margin-right: 0;
- right: auto;
- }
- }
- @media only screen and (max-width: 1600px) {
- /*
- Index, Archive, Search - post grid
- */
- .posts .entry-media {
- float: right;
- }
- .posts .hentry:nth-of-type(4n+3) .entry-media,
- .posts .hentry:nth-of-type(4n+4) .entry-media {
- float: left;
- }
- .posts .entry-inner {
- left: 0;
- right: auto;
- }
- .posts .hentry:nth-of-type(4n+3) .entry-inner,
- .posts .hentry:nth-of-type(4n+4) .entry-inner,
- .posts .hentry:nth-of-type(4n+3) .edit-link,
- .posts .hentry:nth-of-type(4n+4) .edit-link {
- left: auto;
- right: 0;
- }
- .posts .hentry:nth-of-type(4n+3).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-of-type(4n+4).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-of-type(4n+3).has-post-thumbnail .entry-inner:before,
- .posts .hentry:nth-of-type(4n+4).has-post-thumbnail .entry-inner:before {
- left: 0;
- margin-left: -25px;
- margin-right: 0;
- right: auto;
- }
- }
- @media only screen and (max-width: 1200px) {
- /*
- * Index, Archive, Search
- */
- .posts .hentry {
- float: none;
- }
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:before {
- left: auto;
- right: 0;
- }
- .posts .hentry:nth-child(odd) .entry-media {
- float: right;
- }
- .posts .hentry:nth-child(even) .entry-media {
- float: left;
- }
- .posts .hentry:nth-child(odd) .entry-inner,
- .posts .hentry:nth-child(odd) .edit-link,
- .posts .hentry:nth-child(even).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(even).has-post-thumbnail .entry-inner:before {
- left: 0;
- right: auto;
- }
- .posts .hentry:nth-child(even).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(even).has-post-thumbnail .entry-inner:before {
- margin-left: -25px;
- margin-right: 0;
- }
- .posts .hentry:nth-child(even) .entry-inner,
- .posts .hentry:nth-child(even) .edit-link,
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:before {
- left: auto;
- right: 0;
- }
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:before {
- margin-left: 0;
- margin-right: -25px;
- }
- /* entry header */
- .is-singular .entry-header,
- .has-post-thumbnail.is-singular:not(.home) .entry-header,
- .page.has-post-thumbnail.is-singular:not(.home) .entry-header,
- .has-post-thumbnail.is-singular:not(.home):not(.single-format-image) .entry-header {
- text-align: center;
- }
- .is-singular.has-post-thumbnail:not(.single-format-image) .entry-posted .posted-info,
- .is-singular.has-post-thumbnail:not(.single-format-image) .entry-posted .edit-link {
- float: none;
- }
- .footer-bottom-info.has-social-menu .site-info,
- .footer-bottom-info.has-social-menu .social-links {
- float: none;
- }
- }
- @media only screen and (max-width: 960px) {
- .site-branding {
- float: none;
- }
- /* Menu */
- .menu-toggle {
- left: 2rem;
- right: auto;
- }
- #site-navigation {
- text-align: right;
- }
- #site-navigation ul li {
- margin-right: 0;
- }
- #site-navigation ul ul {
- margin: 0 2rem 0 0 !important;
- }
- #site-navigation ul ul ul {
- padding-right: 0;
- }
- /* entry media */
- .is-singular .entry-media,
- .is-singular:not(.home) .entry-media {
- left: auto;
- }
- }
- @media only screen and (max-width: 680px) {
- /* elements */
- .menu-toggle {
- right: auto;
- }
- .posts .hentry:nth-child(even) .entry-media,
- .posts .hentry:nth-child(odd) .entry-media {
- float: none;
- }
- .posts .hentry:nth-child(even).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(even).has-post-thumbnail .entry-inner:before,
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:after,
- .posts .hentry:nth-child(odd).has-post-thumbnail .entry-inner:before {
- left: auto;
- right: 50%;
- }
- .posts .hentry .entry-media,
- .posts .hentry .entry-inner,
- .entry-inner-content {
- float: none;
- }
- .posts .entry-media .post-thumbnail {
- left: auto;
- right: 0;
- }
- /* Single Posts */
- .is-singular .entry-inner:after,
- .error404 .entry-inner:after {
- margin: -15px -15px 0 0;
- }
- .is-singular .entry-inner:before,
- .error404 .entry-inner:before {
- margin: -15px -15px 0 0;
- }
- /* Comments */
- ol.comment-list ol.children {
- padding-left: 0;
- padding-right: 40px;
- }
- ol.comment-list ol.children ol {
- padding-right: 0;
- }
- /* Widgets */
- .widget-area .widget,
- .widget-area.widgets-two .widget,
- .widget-area.widgets-three .widget,
- .is-singular:not(.home) .widget-area .widget,
- .has-post-thumbnail.is-singular:not(.home) .widget-area .widget,
- .has-post-thumbnail.is-singular:not(.home) .widget-area.widgets-three .widget,
- .has-post-thumbnail.is-singular.single-format-image .widget-area .widget,
- .has-post-thumbnail.is-singular.single-format-image .widget-area .widget,
- .is-singular.single-format-image .widget-area .widget,
- .is-singular.single-format-image .widget-area .widget {
- float: none;
- }
- }
- @media only screen and (max-width: 400px) {
- /* Menu Toggle */
- .menu-toggle {
- left: auto;
- }
- /* Posts */
- .posts-navigation div:nth-of-type(2) {
- margin-top: 10px;
- }
- .posts-navigation .nav-next,
- .posts-navigation .nav-previous {
- float: none;
- }
- .comment-body,
- ol.comment-list ol.children .comment-body {
- margin-right: 0;
- }
- }
- /*--------------------------------------------------------------
- # WP.com specific styles
- --------------------------------------------------------------*/
- /**
- * Widgets
- */
- /* Author Widget */
- .widget-area .widget_author_grid ul li {
- float: right !important;
- }
- .widget_authors img.avatar {
- margin-left: 10px;
- margin-right: 0;
- }
- .widget_authors ul ul {
- clear: right;
- }
- .widget_authors ul li li {
- padding-right: 0;
- }
- /* Calendar */
- .widget_calendar tr td#next {
- text-align: left;
- }
- .widget_calendar tr td#prev {
- text-align: right;
- }
- /* Flickr Widget */
- .widget_flickr table,
- .widget_flickr td {
- text-align: right;
- }
|