| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/glaza/amp/ |
Upload File : |
<?php
$glaza_maxwidth = absint( $this->get( 'content_max_width' ) );
$glaza_amp_logo = glaza_get_option( 'amp_logo' );
$glaza_amp_footer_logo = glaza_get_option( 'amp_footer_logo' );
$glaza_bg_color = glaza_get_option( 'amp_header_bg' );
if ( empty( $glaza_bg_color ) ) {
$glaza_bg_color = '#ffffff';
}
$glaza_bg_body = glaza_get_option( 'amp_bg_body' );
if ( empty( $glaza_bg_body ) ) {
$glaza_bg_body = '#ffffff';
}
$glaza_text_color = glaza_get_option( 'amp_body_color' );
if ( empty( $glaza_text_color ) ) {
$glaza_text_color = '#111111';
}
$glaza_title_color = glaza_get_option( 'amp_title_color' );
if ( empty( $glaza_title_color ) ) {
$glaza_title_color = '#ff3174';
}
$glaza_meta_color = glaza_get_option( 'amp_meta_color' );
if ( empty( $glaza_meta_color ) ) {
$glaza_meta_color = '#aaa';
}
$glaza_link_color = glaza_get_option( 'amp_link_color' );
if ( empty( $glaza_link_color ) ) {
$glaza_link_color = '#ff3174';
}
//footer
$glaza_footer_color = glaza_get_option( 'amp_footer_color' );
if ( empty( $glaza_footer_color ) ) {
$glaza_footer_color = '#ffffff';
}
$glaza_footer_bg = glaza_get_option( 'amp_footer_bg' );
if ( empty( $glaza_footer_bg ) ) {
$glaza_footer_bg = '#111111';
} ?>
.alignright {
float: right;
}
.alignleft {
float: left;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.amp-wp-enforced-sizes {
max-width: 100%;
margin: 0 auto;
}
.amp-wp-unknown-size img {
object-fit: contain;
}
.amp-wp-content,
.amp-wp-title-bar div {
<?php if ( $glaza_maxwidth > 0 ) : ?>
margin: 0 auto;
max-width: <?php echo sprintf( '%dpx', $glaza_maxwidth ); ?>;
<?php endif; ?>
}
html {
background: <?php echo sanitize_hex_color( $glaza_bg_body ); ?>;
}
body {
background: <?php echo sanitize_hex_color( $glaza_bg_body ); ?>;
color: <?php echo sanitize_hex_color( $glaza_text_color ); ?>;
font-family: 'Merriweather', 'Times New Roman', Times, Serif;
font-weight: 300;
line-height: 1.75em;
}
p,
ol,
ul,
figure {
margin: 0 0 1em;
padding: 0;
}
a,
a:visited {
color: <?php echo sanitize_hex_color( $glaza_link_color ); ?>;
}
a:hover,
a:active,
a:focus {
color: <?php echo sanitize_hex_color( $glaza_text_color ); ?>;
}
blockquote {
color: <?php echo sanitize_hex_color( $glaza_text_color ); ?>;
background: rgba(0,0,0,.02);
border-left: 2px solid <?php echo sanitize_hex_color( $glaza_link_color ); ?>;
margin: 8px 0 24px 0;
padding: 16px;
}
blockquote p:last-child {
margin-bottom: 0;
}
.amp-wp-meta,
.amp-wp-header div,
.amp-wp-title,
.wp-caption-text,
.amp-wp-tax-category,
.amp-wp-tax-tag,
.amp-wp-comments-link,
.amp-wp-footer p,
.amp-wp-footer ul,
.back-to-top {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}
.amp-wp-header {
text-algin: center;
-webkit-box-shadow: 0 10px 16px 0 rgba(28, 28, 28, 0.04);
-moz-box-shadow: 0 10px 16px 0 rgba(28, 28, 28, 0.04);
box-shadow: 0 10px 16px 0 rgba(28, 28, 28, 0.04);
background-color: <?php echo sanitize_hex_color( $glaza_bg_color ); ?>;
}
.amp-wp-header div {
text-align: center;
font-size: 1em;
font-weight: 400;
margin: 0 auto;
max-width: calc(840px - 32px);
padding: .875em 16px;
position: relative;
}
.amp-wp-header a {
text-decoration: none;
}
<?php if ( $glaza_amp_logo['url'] ): ?>
.amp-wp-header a {
display: block;
background-size: contain;
background-position: center center;
background-image: url( '<?php echo esc_url( $glaza_amp_logo['url'] ); ?>' );
background-repeat: no-repeat;
height: 40px;
width: 300px;
margin: 0 auto;
text-indent: -9999px;
}
<?php else: ?>
.amp-wp-header a {
display: inline-block;
text-decoration: none;
font-size: 20px;
text-transform: uppercase;
font-weight: 900;
margin: auto;
}
<?php endif; ?>
.amp-wp-header .amp-wp-site-icon {
border-radius: 50%;
position: absolute;
right: 18px;
top: 10px;
}
.amp-wp-article {
color: <?php echo sanitize_hex_color( $glaza_text_color ); ?>;
font-weight: 400;
margin: 1.5em auto;
max-width: 840px;
overflow-wrap: break-word;
word-wrap: break-word;
}
.amp-wp-article-header {
align-items: center;
align-content: stretch;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 1.5em 16px 1.5em;
}
.amp-wp-title {
font-size: 30px;
line-height: 1.2em;
color: <?php echo sanitize_hex_color( $glaza_title_color ); ?>;
display: block;
flex: 1 0 100%;
font-weight: 900;
margin: 0 0 .625em;
width: 100%;
}
.amp-wp-meta {
color: <?php echo sanitize_hex_color( $glaza_meta_color ); ?>;
display: inline-block;
flex: 2 1 50%;
font-size: .875em;
line-height: 1.5em;
margin: 0;
padding: 0;
}
.amp-wp-article-header .amp-wp-meta:last-of-type {
text-align: right;
}
.amp-wp-article-header .amp-wp-meta:first-of-type {
text-align: left;
}
.amp-wp-byline amp-img,
.amp-wp-byline .amp-wp-author {
display: inline-block;
vertical-align: middle;
}
.amp-wp-byline amp-img {
border-radius: 50%;
position: relative;
margin-right: 6px;
}
.amp-wp-posted-on {
text-align: right;
}
.amp-wp-article-featured-image {
margin: 0 0 1em;
}
.amp-wp-article-featured-image amp-img {
margin: 0 auto;
}
.amp-wp-article-featured-image.wp-caption .wp-caption-text {
margin: 0 18px;
}
.amp-wp-article-content {
margin: 0 16px;
clear: both;
overflow: hidden;
}
.amp-wp-article-content ul,
.amp-wp-article-content ol {
margin-left: 1em;
}
.amp-wp-article-content amp-img {
margin: 2em auto;
}
.amp-wp-article-content amp-img.alignright {
margin: 0 0 1em 16px;
}
.amp-wp-article-content amp-img.alignleft {
margin: 0 16px 1em 0;
}
.wp-caption {
padding: 0;
}
.wp-caption.alignleft {
margin-right: 16px;
}
.wp-caption.alignright {
margin-left: 16px;
}
.wp-caption .wp-caption-text {
color: <?php echo sanitize_hex_color( $glaza_meta_color ); ?>;
font-size: .875em;
line-height: 1.5em;
margin: 0;
padding: .66em 10px .75em;
}
amp-carousel {
background: rgba(0,0,0,.07);
margin: 0 -16px 1.5em;
}
amp-iframe,
amp-youtube,
amp-instagram,
amp-vine {
background: rgba(0,0,0,.07);
margin: 0 -16px 1.5em;
}
.amp-wp-article-content amp-carousel amp-img {
border: none;
}
amp-carousel > amp-img > img {
object-fit: contain;
}
.amp-wp-iframe-placeholder {
background: #f2f2f2 url( <?php echo esc_url( $this->get( 'placeholder_image_url' ) ); ?> ) no-repeat center 40%;
background-size: 48px 48px;
min-height: 48px;
}
.amp-wp-article-footer .amp-wp-meta {
display: block;
}
.amp-wp-tax-category,
.amp-wp-tax-tag {
color: <?php echo sanitize_hex_color( $glaza_meta_color ); ?>;
font-size: .875em;
line-height: 1.5em;
margin: 1.5em 16px;
}
.amp-wp-comments-link {
color: <?php echo sanitize_hex_color( $glaza_meta_color ); ?>;
font-size: .875em;
line-height: 1.5em;
text-align: center;
margin: 2.25em 0 1.5em;
}
.amp-wp-comments-link a {
color: #fff;
background-color: <?php echo sanitize_hex_color( $glaza_link_color ); ?>;
cursor: pointer;
display: block;
font-size: 14px;
font-weight: 600;
line-height: 18px;
margin: 0 auto;
max-width: 200px;
padding: 11px 16px;
text-decoration: none;
width: 50%;
-webkit-transition: background-color 0.2s ease;
transition: background-color 0.2s ease;
}
.amp-wp-comments-link a:hover {
background-color: #111111;
}
.amp-wp-footer {
margin: 40px 0 0 0;
background-color: <?php echo sanitize_hex_color( $glaza_footer_bg ); ?>;
color: <?php echo sanitize_hex_color( $glaza_footer_color ); ?>;
}
.amp-wp-footer div {
margin: 0 auto;
max-width: calc(840px - 32px);
padding: 40px 20px;
position: relative;
}
.amp-wp-footer h2 {
display: block;
text-align: center;
line-height: 1.375em;
margin: 0 0 .5em;
}
<?php if ( $glaza_amp_footer_logo['url'] ): ?>
.amp-wp-footer h2 {
display: block;
background-size: contain;
background-position: center center;
background-image: url( '<?php echo esc_url( $glaza_amp_footer_logo['url'] ); ?>' );
background-repeat: no-repeat;
height: 60px;
width: 400px;
margin: 0 auto;
margin-bottom: 20px;
text-indent: -9999px;
}
<?php endif; ?>
.amp-wp-footer p {
color: <?php echo sanitize_hex_color( $glaza_meta_color ); ?>;
font-size: .8em;
line-height: 1.5em;
margin: 0 85px 0 0;
}
.amp-wp-footer a {
color: <?php echo sanitize_hex_color( $glaza_footer_color ); ?>;
text-decoration: none;
opacity: .7;
transition: all .25s ease;
-webkit-transition: all .25s ease;
}
.amp-wp-footer a:hover {
opacity: 1;
}
.back-to-top {
position: fixed;
display: block;
top: auto;
font-size: 20px;
right: 25px;
bottom: 25px;
color: #fff;
height: 40px;
line-height: 36px;
text-align: center;
width: 40px;
vertical-align: middle;
background-color: #111111;
transition: all .25s ease;
-webkit-transition: all .25s ease;
}
body .back-to-top {
top: auto;
color: #fff;
}
.back-to-top:hover {
background-color: <?php echo sanitize_hex_color( $glaza_link_color ); ?>;
}
.amp-wp-footer p {
text-align: center;
margin: 20px auto 0 auto;
max-width: calc(840px - 32px);
}
.amp-wp-footer li {
display: inline-block;
list-style: none;
font-size: 12px;
padding: 0 10px;
font-weight: 400;
text-transform: uppercase;
}
.amp-wp-footer .menu {
padding: 0;
text-align: center;
}