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
/* Sass Variables for UCLA Color Palette c. Sept 2004 */ | |
// Identity Colors | |
$uclablue : rgb(83,104,149); // #536895 | |
$uclagold : rgb(255,187,54); // #ffb300 | |
// Secondary palette | |
// Full Intensity Colors |
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
/* New UCLA Color Palette ver. 1 release 03/23/2012 */ | |
// Primary color | |
$uclablue : rgb(50, 132, 191); // #3399cc | |
// Secondary Colors | |
$uclagold : rgb(254,187,54); // #ffb300 | |
$uclayellow : rgb(255,232,0); // #ffe800 |
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
// University of California Color Palette | |
// http://brand.universityofcalifornia.edu/guidelines/color.html | |
// Primary Colors | |
$ucblue : rgb(18,149,216); //#1295D8 | |
$ucgold : rgb(255,181,17); //#ffb511 | |
$blue-uc : rgb(0,85,129); //#005581 | |
$liteblue-uc : rgb(114,205,244); //#72CDF4 | |
$gold-uc : rgb(255,210,0); //#ffd200 | |
$litegold-uc : rgb(255,229,82); //#ffe552; |
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
<perch:before> | |
<!-- open slider-container --> | |
<div class="slider-container"> | |
<!-- open flexslider --> | |
<div class="flexslider"> | |
<ul class="slides"> | |
</perch:before> | |
<li><a href="<perch:content id="link" type="text" label="Hyperlink" help="This is the link where you want user to go to." required="true" order="4" />"><img class="img-rounded" rel="caption1" src="<perch:content id="image" type="image" label="Slide image" width="640" height="360" crop="true" order="2" required="true" help="Image will be cropped to 640 x 360" bucket="images" />" alt="<perch:content id="alt" type="text" label="Image description" order="3" />" /></a><div class="flex-caption" style="bottom: 0;"><h1><a href="<perch:content id="link" type="text" label="Hyperlink" help="This link can go to a page on our site or an external site." />"><perch:content id="heading" title="true" type="smarttext" label="Heading" help="This is the title. Max length is 100 characters and then heading on slider will append ..." required="true" order="1" chars="100 |
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
<perch:repeater id="carousel_images" label="Carousel Images" scope-parent="true"> | |
<perch:before> | |
<div class="owl-custom-carousel owl-carousel owl-theme"> | |
</perch:before> | |
<div class="item"> | |
<img src="<perch:content id="carousel_image" type="image" label="Image" order="1" required="true" bucket="images" />" alt="<perch:content id="alt" type="text" label="Image description" order="2" />" /> | |
<perch:if exists="carousel_image_caption"><div class="owl-caption"> | |
<perch:content id="carousel_image_caption" title="true" type="smarttext" label="Image Caption" help="This is the caption for your image." required="false" order="3" /></div></perch:if> | |
</div> | |
<perch:after> |
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
<pre> | |
<code class="<perch:content id="code_snippet" type="select" options="Markup|language-markup,CSS|language-css,JavaScript|language-javascript,SCSS|language-scss,PHP|language-php,Markdown|language-markdown,Git|language-git,Python|language-python,React JSX|language-jsx" label="Kind of code snippet" help="Select from the options what kind of code snippet this is so we can target an approate css selector." allowempty="true" />"> | |
<perch:content id="textarea" type="textarea" label="Code" html="false" markdown="false" size="l" /> | |
</code> | |
</pre> |
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
In my global header layout file I use | |
<?php | |
if (perch_layout_has('blog-post')) { | |
perch_blog_post_meta(perch_get('s')); | |
} elseif (perch_layout_has('collection-post')) { | |
echo '<title>' . perch_layout_var('title', true) . '</title>'; | |
} | |
else{ | |
echo '<title>' . perch_pages_title(true) . '</title>'; |
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
// UCLA Color Palette 2016 | |
// Primary Colors | |
$uclablue : rgb(50, 132, 191); // #3284bf | |
$uclagold : rgb(254,187,54); // #ffe800 | |
$uclabluetext : rgb(52,123,173); // #347bad | |
// Secondary Colors | |
$ucladarkblue : rgb(30,75,135); // #1e4b87 | |
$uclaliteblue : rgb(0,165,229); // #00a5e5 |
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
<perch:repeater id="authors" label="Author(s)" order="2"> | |
<perch:content id="firstname" type="smarttext" chars="1" label="First Name/Initial" required="true" /><perch:if exists="firstname">. </perch:if><perch:content id="middlename" type="smarttext" chars="1" label="Middle Name/Initial"/><perch:if exists="middlename">. </perch:if> <perch:content id="lastname" type="smarttext" label="Last Name" required="true"/><perch:if not-exists="perch_item_last">, <perch:else />. </perch:if> | |
</perch:repeater> |
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
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
OlderNewer