芝麻web文件管理V1.00
编辑当前文件:/home/fambnfli/public_html/tr/wp-content/themes/fambridge/framework/amp.php
html { background: white; } body { color: #181818; font: 16px/26px ; } header.amp-wp-header { border-top: none; box-shadow: 0 0 20px 0 rgba(0,0,0,.15); background: none; } .amp-wp-title { font-family: ; line-height: 1em; font-size: 2em; margin: 0 0 .5em; padding: 0 0 .5em; border-bottom: 1px solid rgba(0,0,0,.1); } .amp-wp-header .amp-wp-site-icon { position: relative; right: auto; border: none; border-radius: 0%; margin-right: 5px; } .amp-wp-header .amp-site-title { color: black; font-size: 18px; line-height: 32px; font-weight: bold; } .amp-wp-article-featured-image { margin-bottom: 30px; } .amp-wp-article-content { margin: 0 30px 30px; border-bottom: 1px solid rgba(0,0,0,.1); } .amp-wp-meta { font-size: .6875em; } .amp-wp-byline amp-img { border: 2px solid rgba(0,0,0,.1); } blockquote { font-family: ; background: transparent; border: 0; border-top: 3px solid rgba(0,0,0,.1); border-bottom: 3px solid rgba(0,0,0,.1); padding: .475em 0 .475em 3.5em; position: relative; font-size: 1.125em; line-height: 1.75em; } blockquote:before { content: '”'; opacity: .4; font-family: Roboto Slab; display: block; font-size: 4.5em; font-weight: 900; line-height: 1; position: absolute; top: 4px; left: 14px; } a { color: ; transition: color 300ms ease; } a:hover, a:active, a:focus { color: ; transition: color 300ms ease; } .amp-wp-tax-category, .amp-wp-tax-tag { margin: 1.5em 30px; } .amp-wp-tax-category a { background: ; color: #FFF; text-decoration: none; text-transform: uppercase; padding: .625em 1em; border-radius: 2px; transition: opacity 300ms ease; margin-right: -3px; } .amp-wp-tax-category a:hover, .amp-wp-tax-category a:active, .amp-wp-tax-category a:focus { background: ; } .amp-wp-tax-tag a { color: #181818; background: rgba(0,0,0,.1); text-decoration: none; padding: .625em 1em; border-radius: 2px; transition: background 300ms ease, color 300ms ease; margin-right: -3px; } .amp-wp-tax-tag a:hover, .amp-wp-tax-tag a:active, .amp-wp-tax-tag a:focus { background: #181818; color: #FFF; transition: background 300ms ease, color 300ms ease; } .amp-wp-comments-link a { text-transform: uppercase; background: ; color: #FFF; box-shadow: 0 1px 5px rgba(0,0,0,.35); border: 0; border-radius: 2px; transition: background 300ms ease; padding: .675em .923em; font-size: 12px; } .amp-wp-comments-link a:hover, .amp-wp-comments-link a:active, .amp-wp-comments-link a:focus { background: ; transition: background 300ms ease; } .amp-wp-footer { background: #181818; box-shadow: #0c0c0c 0 -40px 0 0 inset; color: #FFF; border: 0; border-bottom: 4px solid ; } .amp-wp-footer div { padding: 1.5em 30px .5em; } .amp-wp-footer h2 { text-indent: -999999px; background-size: contain; margin: 0 0 2em; } .amp-wp-footer a { color: #FFF; } .back-to-top { bottom: 4px; text-transform: uppercase; }
', esc_url( get_site_icon_url( 32 ) ) ), sprintf( '
', esc_url( get_site_icon_url( 192 ) ) ), sprintf( '
', esc_url( get_site_icon_url( 180 ) ) ), sprintf( '
', esc_url( get_site_icon_url( 270 ) ) ), ); foreach ( $meta_tags as $meta_tag ) { echo "$meta_tag\n"; } } } /* * * Helper function for colors in AMP * */ if ( ! function_exists( 'boldthemes_sanitize_hex_text_color' ) ) { function boldthemes_sanitize_hex_text_color( $amp_customizer_setting = 'text_color' ) { $template = new AMP_Post_Template( get_queried_object_id() ); $color = $template->get_customizer_setting( $amp_customizer_setting ); // 3 or 6 hex digits, or the empty string. if ( preg_match('|^#([A-Fa-f0-9]{3}){1,2}$|', $color ) ) { return $color; }else{ return ''; } } }