This file contains hidden or 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
| /* Safari */ | |
| @media screen and (-webkit-min-device-pixel-ratio:0) { | |
| .article-item { float: none; margin-left: 1.6%;} | |
| } |
This file contains hidden or 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
| $('#searchBox').keyup(function(){ | |
| $('div.search-wrap').addClass('value-added') | |
| }) | |
| $('#searchBox').blur(function(){ | |
| if(!this.value){this.value=this.defaultValue;} | |
| if(this.value==this.defaultValue){ | |
| $('div.search-wrap').removeClass('value-added') | |
| } |
This file contains hidden or 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
| <html !DOCTYPE html> | |
| <head> | |
| <style> | |
| /* Animated cursor style */ | |
| .animated-cursor{cursor: none;} | |
| .mood_circle{width: 60px; height: 60px; border-radius: 50%; pointer-events: none; -webkit-transform-origin: center; transform-origin: center; z-index: 99; opacity: 0; transition: .5s opacity ease; transition: .5s opacity ease; position: absolute; display: block;} | |
| .start-event .mood_circle{opacity: .9;} | |
| .mood_circle__inner{position: absolute; top: 0; left: 0; width: 100%; border-radius: 50%; height: 100%; background-color: #40d1bd; transition: .5s -webkit-transform cubic-bezier(.165, .84, .44, 1); transition: .5s transform cubic-bezier(.165, .84, .44, 1); -webkit-transform: scale(0); transform: scale(0) } |
This file contains hidden or 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
| function wrapFirstWord () { // This function for select first word. | |
| // Select only the first text node | |
| var node = $("div").contents().filter(function () { | |
| return this.nodeType == 3; | |
| }).first(), | |
| // Get the text... | |
| text = node.text(), |
This file contains hidden or 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
| var slider = $('#work-carousel'); // Add yoru slider id here | |
| slider.on('mousewheel DOMMouseScroll', function(event) { | |
| event.preventDefault(); | |
| if(event.originalEvent.wheelDelta > 0 || event.originalEvent.detail < 0) { | |
| slider.slick('slickPrev'); |
This file contains hidden or 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
| $("ul.tabs").each(function(){ | |
| var $_this = $(this); | |
| $_this.find(">li").eq(0).addClass("active"); | |
| $_this.parent().find("div.tab-content-wrap > div.pane").hide(); | |
| $_this.parent().find("div.tab-content-wrap > div.pane").eq(0).show(); | |
This file contains hidden or 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
| ;(function($){ | |
| $(function(){ | |
| // This function for create separate word from a tag. | |
| $('.hero-content h1').each(function(){ | |
| var $_this = $(this); | |
| var words = $_this.text().split(" "); | |
| $_this.empty(); | |
| $.each(words, function(i, v){ | |
| $_this.append($("<dfn>").text(v + " ")); | |
| }); |
This file contains hidden or 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
| <head> | |
| <script> | |
| $().ready(function (e) { | |
| $('.slickslide').slick({ | |
| dots: true, | |
| infinite: true, | |
| speed: 500, | |
| fade: false, | |
| slide: 'li', |
This file contains hidden or 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
| <!-- html structure --> | |
| <a class="popup-youtube" href="https://www.youtube.com/watch?v=UbMCjJsCsok"><span>Watch the setup video</span><figure><img src="svgs/icn_ui_play_large.svg" width="32" height="32" alt="WatchBTN"></figure></a> | |
| <!-- Scripting function --> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { | |
| $('.popup-youtube, .popup-vimeo').magnificPopup({ | |
| disableOn: 700, | |
| type: 'iframe', | |
| mainClass: 'mfp-fade', |