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
#!/bin/sh | |
# UPDATE DRUPAL CORE | |
yes | drush up drupal | |
# UPDATE MODULES | |
yes | drush up --no-core | |
# CLEANOUT FILES | |
drush cu | |
# COPY PATH | |
location=$(pwd) |
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
#!/bin/sh | |
location=$(pwd) | |
PSU=`echo $location| cut -d'.' -f 1` | |
echo $PSU | |
#PSUSTRING=`echo $PSU| cut -d'/' -f 1` | |
#PSUSTRING=`echo $PSU|tail -c 10` | |
#echo $PSUSTRING | |
# SUBSTRING=`echo $INPUT| cut -d'_' -f 2` |
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:nth-child(3):last-child { | |
/* I'm the last of three */ | |
} |
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="card"> | |
<h2><?php print render($content['field_card_title']); ?></h2> | |
<?php print render($content['field_card_image']); ?> | |
<?php print render($content['field_card_link']); ?></li> | |
</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
<main role="main" class="row l-main"> | |
<!-- sidebar region ( PUSHED TO RIGHT ON LARGE ) --> | |
<aside role="complementary" class="sidebar-second small-12 medium-6 large-3 large-push-9 columns sidebar"> | |
<?php print render($page['sidebar_second']); ?> | |
</aside> | |
<!-- .l-main region ( PULLED TO LEFT ON LARGE ) --> | |
<div class="main small-12 medium-12 large-9 large-pull-3 columns"> | |
<?php print render($page['content']); ?> | |
</div> | |
</main |
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(); | |
}); |
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
<?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
//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
.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%; */ | |
} |
OlderNewer