123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- /*--------------------------------------------------------------*/
- /* !## Posts */
- /*--------------------------------------------------------------*/
- .sticky {
- display: block;
- }
- .hentry {
- margin: 0;
- }
- .byline,
- .updated:not(.published){
- display: none;
- }
- .single .byline,
- .group-blog .byline {
- display: block;
- }
- #page a.button {
- @include button();
- display: inline-block;
- }
- .page-content,
- .entry-content,
- .entry-summary {
- @include body-copy();
- margin: 0;
- p {
- word-break: break-word;
- }
- }
- .posted-on {
- @include widget-title();
- color: $color__link-hover;
- }
- .byline {
- @include list-header();
- color: $color__link-hover;
- a {
- @include list-item();
- display: inline-block;
- }
- }
- .comments-link {
- display: flex;
- height: 60px;
- justify-content: center;
- position: relative;
- width: 60px;
- z-index: 10;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- transition: all 0.3s ease;
- a {
- color: $color__text-main;
- font-size: $gutter;
- line-height: 20px;
- min-width: 20px;
- padding: 20px ($gutter * .2);
- position: relative;
- text-align: center;
- width: 60px;
- z-index: 3;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- transition: all 0.3s ease;
- }
- .comment-icon {
- @include prefix( filter, drop-shadow( 1px 3px 2px rgba(0, 0, 0, 0.33) ) );
- left: 0;
- position: absolute;
- overflow: visible;
- .path {
- fill: $color__background-body;
- stroke: $color__border-transparent;
- stroke-miterlimit: 10;
- -webkit-transition: all 0.3s ease;
- -moz-transition: all 0.3s ease;
- -o-transition: all 0.3s ease;
- -ms-transition: all 0.3s ease;
- transition: all 0.3s ease;
- }
- }
- &:hover {
- @include animation('bounce-reveal 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)');
- a {
- color: $color__background-body;
- opacity: 1;
- }
- .comment-icon {
- .path {
- fill: $color__link;
- stroke: $color__link;
- }
- }
- }
- }
- .entry-footer {
- align-content: flex-start;
- display: flex;
- flex-flow: row nowrap;
- overflow: visible;
- @include list-header();
- color: $color__link-hover;
- & > * {
- flex: 2 1 0;
- margin-right: ( $gutter * .5 );
- &:last-child {
- margin-right: 0;
- }
- }
- .comments-link {
- flex: 0 0 auto;
- margin-right: calc((100% / 8) * 1);
- }
- div > * {
- display: block;
- }
- ul {
- list-style: none;
- margin: 0;
- li a {
- @include list-item();
- }
- }
- }
|