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
<a class="past-projects-card" href="/node/<?php print $fields['nid']->content ?>" style="background: url(<?php print $fields['field_exhibition_image']->content ?>) center center/cover;"> | |
<div class="show-project-details"> | |
<?php print $fields['title']->content ?> | |
<?php print $fields['field_artist_group']->content ?> | |
<?php print $fields['field_project_date']->content ?> | |
</div> | |
</a> |
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
$('.past-projects-card').hover( | |
function(){ $(this).addClass('project-details-hover'); }, | |
function(){ $(this).removeClass('project-details-hover'); } | |
); | |
$('.past-projects-card').hover( | |
function(){ $('.show-project-details', this).removeClass('hide'); }, | |
function(){ $('.show-project-details', this).addClass('hide'); } | |
); |
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 | |
$items = field_get_items('paragraphs_item', $variables['paragraphs_item'], 'field_para_background_color'); | |
$key = $items[0]['value']; | |
?> | |
<div id="full-width-container" class="<?php print $key; ?>"> | |
<div id="full-width-image" class=""> | |
<?php print render($content['field_image']); ?> | |
</div> | |
</div> |
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
background: linear-gradient(90deg, #00aeef, #ed008c); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationName 16s ease infinite; | |
-moz-animation: AnimationName 16s ease infinite; | |
-o-animation: AnimationName 16s ease infinite; | |
animation: AnimationName 16s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 82%} | |
50%{background-position:100% 19%} | |
100%{background-position:0% 82%} |
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
-webkit-backface-visibility: hidden; | |
-moz-backface-visibility: hidden; | |
-ms-backface-visibility: hidden; | |
backface-visibility: hidden; | |
-webkit-perspective: 1000; | |
-moz-perspective: 1000; | |
-ms-perspective: 1000; | |
perspective: 1000; | |
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
.bg-embed{ | |
background:url(https://upload.wikimedia.org/wikipedia/commons/6/67/Inside_the_Batad_rice_terraces.jpg); | |
margin: auto; | |
calc(-50vw + 50%); | |
background-size: cover; | |
background-repeat: no-repeat; | |
background-position: 50%; | |
/* padding-bottom: 25%; */ | |
} |
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
//Admin Toolbar style fix | |
#admin-menu-wrapper, #admin-menu-wrapper ul { | |
font-size: 11px; | |
} | |
// Remove first time div on home page | |
div#first-time { | |
display: none; | |
} | |
// Remove reveal background | |
.reveal-modal-bg{ |
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 | |
function hook_preprocess_html(&$variables) { | |
} | |
function hook_preprocess_page(&$variables) { | |
if ($node = menu_get_object()) { | |
$variables['node'] = $node; | |
} |
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
<!--.page --> | |
<div role="document" class="page"> | |
<!-- START HEADER | |
************************************ --> | |
<header role="banner" class="l-header"> | |
<!-- TOP BAR --> | |
<?php if ($top_bar): ?> |
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
$(document).on('opened.fndtn.reveal', '[data-reveal]', function () { | |
var modal = $(this); | |
modal.find('[autofocus]').focus(); | |
}); |
NewerOlder