//固定値 @import "defins"; //importファイル @import "amp-imports"; @import "pre"; /////////////////////////////////////// // メディアクエリ /////////////////////////////////////// @import "breakpoints/breakpoints"; img{ border-width:0px; } amp-img { max-width: 100%; max-height: 100%; } .card-thumb amp-img { min-width: 100%; } .fb-like-thumb amp-img{ height: 100%; min-width: 100%; } .entry-content amp-img, amp-img[width|="0"], amp-img[height|="0"], amp-img[width|="1"], amp-img[height|="1"]{ display: inline-block; } amp-img{ &.aligncenter, &.alignleft, &.alignright { display: block; } } .amazon-item-box amp-img{ display: block; margin: 0 auto; } .logo-image amp-img{ margin: auto; } .logo-footer amp-img{ max-width: 120px; } // amp-img[width|="0"], // amp-img[height|="0"], // amp-img[width|="1"], // amp-img[height|="1"] { // display: inline-block; // } amp-img[src*="ad.jp.ap.valuecommerce.com"]{ display: none; } %follow_amp_button{ text-decoration: none; text-align: center; margin: 0 auto; padding: 3px 12px; top: 8px; font-size: 14px; font-weight: bold; color: $white; position: relative; border-radius: $basic_border_radius; &:hover{ color: $white; opacity: 0.7; } } @mixin follow_amp_button($unicode, $bc_color){ background-color: $bc_color; &::before{ // @include fontawesome($unicode); // font-family: FontAwesome; // margin: 0 3px; font-weight: normal; } } //Facebookボタン .facebook-follow-button{ @extend %follow_amp_button; @include follow_amp_button('\f087', $facebook_color); } //Twitterボタン .twitter-follow-button{ @extend %follow_amp_button; font-weight: normal; @include follow_amp_button('\f099', $twitter_color); } //LINEボタン .line-follow-button{ @extend %follow_amp_button; font-weight: normal; @include follow_amp_button('\f075', $line_color); } .comment-reply-link{ display: none; } .fb-like-buttons{ >div{ display: block; } } .video-container .video { padding-top: 0; } /////////////////////////////////////// // AMP用TOPへ戻るボタン /////////////////////////////////////// .go-to-top{ display: block; } a.top-menu-a{ display: block; visibility: visible; } .go-to-top-trigger { height: 0; position: absolute; top: 500px; width: 0; } //AMP Lightbox用 amp-img.amp-lightbox { cursor: zoom-in; } amp-image-lightbox { background: rgba(0, 0, 0, .8); } // .amazon-parts amp-iframe{ // min-height: 208px; // max-width: 120px; // } // .amazon-btn{ // display: inline-block; // background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #f7dfa5, #f0c14b) repeat scroll 0 0; // border: 1px solid #846a29; // border-radius: 3px; // color: #111; // padding: 5px 15px; // text-decoration: none; // margin-bottom: 2em; // } // .inline-formula{ // display: inline; // }