123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716 |
- /*
- * Theme Name: rebalance
- *
- * 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 */
- /*--------------------------------------------------------------*/
- /*----------------------------------------------------------------
- # Normalize
- ## Typography
- ## Elements
- ## Links
- ## Forms
- # Theme Globals
- # Layout
- # Accessibility
- # Alignments
- # Clearings
- # Header
- # Navigation
- ## Toggle Navigation
- ## Main Navigation
- ## Social Navigation
- # Widgets
- # Content
- ## Featured Project
- ## Posts and Pages
- ## Author Meta
- ## Single Post
- ## Single Jetpack Portfolio
- ## Page
- ## Archive
- ## Masonry
- ## Infinite scroll
- ## 404 Error
- ## Asides
- # Media
- ## Captions
- ## Galleries
- # Pagination
- # Comments
- ## Comments Respond
- ## Widgets
- ## Secondary
- # Footer
- # Extras
- ----------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Normalize */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Typography */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Elements */
- /*--------------------------------------------------------------*/
- ul,
- ol {
- margin: 0 2em 1.5em 0;
- }
- li > ul,
- li > ol {
- margin-left: 0;
- margin-right: 1.5em;
- }
- /*--------------------------------------------------------------*/
- /* !## Links */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Forms */
- /*--------------------------------------------------------------*/
- textarea {
- padding-left: inherit;
- padding-right: 3px;
- }
- /*--------------------------------------------------------------*/
- /* !# Theme Globals */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Layout */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Accessibility */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Alignments */
- /*--------------------------------------------------------------*/
- .alignleft {
- float: right;
- margin-left: 1.5em;
- margin-right: inherit;
- }
- .alignright {
- float: left;
- margin-left: inherit;
- margin-right: 1.5em;
- }
- /*--------------------------------------------------------------*/
- /* !# Clearings */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Header */
- /*--------------------------------------------------------------*/
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- .site-branding {
- text-align: right;
- }
- .site-logo-link {
- margin-left: 20px;
- margin-right: inherit;
- }
- .site-description {
- float: right;
- text-align: right;
- }
- .main-navigation {
- float: left;
- clear: left;
- }
- }
- /*--------------------------------------------------------------*/
- /* !# Navigation */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Toggle Navigation */
- /*--------------------------------------------------------------*/
- .menu-toggle {
- text-align: right;
- }
- .menu-toggle:after {
- margin: 0 5px 0 0;
- }
- /*--------------------------------------------------------------*/
- /* !## Main Navigation */
- /*--------------------------------------------------------------*/
- .main-navigation .sub-menu,
- .main-navigation .children {
- padding-left: inherit;
- padding-right: 1.5em;
- }
- .main-navigation .sub-menu li:before,
- .main-navigation .children li:before {
- padding-left: inherit;
- padding-right: 8px;
- }
- .main-navigation ul > li li a {
- padding-left: inherit;
- padding-right: 26px;
- }
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- .header-menu-wrap {
- float: right;
- }
- .main-navigation {
- float: left;
- }
- .main-navigation div > ul {
- float: right;
- text-align: right;
- }
- .main-navigation .sub-menu,
- .main-navigation .children {
- padding-left: inherit;
- padding-right: 0;
- left: inherit;
- right: 0;
- }
- .main-navigation ul > li a {
- text-align: right;
- }
- .main-navigation .sub-menu a,
- .main-navigation .children a {
- padding-left: 8px;
- padding-right: 26px;
- }
- .main-navigation .sub-menu .sub-menu,
- .main-navigation .children .children {
- margin: -2px 0 -2px -2px;
- left: calc(100% + 2px);
- right: inherit;
- }
- .main-navigation .page_item_has_children > a:after,
- .main-navigation .menu-item-has-children > a:after {
- margin: 0 5px 0 0;
- }
- .main-navigation .sub-menu li.page_item_has_children:before,
- .main-navigation .sub-menu li.page_item_has_children:before,
- .main-navigation .sub-menu li.menu-item-has-children:before,
- .main-navigation .children li.menu-item-has-children:before {
- content: '\f105';
- margin-left: 5px;
- margin-right: inherit;
- }
- .main-navigation .page_item_has_children .page_item_has_children > a:after,
- .main-navigation .menu-item-has-children .menu-item-has-children > a:after {
- content: '\f107';
- float: left;
- margin: 0 0 0 5px;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Mobile Navigation */
- /*--------------------------------------------------------------*/
- @media screen and (max-width: 880px) {
- /*
- * Sub-menu dropdown buttons
- */
- .dropdown-toggle {
- right: inherit;
- left: 8px;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Social Navigation */
- /*--------------------------------------------------------------*/
- .social-navigation li {
- padding-left: inherit;
- padding-right: 5px;
- }
- /* Icons aren't shown in small screen layouts */
- @media screen and (min-width: 881px) {
- .social-menu-wrap {
- float: left;
- }
- .social-navigation {
- left: 0;
- right: inherit;
- }
- .social-navigation > * {
- text-align: left;
- }
- }
- /*--------------------------------------------------------------*/
- /* !# Content */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Featured Project */
- /*--------------------------------------------------------------*/
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- .site-feature .has-thumbnail .entry-header {
- left: inherit;
- right: 0;
- padding: 0 2em 2em 0;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Posts and Pages */
- /*--------------------------------------------------------------*/
- .entry-image .entry-image-caption span {
- margin-left: 10px;
- margin-right: inherit;
- }
- .entry-content blockquote,
- .comment-content blockquote {
- border-left: none;
- border-right: 6px solid #F35029;
- margin: 0 -40px 0 0;
- padding-left: inherit;
- padding-right: 40px;
- }
- .entry-content blockquote blockquote,
- .comment-content blockquote blockquote {
- margin-right: 0;
- }
- .entry-content q,
- .comment-content q {
- border-left: none;
- border-right: 6px solid #F35029;
- padding-left: inherit;
- padding-right: 20px;
- }
- .entry-content table th,
- .entry-content table tr,
- .entry-content table td,
- .comment-content th,
- .comment-content tr,
- .comment-content td {
- text-align: right;
- }
- /*--------------------------------------------------------------*/
- /* !## Author Meta */
- /*--------------------------------------------------------------*/
- .author-box {
- float: left;
- }
- .author-avatar {
- float: left;
- margin: 0 20px 20px 0;
- }
- .author-description {
- padding-left: 25%;
- padding-right: inherit;
- }
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- .author-box {
- float: left;
- }
- .author-avatar .avatar {
- left: calc(100% + 40px);
- right: inherit;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Single Post */
- /*--------------------------------------------------------------*/
- /* Large Screens */
- @media screen and (min-width: 881px) {
- .single .hentry .entry-header {
- float: left;
- }
- .single .hentry .entry-title {
- margin-left: inherit;
- margin-right: calc(33.333%);
- }
- .single .entry-header .entry-meta {
- margin-left: inherit;
- margin-right: calc(33.333%);
- }
- .single .hentry .entry-content {
- float: left;
- }
- .single .hentry .entry-footer {
- float: left;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Single Jetpack Portfolio */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Page */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Archive & Search */
- /*--------------------------------------------------------------*/
- /* Large Screens */
- @media screen and (min-width: 881px) {
- .archive .page-header,
- .search .page-header {
- text-align: right;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Masonry */
- /*--------------------------------------------------------------*/
- .js .infinite-scroll .card,
- .card {
- float: right;
- }
- /*--------------------------------------------------------------*/
- /* !## Infinite Scroll */
- /*--------------------------------------------------------------*/
- #infinite-handle span:before {
- display: none;
- }
- /*--------------------------------------------------------------*/
- /* !## 404 Error */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Asides */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Media */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !## Captions */
- /*--------------------------------------------------------------*/
- .wp-caption.alignleft {
- margin-left: 1.5em;
- margin-right: 0;
- }
- .wp-caption.alignright {
- margin-left: 0;
- margin-right: 1.5em;
- }
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- /* Only posts with non-floating/fullwidth images can have hanging captions */
- .post .wp-caption.aligncenter .wp-caption-text,
- .post .wp-caption.alignnone .wp-caption-text {
- text-align: left;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Galleries */
- /*--------------------------------------------------------------*/
- /*--------------------------------------------------------------*/
- /* !# Pagination */
- /*--------------------------------------------------------------*/
- .posts-navigation .nav-previous {
- float: right;
- }
- .posts-navigation .nav-next {
- float: left;
- }
- /* Responsive Navigation */
- @media screen and (min-width: 881px) {
- .site-main .post-navigation {
- text-align: left;
- }
- .site-main > .post-navigation .nav-next {
- float: left;
- padding-left: inherit;
- padding-right: 20px;
- text-align: right;
- }
- .site-main > .post-navigation .nav-previous {
- float: right;
- padding-left: 20px;
- padding-right: inherit;
- text-align: left;
- }
- .site-main .comment-navigation {
- float: left;
- }
- }
- /*--------------------------------------------------------------*/
- /* !# Comments */
- /*--------------------------------------------------------------*/
- .comment-list {
- float: left;
- margin-left: 0;
- padding-left: 0;
- margin-right: 0;
- padding-right: 0;
- width: 100%;
- }
- .comment .avatar {
- left: inherit;
- right: 0;
- }
- .comment .comment-author .fn {
- margin-left: inherit;
- margin-right: 70px;
- }
- .bypostauthor .fn:before {
- margin-left: 10px;
- margin-right: 0;
- }
- .comment .comment-metadata {
- float: right;
- margin-left: inherit;
- margin-right: 70px;
- text-align: right;
- }
- .comment .reply {
- text-align: left;
- }
- .comment .comment-reply-link:before {
- margin: 0 0 0 5px;
- }
- .comment .children {
- margin-left: 0;
- margin-right: 1.5em;
- }
- /* Responsive Comments */
- @media screen and (min-width: 881px) {
- .comments-area {
- padding: 50px 33.333% 50px 11.111%;
- }
- .comment .comment-author {
- float: right;
- margin-right: inherit;
- }
- .comment .comment-author .fn {
- margin-left: inherit;
- margin-right: 0;
- }
- .comment .comment-metadata {
- float: left;
- margin-left: inherit;
- margin-right: 0;
- text-align: left;
- }
- .comment .avatar {
- margin-left: 0;
- margin-right: inherit;
- left: calc(100% + 40px);
- right: inherit;
- }
- .comment .comment-content {
- margin-left: inherit;
- margin-right: 0;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Comment Respond */
- /*--------------------------------------------------------------*/
- .comment-respond p label {
- text-align: right;
- }
- .comment-respond p.form-submit {
- text-align: left;
- }
- .comment .comment-reply-title small {
- left: 0;
- right: inherit;
- }
- .comment .comment-reply-title a:before {
- margin: 0 0 0 5px;
- }
- /* Responsive Comments */
- @media screen and (min-width: 881px) {
- .comment-respond p label {
- left: calc(100% + 40px);
- right: inherit;
- text-align: left;
- }
- .comment .comment-respond p.form-submit {
- padding-left: inherit;
- padding-right: 50%;
- }
- }
- /*--------------------------------------------------------------*/
- /* !# Widgets */
- /*--------------------------------------------------------------*/
- .widget_calendar {
- text-align: right;
- }
- .widget_calendar caption {
- text-align: right;
- }
- .widget_calendar table th,
- .widget_calendar table tr,
- .widget_calendar table td {
- text-align: right;
- }
- .widget_calendar #next {
- text-align: left;
- }
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- .widget,
- .widget:nth-child(2n) {
- margin: 0 30px 60px 0;
- }
- }
- /*--------------------------------------------------------------*/
- /* !## Secondary */
- /*--------------------------------------------------------------*/
- /* Large Screen Styles */
- @media screen and (min-width: 881px) {
- #secondary {
- float: left;
- }
- }
- /*--------------------------------------------------------------*/
- /* !# Footer */
- /*--------------------------------------------------------------*/
- .site-footer {
- clear: right;
- }
- /*--------------------------------------------------------------*/
- /* !# Extras */
- /*--------------------------------------------------------------*/
- .sd-social-official .sd-content ul>li {
- float: right !important;
- }
|