123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- .sticky {
- display: block;
- }
- .sticky-post {
- background: $color__background-button;
- color: $color__background-body;
- display: inline-block;
- font-weight: bold;
- line-height: 1;
- padding: .25rem;
- text-transform: uppercase;
- }
- .updated:not(.published) {
- display: none;
- }
- .page-links {
- clear: both;
- margin: 0 0 calc(1.5 * #{$size__spacing-unit});
- }
- .entry {
- margin-top: calc(6 * #{$size__spacing-unit});
- &:first-of-type {
- margin-top: 0;
- }
- .entry-header {
- margin: calc(3 * #{ $size__spacing-unit}) $size__spacing-unit $size__vertical-spacing-unit;
- position: relative;
- text-align: center;
- @include media(tablet) {
- margin: calc(3 * #{ $size__spacing-unit}) $size__site-margins $size__vertical-spacing-unit;
- }
- }
- .entry-title {
- margin: 0;
- margin-bottom: $size__vertical-spacing-unit;
- a {
- color: inherit;
- &:hover {
- color: $color__text-hover;
- }
- }
- }
- .entry-meta,
- .entry-footer {
- color: $color__text-light;
- font-weight: 500;
- text-align: center;
- > span {
- margin-right: $size__spacing-unit;
- display: inline-block;
- &:last-child {
- margin-right: 0;
- }
- }
- a {
- @include link-transition;
- color: currentColor;
- &:hover {
- text-decoration: none;
- color: $color__link;
- }
- }
- .svg-icon {
- position: relative;
- display: inline-block;
- vertical-align: middle;
- margin-right: 0.5em;
- }
- }
- .entry-meta {
- margin: $size__spacing-unit 0;
- }
- .entry-footer {
- margin: calc(2 * #{$size__spacing-unit}) $size__spacing-unit $size__spacing-unit;
- @include media(tablet) {
- margin: $size__spacing-unit auto calc(3 * #{$size__spacing-unit});
- max-width: $size__site-tablet-content;
- }
- @include media(desktop) {
- max-width: $size__site-desktop-content;
- }
- }
- .post-thumbnail {
- margin: $size__spacing-unit;
- @include media(tablet) {
- margin: $size__spacing-unit $size__site-margins;
- }
- &:focus {
- outline: none;
- }
- .post-thumbnail-inner {
- display: block;
- img {
- position: relative;
- display: block;
- width: 100%;
- }
- }
- }
- .image-filters-enabled & {
- .post-thumbnail {
- position: relative;
- display: block;
- .post-thumbnail-inner {
- filter: grayscale(100%);
- &:after {
- background: rgba(0, 0, 0, 0.35);
- content: "";
- display: block;
- height: 100%;
- opacity: .5;
- pointer-events: none;
- position: absolute;
- top: 0;
- width: 100%;
- z-index: 4;
- @supports (mix-blend-mode: multiply) {
- display: none;
- }
- }
- }
- &:before,
- &:after, {
- position: absolute;
- display: block;
- width: 100%;
- height: 100%;
- top: 0; left: 0;
- content: "\020";
- pointer-events: none;
- }
- @include filter-duotone;
- }
- }
- .entry-content,
- .entry-summary {
- max-width: calc(100% - (2 * #{ $size__spacing-unit }));
- margin: 0 $size__spacing-unit;
- @include media(tablet) {
- max-width: 80%;
- margin: 0 10%;
- padding: 0 60px;
- }
- }
- .entry-content {
- p {
- word-wrap: break-word;
- }
- .more-link {
- @include link-transition;
- display: inline;
- color: inherit;
- &:after {
- content: "\02192" #{"/*rtl:\"\02190\"*/"};
- display: inline-block;
- margin-left: 0.5em;
- }
- &:hover {
- color: $color__link;
- text-decoration: none;
- }
- }
- a {
- text-decoration: underline;
- &.button,
- &:hover {
- text-decoration: none;
- }
- &.button {
- display: inline-block;
- }
- &.button:hover {
- background: $color__background-button-hover;
- color: $color__background-body;
- cursor: pointer;
- }
- }
- // Overwrite iframe embeds that have inline styles.
- > iframe[style] {
- margin: $size__vertical-spacing-unit 0 !important;
- max-width: 100% !important;
- @include media(tablet) {
- max-width: $size__site-tablet-content !important;
- }
- @include media(desktop) {
- max-width: $size__site-desktop-content !important;
- }
- }
- // Page links
- .page-links a {
- margin: calc(0.5 * #{$size__spacing-unit});
- text-decoration: none;
- }
- // Classic editor audio embeds.
- .wp-audio-shortcode {
- max-width: calc(100vw - (2 * #{ $size__spacing-unit }));
- @include media(tablet) {
- max-width: $size__site-tablet-content;
- }
- @include media(desktop) {
- max-width: $size__site-desktop-content;
- }
- }
- }
- }
- /* Author description */
- .author-bio {
- margin: calc(2 * #{$size__spacing-unit}) auto $size__spacing-unit;
- @include postContentMaxWidth();
- @include media(tablet) {
- margin: calc(3 * #{$size__spacing-unit}) auto;
- }
- .author-title {
- display: inline;
- }
- .author-description {
- display: inline;
- color: $color__text-light;
- font-size: $font__size-md;
- line-height: $font__line-height-heading;
- .author-link {
- display: inline-block;
- &:hover {
- color: $color__link-hover;
- text-decoration: none;
- }
- }
- }
- }
|