123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098 |
- /*
- Theme Name: Affinity
- Theme URI: http://wordpress.com/themes/affinity/
- Author: Automattic
- Author URI: http://wordpress.com/themes/
- Description: Affinity is a classic one-page theme designed with weddings and family announcements in mind.
- Version: 1.1.4-wpcom
- License: GNU General Public License v2 or later
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
- Text Domain: affinity
- Tags: blog, wedding, contemporary, elegant, modern, sophisticated, brown, dark, custom-background, custom-colors, custom-header, featured-image-header, featured-images, flexible-header, full-width-template, infinite-scroll, rtl-language-support, site-logo, theme-options, threaded-comments, translation-ready, responsive-layout, one-column, two-columns, right-sidebar
- This theme, like WordPress, is licensed under the GPL.
- Use it to make something cool, have fun, and share what you've learned with others.
- Affinity is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
- Underscores is distributed under the terms of the GNU GPL v2 or later.
- Normalizing styles have been helped along thanks to the fine work of
- Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
- */
- /*--------------------------------------------------------------
- >>> TABLE OF CONTENTS:
- ----------------------------------------------------------------
- # Normalize
- # Accessibility
- # Alignments
- # Clearings
- # Typography
- # Forms
- # Buttons
- # Formatting
- # Lists
- # Tables
- # Navigation
- # Links
- # Layout
- ## Posts
- ## Pages
- # Comments
- # Widgets
- # Infinite scroll
- # Media
- ## Galleries
- --------------------------------------------------------------*/
- @import "variables/variables-base";
- @import "mixins/mixins-base";
- /*--------------------------------------------------------------
- # Normalize
- --------------------------------------------------------------*/
- @import "shared/normalize";
- /*--------------------------------------------------------------
- # Accessibility
- --------------------------------------------------------------*/
- @import "shared/accessibility";
- /*--------------------------------------------------------------
- # Alignments
- --------------------------------------------------------------*/
- @import "shared/alignments";
- /*--------------------------------------------------------------
- # Clearings
- --------------------------------------------------------------*/
- @import "shared/clearings";
- /*--------------------------------------------------------------
- # Typography
- --------------------------------------------------------------*/
- @import "shared/typography";
- /*--------------------------------------------------------------
- # Forms
- --------------------------------------------------------------*/
- @import "shared/forms";
- /*--------------------------------------------------------------
- # Forms
- --------------------------------------------------------------*/
- @import "shared/buttons";
- /*--------------------------------------------------------------
- # Formattings
- --------------------------------------------------------------*/
- @import "shared/formatting";
- /*--------------------------------------------------------------
- # Lists
- --------------------------------------------------------------*/
- @import "shared/lists";
- /*--------------------------------------------------------------
- # Tables
- --------------------------------------------------------------*/
- @import "shared/tables";
- /*--------------------------------------------------------------
- # Links
- --------------------------------------------------------------*/
- @import "shared/links";
- /*--------------------------------------------------------------
- # Links
- --------------------------------------------------------------*/
- @import "shared/links";
- /*--------------------------------------------------------------
- # Layout
- --------------------------------------------------------------*/
- @import "layout/layout";
- /*--------------------------------------------------------------
- # Navigation
- --------------------------------------------------------------*/
- @import "shared/navigation";
- /*--------------------------------------------------------------
- # Comments
- --------------------------------------------------------------*/
- @import "sections/comments";
- /*--------------------------------------------------------------
- # Widgets
- --------------------------------------------------------------*/
- @import "sections/widgets";
- /*--------------------------------------------------------------
- # Infinite scroll
- --------------------------------------------------------------*/
- @import "shared/infinitescroll";
- /*--------------------------------------------------------------
- # Media
- --------------------------------------------------------------*/
- @import "shared/media";
- /*--------------------------------------------------------------
- # Customizer
- --------------------------------------------------------------*/
- /* Hide this until we're in the Customizer */
- .affinity-panel-title {
- display: none;
- }
- .affinity-customizer.affinity-front-page .affinity-panel {
- /* Colour-code all panels (add 1 to account for #affinity-hero, so 2 is actually panel 1)*/
- }
- .affinity-customizer.affinity-front-page .affinity-panel::after {
- border: 2px dashed;
- bottom: 1.6em;
- content: "";
- display: block;
- left: 1.6em;
- position: absolute;
- right: 1.6em;
- top: 1.6em;
- }
- .affinity-customizer.affinity-front-page .affinity-panel .affinity-panel-title {
- color: #fff;
- display: inline-block;
- font-family: $font__headings;
- @include font-size(0.875);
- letter-spacing: 1px;
- padding: 5px 10px;
- position: absolute;
- top: 3.2em;
- right: 3.2em;
- text-transform: uppercase;
- transform: translate(3px, -3px);
- font-weight: bold;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(1)::after {
- display: none;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(2) .affinity-panel-title {
- background: #a64b55;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(2)::after {
- border-color: #a64b55;
- color: #a64b55;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(3) .affinity-panel-title {
- background: #b569a2;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(3)::after {
- border-color: #b569a2;
- color: #b569a2;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(4) .affinity-panel-title {
- background: #8f68bd;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(4)::after {
- border-color: #8f68bd;
- color: #8f68bd;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(5) .affinity-panel-title {
- background: #575ebd;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(5)::after {
- border-color: #575ebd;
- color: #575ebd;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(6) .affinity-panel-title {
- background: #55a1bd;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(6)::after {
- border-color: #55a1bd;
- color: #55a1bd;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(7) .affinity-panel-title {
- background: #7dbd8f;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(7)::after {
- border-color: #7dbd8f;
- color: #7dbd8f;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(8) .affinity-panel-title {
- background: #c8b247;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(8)::after {
- border-color: #c8b247;
- color: #c8b247;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(9) .affinity-panel-title {
- background: #bd7555;
- }
- .affinity-customizer.affinity-front-page .affinity-panel:nth-of-type(9)::after {
- border-color: #bd7555;
- color: #bd7555;
- }
- /* Add a highlight class to improve Customizer behaviour */
- @-webkit-keyframes flash {
- 0%,
- 20%,
- 40%,
- 60%,
- 80%,
- 100% {
- opacity: 1;
- }
- 10%,
- 30%,
- 50%,
- 70%,
- 90% {
- opacity: 0;
- }
- }
- @keyframes flash {
- 0%,
- 20%,
- 40%,
- 60%,
- 80%,
- 100% {
- opacity: 1;
- }
- 10%,
- 30%,
- 50%,
- 70%,
- 90% {
- opacity: 0;
- }
- }
- .affinity-highlight::after {
- -webkit-animation-duration: 2s;
- animation-duration: 2s;
- -webkit-animation-name: flash;
- animation-name: flash;
- -webkit-animation-timing-function: ease-in-out;
- animation-timing-function: ease-in-out;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- }
- /*--------------------------------------------------------------
- # Media Queries
- --------------------------------------------------------------*/
- @media screen and (min-width: 46em) {
- body {
- position: relative;
- }
- .site-footer .sep {
- clear: none;
- display: inline;
- width: auto;
- height: auto;
- visibility: visible;
- margin: 0 0.4em;
- }
- .panel-navigation {
- display: block;
- }
- .site-header {
- margin-bottom: 3.2em;
- overflow: hidden;
- }
- .site-header .entry-title {
- display: block;
- }
- .affinity-front-page {
- .entry-title {
- margin: 0;
- }
- .custom-header .entry-title {
- color: $color__border-button;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- z-index: 1;
- }
- .hentry .entry-content {
- margin-top: 3.2em;
- margin-bottom: 3.2em;
- }
- .edit-link a,
- .edit-link a:visited {
- border: 3px solid rgba($color__border-button, 0.5);
- color: rgba($color__border-button, 0.5);
- display: inline-block;
- @include font-size(0.8);
- font-family: $font__headings;
- text-transform: uppercase;
- letter-spacing: 1px;
- font-weight: bold;
- text-decoration: none;
- padding: 3px 6px;
- position: absolute;
- top: 1.6em;
- left: 1.6em;
- z-index: 2;
- transition: 0.3s;
- &:hover {
- border-color: $color__border-button;
- color: $color__border-button;
- }
- }
- .hentry:first-of-type .edit-link a,
- .hentry:first-of-type .edit-link a:visited {
- color: inherit;
- border: 0;
- padding: 0;
- position: static;
- top: auto;
- left: auto;
- display: inline-block;
- text-transform: none;
- letter-spacing: 0;
- @include font-size(1);
- font-family: $font__main;
- font-weight: normal;
- margin-bottom: 3.2em;
- }
- .custom-header.in-panel {
- background-color: $color__text-main;
- min-height: 200px;
- }
- .no-featured-image {
- .custom-header.in-panel {
- border-top: 1px solid $color__border-button;
- background-color: transparent;
- min-height: auto;
- padding-top: 3.2em;
- }
- .entry-title {
- color: $color__text-screen;
- position: relative;
- top: auto;
- left: auto;
- transform: none;
- }
- .edit-link {
- max-width: 716px;
- }
- .edit-link a,
- .edit-link a:visited {
- color: inherit;
- border: 0;
- padding: 0;
- position: static;
- top: auto;
- left: auto;
- display: inline-block;
- text-transform: none;
- letter-spacing: 0;
- @include font-size(1);
- font-family: $font__main;
- font-weight: normal;
- margin-bottom: 3.2em;
- }
- .hentry:first-of-type .edit-link {
- width: 100%;
- }
- }
- }
- h1 {
- @include font-size(2.945);
- }
- h2 {
- @include font-size(2.625);
- }
- h3 {
- @include font-size(1.825);
- }
- h4 {
- @include font-size(1.625);
- }
- h5 {
- @include font-size(1.125);
- }
- h6 {
- @include font-size(1);
- }
- .entry-title {
- line-height: 1.2;
- @include font-size(2.945);
- text-align: left;
- }
- .site-description {
- @include font-size(2);
- line-height: 1.4;
- color: $color__border-button;
- border-bottom: 0;
- padding-bottom: 0;
- margin-bottom: 0;
- a {
- color: $color__border-button;
- &:hover {
- color: $color__border-button;
- }
- }
- }
- .page-title {
- @include font-size(1.825);
- }
- .entry-summary {
- @include font-size(1.625);
- }
- .menu-toggle {
- display: none;
- }
- .header-wrapper {
- min-height: 0;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1;
- padding-left: 1.6em;
- padding-right: 1.6em;
- }
- .no-custom-header .custom-header {
- display: block;
- }
- .no-custom-header .header-wrapper {
- padding-bottom: 0.8em;
- }
- .no-custom-header .site-title,
- .site-title {
- text-align: left;
- transform: translateY(0);
- position: relative;
- top: auto;
- left: auto;
- }
- .site-description-wrapper {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- z-index: 2;
- width: $size_site-main;
- }
- .site-branding {
- max-width: 50%;
- float: left;
- }
- .main-navigation {
- float: right;
- max-width: 50%;
- text-align: right;
- a,
- a:visited {
- margin-top: 0 !important;
- margin-bottom: 1.3em;
- padding-top: 0 !important;
- border-top: 0 !important;
- color: $color__border-button;
- }
- .current_page_item > a,
- .current-menu-item > a,
- .current_page_ancestor > a,
- .current-menu-ancestor > a {
- color: rgba($color__border-button, 0.5);
- }
- &.toggled > div {
- clear: none;
- background-color: transparent;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: auto;
- padding-top: 0;
- padding-bottom: 0;
- & > ul > li {
- padding-left: 0;
- padding-right: 0;
- }
- }
- ul {
- display: block;
- list-style: none;
- margin: 0 0 -1.3em;
- padding: 0;
- ul {
- background-color: white;
- box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
- border: 6px solid white;
- float: left;
- font-family: $font__main;
- font-weight: normal;
- font-style: italic;
- text-transform: none;
- letter-spacing: 0;
- position: absolute;
- top: 2.55em;
- left: -9999em;
- z-index: 99999;
- a {
- padding: 0.8em !important;
- padding-left: inherit;
- }
- &::before {
- content: "";
- width: 0;
- height: 0;
- border-bottom: 14px solid white;
- border-top: 0 solid transparent;
- border-left: 14px solid transparent;
- border-right: 14px solid transparent;
- position: absolute;
- left: 50%;
- transform: translateX(-50%);
- top: -20px;
- }
- &::after {
- border: 3px solid $color__border-button;
- content: "";
- display: block;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: -1;
- }
- ul {
- left: -999em;
- top: -6px;
- a {
- padding-left: inherit;
- }
- &::before {
- display: none;
- }
- }
- li {
- margin-left: 0;
- text-align: center;
- &:hover > ul,
- &.focus > ul {
- left: 100%;
- }
- a::after {
- display: none;
- }
- &:hover > a,
- &.focus > a {
- color: $color__link;
- &:visited {
- color: $color__link;
- }
- }
- &:first-of-type a {
- margin-top: 0;
- padding-top: 0;
- border-top: 0;
- }
- }
- li:hover > ul,
- li.focus > ul {
- transform: translateX(0);
- left: 100%;
- }
- a,
- a:visited {
- border-bottom: 1px solid $color__border-button;
- color: $color__text-screen;
- padding: 0.8em;
- margin: 0;
- width: 180px;
- }
- :hover > a,
- .focus > a {
- color: $color__link;
- }
- a:hover,
- a.focus {
- color: $color__link;
- }
- }
- li:hover > ul,
- li.focus > ul {
- left: 50%;
- transform: translateX(-0.75em) translateX(-50%);
- }
- }
- li {
- display: inline-block;
- margin-left: 0.8em;
- position: relative;
- &:hover > a,
- &.focus > a {
- color: rgba($color__border-button, 0.5);
- &:visited {
- color: rgba($color__border-button, 0.5);
- }
- }
- a::after {
- content: "\2666";
- color: rgba($color__border-button, 0.25);
- display: inline-block;
- font-family: Arial, Helvetica, sans-serif;
- margin-left: 1em;
- }
- &:last-of-type a::after {
- display: none;
- }
- }
- li.menu-item-has-children > a,
- li.page_item_has_children > a {
- position: relative;
- padding-right: 1.6em;
- &::before {
- content: "\f431";
- font-family: Genericons;
- font-size: 14px;
- line-height: 1;
- display: inline-block;
- position: absolute;
- right: 1.4em;
- top: 3px;
- vertical-align: text-top;
- -webkit-font-smoothing: antialiased;
- }
- &::after {
- position: relative;
- left: 1.6em;
- }
- }
- li.menu-item-has-children:last-of-type > a::before,
- li.page_item_has_children:last-of-type > a::before {
- right: -0.1em;
- }
- ul ul li.menu-item-has-children > a,
- ul ul li.page_item_has_children > a {
- &::before {
- display: none;
- }
- &::after {
- content: "\f431";
- color: $color__link;
- font-family: Genericons;
- font-size: 14px;
- font-style: normal;
- font-weight: normal;
- margin: 0 0 0 0.4em;
- padding: 0;
- line-height: 1;
- display: inline-block;
- vertical-align: text-top;
- transform: rotate(-90deg);
- -webkit-font-smoothing: antialiased;
- }
- }
- }
- .header-wrapper {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 9999;
- transition: 0.3s;
- }
- .admin-bar .header-wrapper {
- top: 32px;
- }
- .header-wrapper.without-transparency {
- background-color: $color__text-main;
- box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
- }
- .affinity-customizer .header-wrapper {
- z-index: 5;
- }
- }
- @media screen and (max-width: 782px) {
- .admin-bar .header-wrapper {
- top: 46px;
- }
- }
- @media screen and ( min-width: 58em ) {
- .site-description {
- @include font-size(2.945);
- }
- .site-description-wrapper {
- margin: 0 auto;
- width: $size_site-content;
- }
- .content-area {
- float: left;
- margin: 0 (-$size_site-sidebar) 0 0;
- }
- .page-template-guestbook .content-area,
- .page-template-fullwidth-page-php .content-area,
- .no-sidebar .content-area {
- float: none;
- margin: 0 auto;
- }
- .site-main {
- margin: 0 30% 0 0;
- }
- .page-template-guestbook .site-main,
- .page-template-fullwidth-page-php .site-main,
- .no-sidebar .site-main,
- .affinity-front-page .site-main {
- margin: 0 auto;
- }
- .page-template-guestbook .site-main,
- .no-sidebar .site-main {
- max-width: 716px;
- }
- .affinity-front-page .site-content {
- max-width: 100%;
- .entry-header,
- .entry-content,
- .entry-footer {
- margin-left: auto;
- margin-right: auto;
- max-width: 716px;
- width: 90%;
- }
- }
- .affinity-front-page.no-sidebar .site-main {
- width: 100%;
- max-width: 100%;
- }
- .affinity-front-page .contact-form {
- max-width: 80%;
- }
- .site-content .widget-area {
- float: right;
- overflow: hidden;
- width: $size_site-sidebar;
- }
- .site-footer {
- clear: both;
- }
- .comment-author .avatar {
- clear: both;
- display: block;
- float: none;
- margin-bottom: 0.8em;
- margin-right: 0;
- }
- .comment-content {
- clear: none;
- }
- .comment-meta .edit-link::before {
- display: none;
- }
- .jetpack-social-navigation ul {
- display: block;
- margin: 0 auto !important;
- width: $size_site-content;
- }
- .entry-meta,
- .comment-meta {
- border-right: 1px solid $color__border-button;
- padding-right: 0.8em;
- float: left;
- width: 21%;
- }
- .entry-content,
- .search-results .entry-summary,
- .entry-footer,
- .comment-content,
- .reply {
- width: 75%;
- float: right;
- }
- .page-template-guestbook {
- .comment-content,
- .comment-meta {
- width: 100%;
- float: none;
- padding: 0;
- border: 0;
- }
- .comments-area .comment {
- width: calc(50% - 15px);
- }
- }
- .page,
- .jetpack-portfolio {
- .entry-content,
- .entry-summary,
- .entry-footer {
- width: 100%;
- float: none;
- }
- }
- .comment-navigation,
- .posts-navigation,
- .post-navigation {
- .nav-previous {
- float: left;
- width: 50%;
- padding: 0;
- margin: 0;
- border: 0;
- }
- .nav-next {
- float: right;
- text-align: right;
- width: 50%;
- }
- }
- .footer-widgets .widget-areas {
- margin: 0 auto;
- width: $size_site-content;
- }
- .footer-widgets .widget-areas .widget-area:nth-child(1):nth-last-child(2),
- .footer-widgets .widget-areas .widget-area:nth-child(2):nth-last-child(1) {
- width: 47%;
- margin-right: 6%;
- &:last-of-type {
- margin-right: 0;
- }
- }
- .footer-widgets .widget-areas .widget-area:nth-child(1):nth-last-child(3),
- .footer-widgets .widget-areas .widget-area:nth-child(2):nth-last-child(2),
- .footer-widgets .widget-areas .widget-area:nth-child(3):nth-last-child(1) {
- width: 20%;
- margin-right: 5%;
- &:last-of-type {
- margin-right: 0;
- }
- }
- .footer-widgets .widget-areas .widget-area:nth-child(1):nth-last-child(3) {
- width: 50%;
- }
- }
- @media screen and ( min-width: 68em ) {
- .page-template-guestbook .site-main,
- .no-sidebar .site-main {
- width: $size_site-content;
- }
- .site-content {
- max-width: 1068px;
- width: $size_site-content;
- }
- blockquote {
- @include font-size(1.625);
- &.alignright,
- &.alignleft {
- max-width: 12em;
- }
- &.alignleft.below-entry-meta {
- margin-left: -7.2em;
- }
- &.alignright.below-sidebar {
- margin-right: -7.2em;
- }
- }
- img {
- &.alignleft.below-entry-meta {
- margin-left: -7.2em;
- }
- &.alignright.below-sidebar {
- margin-right: -7.2em;
- }
- }
- .wp-caption.alignleft.below-entry-meta,
- .wp-caption.alignright.below-sidebar {
- position: relative;
- .wp-caption-text {
- border-top: 3px solid $color__border-button;
- margin: 0;
- padding-top: 0.8em;
- position: absolute;
- top: 0;
- width: 158px;
- }
- }
- .wp-caption.alignleft.below-entry-meta {
- .wp-caption-text {
- transform: translateX(-100%) translateX(-1.6em);
- text-align: right;
- }
- }
- .wp-caption.alignright.below-sidebar {
- .wp-caption-text {
- right: 0;
- transform: translateX(100%) translateX(1.6em);
- text-align: left;
- }
- }
- }
|