This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FADEIN | |
var animateHTML = function() { | |
var elems; | |
var windowHeight; | |
function init() { | |
elems = document.querySelectorAll('.fx_fadeInUp'); | |
windowHeight = window.innerHeight; | |
addEventHandlers(); | |
checkPosition(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ARROW | |
$arrow-size: 31px; | |
$arrow-border: 1.2px; | |
.read-more, | |
a[rel~="next"], | |
a[rel~="prev"] { | |
position: relative; | |
i { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container.grid { | |
max-width: 1600px; | |
margin: auto; | |
grid-row-gap: var(--gutter) | |
} | |
[class*="grid"] { | |
display: grid; | |
grid-gap: var(--gutter); | |
grid-template-columns: repeat(12, 1fr); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( 'WP_ALLOW_MULTISITE', true ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php include("header.php"); ?> | |
<div class="page-container span_12 xs-md:p-0 pg"> | |
<section class="span_12 container grid"> | |
<main class="span_12 relative pg"> | |
<?php | |
//response generation function | |
$response = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="audio"> | |
<?php $audio = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'audio' ) ); ?> | |
<?php if ( empty( $audio ) ) : ?> | |
<?php else : ?> | |
<?php foreach ( $audio as $attachment_id => $attachment ) : ?> | |
<div class="player"> | |
<audio controls> | |
<source src="<?php echo wp_get_attachment_url( $attachment_id, 'full' ); ?>" type="audio/mpeg"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
color-scheme: light dark; | |
supported-color-schemes: light dark; | |
} | |
@media (prefers-color-scheme: dark) { | |
... | |
} |
OlderNewer