1
Fork 0

Remove search, maybe add later

This commit is contained in:
Jake Howard 2017-11-10 15:13:45 +00:00
parent 14e1a8f1d6
commit a25bf356c9
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 0 additions and 32 deletions

View file

@ -1,5 +0,0 @@
---
title: Search
linkTitle: 🔎
layout: search
---

View file

@ -6,7 +6,6 @@ require('bootstrap');
// Install alpha things
require('lightgallery/dist/js/lightgallery');
require('lg-thumbnail/dist/lg-thumbnail');
require('./search');
$('.image').each(function () { // setup div-image hybrids

View file

@ -1,18 +0,0 @@
'use strict';
$(document).ready(function() {
var FADE_SETTINGS = {
duration: 400
};
$('input#search').keyup(function() {
var filter = new RegExp($(this).val(), 'gi');
$('div.search-results > div').each(function() {
if ($(this).text().search(filter) === -1) {
$(this).fadeOut(FADE_SETTINGS);
} else {
$(this).fadeIn(FADE_SETTINGS);
}
});
});
});

View file

@ -83,14 +83,6 @@ code {
}
}
.search-input-container {
margin: 20px 40px;
input {
text-align: center;
}
}
table td {
vertical-align: middle;
}