commit db02b30ddbeaec1d18c1cee8056f07f8d6a0b13c Author: Peter Molnar Date: Wed Jun 5 10:26:29 2019 +0100 initial version diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17fecf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +flickr.json diff --git a/html5shiv-printshiv.min.js b/html5shiv-printshiv.min.js new file mode 100644 index 0000000..e68716c --- /dev/null +++ b/html5shiv-printshiv.min.js @@ -0,0 +1,4 @@ +/** +* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed +*/ +!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=y.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=y.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),y.elements=c+" "+a,j(b)}function f(a){var b=x[a[v]];return b||(b={},w++,a[v]=w,x[w]=b),b}function g(a,c,d){if(c||(c=b),q)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():u.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||t.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),q)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return y.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(y,b.frag)}function j(a){a||(a=b);var d=f(a);return!y.shivCSS||p||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),q||i(a,d),a}function k(a){for(var b,c=a.getElementsByTagName("*"),e=c.length,f=RegExp("^(?:"+d().join("|")+")$","i"),g=[];e--;)b=c[e],f.test(b.nodeName)&&g.push(b.applyElement(l(b)));return g}function l(a){for(var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(A+":"+a.nodeName);d--;)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function m(a){for(var b,c=a.split("{"),e=c.length,f=RegExp("(^|[\\s,>+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),g="$1"+A+"\\:$2";e--;)b=c[e]=c[e].split("}"),b[b.length-1]=b[b.length-1].replace(f,g),c[e]=b.join("}");return c.join("{")}function n(a){for(var b=a.length;b--;)a[b].removeNode()}function o(a){function b(){clearTimeout(g._removeSheetTimer),d&&d.removeNode(!0),d=null}var d,e,g=f(a),h=a.namespaces,i=a.parentWindow;return!B||a.printShived?a:("undefined"==typeof h[A]&&h.add(A),i.attachEvent("onbeforeprint",function(){b();for(var f,g,h,i=a.styleSheets,j=[],l=i.length,n=Array(l);l--;)n[l]=i[l];for(;h=n.pop();)if(!h.disabled&&z.test(h.media)){try{f=h.imports,g=f.length}catch(o){g=0}for(l=0;g>l;l++)n.push(f[l]);try{j.push(h.cssText)}catch(o){}}j=m(j.reverse().join("")),e=k(a),d=c(a,j)}),i.attachEvent("onafterprint",function(){n(e),clearTimeout(g._removeSheetTimer),g._removeSheetTimer=setTimeout(b,500)}),a.printShived=!0,a)}var p,q,r="3.7.3",s=a.html5||{},t=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,v="_html5shiv",w=0,x={};!function(){try{var a=b.createElement("a");a.innerHTML="",p="hidden"in a,q=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){p=!0,q=!0}}();var y={elements:s.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:r,shivCSS:s.shivCSS!==!1,supportsUnknownElements:q,shivMethods:s.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=y,j(b);var z=/^$|\b(?:all|print)\b/,A="html5shiv",B=!q&&function(){var c=b.documentElement;return!("undefined"==typeof b.namespaces||"undefined"==typeof b.parentWindow||"undefined"==typeof c.applyElement||"undefined"==typeof c.removeNode||"undefined"==typeof a.attachEvent)}();y.type+=" print",y.shivPrint=o,o(b),"object"==typeof module&&module.exports&&(module.exports=y)}("undefined"!=typeof window?window:this,document); \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..bf73124 --- /dev/null +++ b/index.php @@ -0,0 +1,324 @@ + + + + + Not found + + +

This was not found.

+ + + '); +} + + +if(!file_exists('gallery.html')) { + $flickr = json_decode(file_get_contents('flickr.json'), TRUE); + $flickr['method'] = "flickr.photosets.getPhotos"; + $flickr['extras'] = "media,url_m,url_l"; + $flickr['per_page'] = "500"; + $flickr['format'] = "json"; + $flickr['nojsoncallback'] = "1"; + $url = sprintf('https://www.flickr.com/services/rest/?%s',http_build_query($flickr)); + $r = json_decode(file_get_contents($url), TRUE); + $photos = array(); + foreach($r['photoset']['photo'] as $photo) { + if($photo['media'] != 'photo') { + continue; + } + $et = sprintf( + '%s
%s
', + $photo['url_l'], // href + $photo['url_m'], // src + $photo['width_m'], // width + $photo['height_m'], // height + '', // alt + $photo['title'] // caption + ); + array_push($photos, $et); + } + + $gs = ' + + '; + $t = sprintf( + '%s', + join("\n", $photos), + $gs + ); + file_put_contents('gallery.html', $t); +} + +$stat = stat($try_html); +$meta = json_decode(file_get_contents($try_json), TRUE); +$meta['author'] = &$org; +$meta['publisher'] = &$org; +$meta['dateModified'] = date("c", $stat['mtime']); +$meta['datePublished'] = date("c", $stat['ctime']); +$meta['copyrightYear'] = date("Y", $stat['mtime']); +$meta['url'] = ('index' == $maybe) ? $site['url'] : sprintf("%s?%s", $site['url'], $maybe); +$meta['@id'] = $meta['url']; +$meta['mainEntityOfPage'] = sprintf("%s#main", $meta['url']); +if (!isset($meta['image']) or empty($meta['image'])) { + $meta['image'] = 'https://static.wixstatic.com/media/80d0c2_39d26f9a66974eadbe85d107a0bb971d~mv2.png'; +} + +$content = file_get_contents($try_html); +$content = str_replace("INSERT_GALLERY_HERE", file_get_contents('gallery.html'), $content); +$meta['text'] = $content; + +$site['author'] = &$org; +$site['publisher'] = &$org; +$site['url'] = sprintf("%s/", rtrim($site['url'], '/')); +$site['mainEntity'] = &$meta; + + +?> + + + <?php echo($meta['headline']); ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + +
+
+ +
+ + + +
+ + + + + diff --git a/jquery-3.4.1.min.js b/jquery-3.4.1.min.js new file mode 100644 index 0000000..a1c07fd --- /dev/null +++ b/jquery-3.4.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0'),intervalId:null},this.scrollBarOn=!1,this.checkWidthIntervalId=null,this.galleryWidth=t.width(),this.$gallery=t};r.prototype.getSuffix=function(t,i){var e,s;for(e=i .caption");return 0===i.length?null:i},r.prototype.displayEntry=function(t,i,e,s,n,r){t.width(s),t.height(r),t.css("top",e),t.css("left",i);var o=this.imgFromEntry(t);if(null!==o){o.css("width",s),o.css("height",n),o.css("margin-left",-s/2),o.css("margin-top",-n/2);var a=o.attr("src"),h=this.newSrc(a,s,n,o[0]);o.one("error",function(){o.attr("src",o.data("jg.originalSrc"))});var l=function(){a!==h&&o.attr("src",h)};"skipped"===t.data("jg.loaded")?this.onImageEvent(a,g.proxy(function(){this.showImg(t,l),t.data("jg.loaded",!0)},this)):this.showImg(t,l)}else this.showImg(t);this.displayEntryCaption(t)},r.prototype.displayEntryCaption=function(t){var i=this.imgFromEntry(t);if(null!==i&&this.settings.captions){var e=this.captionFromEntry(t);if(null===e){var s=i.attr("alt");this.isValidCaption(s)||(s=t.attr("title")),this.isValidCaption(s)&&(e=g('
'+s+"
"),t.append(e),t.data("jg.createdCaption",!0))}null!==e&&(this.settings.cssAnimation||e.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},r.prototype.isValidCaption=function(t){return void 0!==t&&0this.settings.justifyThreshold;if(t&&"hide"===this.settings.lastRow&&!u){for(i=0;i img, > a > img").fadeTo(0,0));return-1}for(t&&!u&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(o=!1,0this.settings.justifyThreshold)),i=0;ig(window).height()}r.prototype.rememberGalleryHeight=function(){i=this.$gallery.height(),this.$gallery.height(i)},r.prototype.setGalleryTempHeight=function(t){i=Math.max(t,i),this.$gallery.height(i)},r.prototype.setGalleryFinalHeight=function(t){i=t,this.$gallery.height(t)},r.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval(g.proxy(function(){if(this.$gallery.is(":visible")){var t=parseFloat(this.$gallery.width());e()===this.scrollBarOn?Math.abs(t-this.galleryWidth)>this.settings.refreshSensitivity&&(this.galleryWidth=t,this.rewind(),this.rememberGalleryHeight(),this.startImgAnalyzer(!0)):(this.scrollBarOn=e(),this.galleryWidth=t)}},this),this.settings.refreshTime)},r.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},r.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},r.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.setGalleryTempHeight(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},r.prototype.startLoadingSpinnerAnimation=function(){var t=this.spinner,i=t.$el.find("span");clearInterval(t.intervalId),this.$gallery.append(t.$el),this.setGalleryTempHeight(this.offY+this.buildingRow.height+this.getSpinnerHeight()),t.intervalId=setInterval(function(){t.phase=this.yield.every))return void this.startImgAnalyzer(t);this.buildingRow.entriesBuff.push(e),this.buildingRow.aspectRatio+=n,this.buildingRow.width+=n*this.settings.rowHeight,this.lastAnalyzedIndex=i}else if("error"!==e.data("jg.loaded"))return}0 img, > a > img",triggerEvent:function(t){this.$gallery.trigger(t)}},g.fn.justifiedGallery=function(n){return this.each(function(t,i){var e=g(i);e.addClass("justified-gallery");var s=e.data("jg.controller");if(void 0===s){if(null!=n&&"object"!==g.type(n)){if("destroy"===n)return;throw"The argument must be an object"}s=new r(e,g.extend({},r.prototype.defaults,n)),e.data("jg.controller",s)}else if("norewind"===n);else{if("destroy"===n)return void s.destroy();s.updateSettings(n),s.rewind()}s.updateEntries("norewind"===n)&&s.init()})}}); \ No newline at end of file diff --git a/jquery.magnific-popup.min.js b/jquery.magnific-popup.min.js new file mode 100644 index 0000000..6ee3a3b --- /dev/null +++ b/jquery.magnific-popup.min.js @@ -0,0 +1,4 @@ +/*! Magnific Popup - v1.1.0 - 2016-02-20 +* http://dimsemenov.com/plugins/magnific-popup/ +* Copyright (c) 2016 Dmitry Semenov; */ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("
");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()}); \ No newline at end of file diff --git a/justifiedGallery.min.css b/justifiedGallery.min.css new file mode 100644 index 0000000..8b753dc --- /dev/null +++ b/justifiedGallery.min.css @@ -0,0 +1,102 @@ +/*! + * justifiedGallery - v3.7.0 + * http://miromannino.github.io/Justified-Gallery/ + * Copyright (c) 2018 Miro Mannino + * Licensed under the MIT license. + */ +.justified-gallery { + width: 100%; + position: relative; + overflow: hidden; +} +.justified-gallery > a, +.justified-gallery > div, +.justified-gallery > figure { + position: absolute; + display: inline-block; + overflow: hidden; + /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */ + filter: "alpha(opacity=10)"; + opacity: 0.1; + margin: 0; + padding: 0; +} +.justified-gallery > a > img, +.justified-gallery > div > img, +.justified-gallery > figure > img, +.justified-gallery > a > a > img, +.justified-gallery > div > a > img, +.justified-gallery > figure > a > img { + position: absolute; + top: 50%; + left: 50%; + margin: 0; + padding: 0; + border: none; + filter: "alpha(opacity=0)"; + opacity: 0; +} +.justified-gallery > a > .caption, +.justified-gallery > div > .caption, +.justified-gallery > figure > .caption { + display: none; + position: absolute; + bottom: 0; + padding: 5px; + background-color: #000000; + left: 0; + right: 0; + margin: 0; + color: white; + font-size: 12px; + font-weight: 300; + font-family: sans-serif; +} +.justified-gallery > a > .caption.caption-visible, +.justified-gallery > div > .caption.caption-visible, +.justified-gallery > figure > .caption.caption-visible { + display: initial; + filter: "alpha(opacity=70)"; + opacity: 0.7; + -webkit-transition: opacity 500ms ease-in; + -moz-transition: opacity 500ms ease-in; + -o-transition: opacity 500ms ease-in; + transition: opacity 500ms ease-in; +} +.justified-gallery > .entry-visible { + filter: "alpha(opacity=100)"; + opacity: 1; + background: none; +} +.justified-gallery > .entry-visible > img, +.justified-gallery > .entry-visible > a > img { + filter: "alpha(opacity=100)"; + opacity: 1; + -webkit-transition: opacity 500ms ease-in; + -moz-transition: opacity 500ms ease-in; + -o-transition: opacity 500ms ease-in; + transition: opacity 500ms ease-in; +} +.justified-gallery > .jg-filtered { + display: none; +} +.justified-gallery > .spinner { + position: absolute; + bottom: 0; + margin-left: -24px; + padding: 10px 0 10px 0; + left: 50%; + filter: "alpha(opacity=100)"; + opacity: 1; + overflow: initial; +} +.justified-gallery > .spinner > span { + display: inline-block; + filter: "alpha(opacity=0)"; + opacity: 0; + width: 8px; + height: 8px; + margin: 0 4px 0 4px; + background-color: #000; + border-radius: 6px; +} diff --git a/magnific-popup.css b/magnific-popup.css new file mode 100644 index 0000000..8561e18 --- /dev/null +++ b/magnific-popup.css @@ -0,0 +1,351 @@ +/* Magnific Popup CSS */ +.mfp-bg { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1042; + overflow: hidden; + position: fixed; + background: #0b0b0b; + opacity: 0.8; } + +.mfp-wrap { + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 1043; + position: fixed; + outline: none !important; + -webkit-backface-visibility: hidden; } + +.mfp-container { + text-align: center; + position: absolute; + width: 100%; + height: 100%; + left: 0; + top: 0; + padding: 0 8px; + box-sizing: border-box; } + +.mfp-container:before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; } + +.mfp-align-top .mfp-container:before { + display: none; } + +.mfp-content { + position: relative; + display: inline-block; + vertical-align: middle; + margin: 0 auto; + text-align: left; + z-index: 1045; } + +.mfp-inline-holder .mfp-content, +.mfp-ajax-holder .mfp-content { + width: 100%; + cursor: auto; } + +.mfp-ajax-cur { + cursor: progress; } + +.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { + cursor: -moz-zoom-out; + cursor: -webkit-zoom-out; + cursor: zoom-out; } + +.mfp-zoom { + cursor: pointer; + cursor: -webkit-zoom-in; + cursor: -moz-zoom-in; + cursor: zoom-in; } + +.mfp-auto-cursor .mfp-content { + cursor: auto; } + +.mfp-close, +.mfp-arrow, +.mfp-preloader, +.mfp-counter { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; } + +.mfp-loading.mfp-figure { + display: none; } + +.mfp-hide { + display: none !important; } + +.mfp-preloader { + color: #CCC; + position: absolute; + top: 50%; + width: auto; + text-align: center; + margin-top: -0.8em; + left: 8px; + right: 8px; + z-index: 1044; } + .mfp-preloader a { + color: #CCC; } + .mfp-preloader a:hover { + color: #FFF; } + +.mfp-s-ready .mfp-preloader { + display: none; } + +.mfp-s-error .mfp-content { + display: none; } + +button.mfp-close, +button.mfp-arrow { + overflow: visible; + cursor: pointer; + background: transparent; + border: 0; + -webkit-appearance: none; + display: block; + outline: none; + padding: 0; + z-index: 1046; + box-shadow: none; + touch-action: manipulation; } + +button::-moz-focus-inner { + padding: 0; + border: 0; } + +.mfp-close { + width: 44px; + height: 44px; + line-height: 44px; + position: absolute; + right: 0; + top: 0; + text-decoration: none; + text-align: center; + opacity: 0.65; + padding: 0 0 18px 10px; + color: #FFF; + font-style: normal; + font-size: 28px; + font-family: Arial, Baskerville, monospace; } + .mfp-close:hover, + .mfp-close:focus { + opacity: 1; } + .mfp-close:active { + top: 1px; } + +.mfp-close-btn-in .mfp-close { + color: #333; } + +.mfp-image-holder .mfp-close, +.mfp-iframe-holder .mfp-close { + color: #FFF; + right: -6px; + text-align: right; + padding-right: 6px; + width: 100%; } + +.mfp-counter { + position: absolute; + top: 0; + right: 0; + color: #CCC; + font-size: 12px; + line-height: 18px; + white-space: nowrap; } + +.mfp-arrow { + position: absolute; + opacity: 0.65; + margin: 0; + top: 50%; + margin-top: -55px; + padding: 0; + width: 90px; + height: 110px; + -webkit-tap-highlight-color: transparent; } + .mfp-arrow:active { + margin-top: -54px; } + .mfp-arrow:hover, + .mfp-arrow:focus { + opacity: 1; } + .mfp-arrow:before, + .mfp-arrow:after { + content: ''; + display: block; + width: 0; + height: 0; + position: absolute; + left: 0; + top: 0; + margin-top: 35px; + margin-left: 35px; + border: medium inset transparent; } + .mfp-arrow:after { + border-top-width: 13px; + border-bottom-width: 13px; + top: 8px; } + .mfp-arrow:before { + border-top-width: 21px; + border-bottom-width: 21px; + opacity: 0.7; } + +.mfp-arrow-left { + left: 0; } + .mfp-arrow-left:after { + border-right: 17px solid #FFF; + margin-left: 31px; } + .mfp-arrow-left:before { + margin-left: 25px; + border-right: 27px solid #3F3F3F; } + +.mfp-arrow-right { + right: 0; } + .mfp-arrow-right:after { + border-left: 17px solid #FFF; + margin-left: 39px; } + .mfp-arrow-right:before { + border-left: 27px solid #3F3F3F; } + +.mfp-iframe-holder { + padding-top: 40px; + padding-bottom: 40px; } + .mfp-iframe-holder .mfp-content { + line-height: 0; + width: 100%; + max-width: 900px; } + .mfp-iframe-holder .mfp-close { + top: -40px; } + +.mfp-iframe-scaler { + width: 100%; + height: 0; + overflow: hidden; + padding-top: 56.25%; } + .mfp-iframe-scaler iframe { + position: absolute; + display: block; + top: 0; + left: 0; + width: 100%; + height: 100%; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: #000; } + +/* Main image in popup */ +img.mfp-img { + width: auto; + max-width: 100%; + height: auto; + display: block; + line-height: 0; + box-sizing: border-box; + padding: 40px 0 40px; + margin: 0 auto; } + +/* The shadow behind the image */ +.mfp-figure { + line-height: 0; } + .mfp-figure:after { + content: ''; + position: absolute; + left: 0; + top: 40px; + bottom: 40px; + display: block; + right: 0; + width: auto; + height: auto; + z-index: -1; + box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); + background: #444; } + .mfp-figure small { + color: #BDBDBD; + display: block; + font-size: 12px; + line-height: 14px; } + .mfp-figure figure { + margin: 0; } + +.mfp-bottom-bar { + margin-top: -36px; + position: absolute; + top: 100%; + left: 0; + width: 100%; + cursor: auto; } + +.mfp-title { + text-align: left; + line-height: 18px; + color: #F3F3F3; + word-wrap: break-word; + padding-right: 36px; } + +.mfp-image-holder .mfp-content { + max-width: 100%; } + +.mfp-gallery .mfp-image-holder .mfp-figure { + cursor: pointer; } + +@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { + /** + * Remove all paddings around the image on small screen + */ + .mfp-img-mobile .mfp-image-holder { + padding-left: 0; + padding-right: 0; } + .mfp-img-mobile img.mfp-img { + padding: 0; } + .mfp-img-mobile .mfp-figure:after { + top: 0; + bottom: 0; } + .mfp-img-mobile .mfp-figure small { + display: inline; + margin-left: 5px; } + .mfp-img-mobile .mfp-bottom-bar { + background: rgba(0, 0, 0, 0.6); + bottom: 0; + margin: 0; + top: auto; + padding: 3px 5px; + position: fixed; + box-sizing: border-box; } + .mfp-img-mobile .mfp-bottom-bar:empty { + padding: 0; } + .mfp-img-mobile .mfp-counter { + right: 5px; + top: 3px; } + .mfp-img-mobile .mfp-close { + top: 0; + right: 0; + width: 35px; + height: 35px; + line-height: 35px; + background: rgba(0, 0, 0, 0.6); + position: fixed; + text-align: center; + padding: 0; } } + +@media all and (max-width: 900px) { + .mfp-arrow { + -webkit-transform: scale(0.75); + transform: scale(0.75); } + .mfp-arrow-left { + -webkit-transform-origin: 0; + transform-origin: 0; } + .mfp-arrow-right { + -webkit-transform-origin: 100%; + transform-origin: 100%; } + .mfp-container { + padding-left: 6px; + padding-right: 6px; } } diff --git a/org.json b/org.json new file mode 100644 index 0000000..f1a2162 --- /dev/null +++ b/org.json @@ -0,0 +1,78 @@ +{ + "@context": "http://schema.org", + "@type": "EducationalOrganization", + "logo": { + "@context": "http://schema.org", + "@type": "ImageObject", + "url": "https://pakuauk.com/favicon.png" + }, + "url": "https://pakuauk.com/", + "name": "pakuauk.com", + "email": "info@pakuauk.com", + "contactPoint" : [ + { + "@type" : "ContactPoint", + "telephone" : "+441223852904", + "contactType" : "customer service", + "areaServed" : "Cambridgeshire", + "email": "cambridge@pakuauk.com" + } + ], + "address": [ + { + "@type": "PostalAddress", + "name": "Hills Road Sixth Form College", + "postalCode": "CB2 8PE", + "addressLocality": "Cambridge", + "addressRegion": "Cambridgeshire", + "streetAddress": "Hills Rd", + "addressCountry": "GB", + "url": "https://goo.gl/maps/r2SvugeKpDw", + "openingHoursSpecification": { + "@type": "OpeningHoursSpecification", + "opens": "19:00:00", + "closes": "21:00:00", + "dayOfWeek": [ + "http://schema.org/Tuesday", + "http://schema.org/Thursday" + ] + } + }, + { + "@type": "PostalAddress", + "name": "Parkside Community College", + "postalCode": "CB1 1EH", + "addressLocality": "Cambridge", + "addressRegion": "Cambridgeshire", + "streetAddress": "Parkside", + "addressCountry": "GB", + "url": "https://goo.gl/maps/YgbmqtWvSD12", + "openingHoursSpecification": { + "@type": "OpeningHoursSpecification", + "opens": "17:00:00", + "closes": "18:00:00", + "dayOfWeek": [ + "http://schema.org/Tuesday" + ] + } + }, + { + "@type": "PostalAddress", + "name": "Saint Mark's Church Community Centre", + "postalCode": "MK41 7UY", + "addressLocality": "Bedford", + "addressRegion": "Bedfordshire", + "streetAddress": "7 Calder Rise", + "addressCountry": "GB", + "url": "https://goo.gl/maps/agiXVoB2v432", + "openingHoursSpecification": { + "@type": "OpeningHoursSpecification", + "opens": "18:30:00", + "closes": "19:30:00", + "dayOfWeek": [ + "http://schema.org/Friday" + ] + } + } + ] +} diff --git a/page/_unused_disciplines.html b/page/_unused_disciplines.html new file mode 100644 index 0000000..3105711 --- /dev/null +++ b/page/_unused_disciplines.html @@ -0,0 +1,164 @@ + + +
+ +
+

Reflexology

+

+
More +

+ According to Reflexology's ancient Oriental philosophy there is an intrinsic relationship among all things, which is reflected in different levels. A small part of the body can influence the whole body, and vice versa. It can also serve as a map of its functioning. The study of those "micro-bodies" and their beneficial influences, in addition to other related exercises, are the basis of Reflexology classes in the Pa-Kua school. +

+

+ Through the study of traditional and comprehensive techniques, reflexology accelerates the body's own healing process, helping it to return to a natural state of balance. In addition, it preserves our vitality and keeps stress at healthy levels. Those benefits are obtained through manipulations of the "micro-bodies" such as the feet, hands and ears. Learning how to stimulate those body parts with massages, can promote healing or prevent organ imbalances. +

+

+ Benefits of the practice: +

+
    +
  • + Strengthens the body's immune system +
  • +
  • + Increases flexibility +
  • +
  • + Control and harmonization of breathing +
  • +
  • + Harmonization of the internal energy +
  • +
  • + Greater physical awareness +
  • +
  • + Physical and mental wellbeing +
  • +
+
+
+ +
+ +
+

Syntony

+

+
More +

+ In their constant search for answers, our ancestors realised that the key to understanding the Universe was self-study; achieving "Sintony" between themselves and the world around them. It is imperative, therefore, to work on harmonising our minds and body by practising movements and meditations that strengthen this connection. In the Pa-Kua School, this study is called Sintony, also known as Chinese Yoga; a path to self-knowledge through stretches, poses, breathing techniques, and meditation. +

+

+ Sintony promotes excellent physical conditioning; movements tone and strengthen the body developing muscle mass while burning calories. Specifically, stretching exercises increase the students' flexibility, and help prevent injuries, whilst meditations oxygenate the body and regulate the cardiovascular system. The students will also learn techniques to relieve stress and achieve a state of tranquillity in their day-to day activities. +

+

+ Benefits of the practice: +

+
    +
  • + Controls stress +
  • +
  • + Promotes relaxation and tranquillity +
  • +
  • + Improves physical posture +
  • +
  • + Greater stretching and flexibility +
  • +
  • + Harmonisation of metabolism +
  • +
  • + Muscle sculpting +
  • +
  • + Helps confront and control the ego +
  • +
+ +
+
+ +
+ +
+

Energy

+

+
More +

+ Traditional Chinese Medicine is one of the oldest healing arts and it's comprehensive classification of the human bioenergetics system is used worldwide. It not only uses effective methods of healing through acupressure and massages, but also offers therapeutic movements, study of nutrition, observations of daily habits, and identification of a person's disharmonies. Only through a holistic vision of the treatment can one reach the heart of the problem rather than treat symptoms. +

+

+ This comprehensive approach is the basic principle of the Pa-Kua Energy discipline, which teaches and trains in the traditional techniques of manipulation and study of the internal energy, in order to improve a person's overall health, strength and vitality. +

+

+ The regular practice of Pa-Kua Energy includes a variety of techniques that improve the vitality of the body and mind. The student also acquires knowledge in nutrition, energy pathways, massages, the theory of the Five Elements, the concept of Yin Yang, and much more. +

+

+ Classes are open to anyone who has an interest in learning and practicing these ancient techniques for better health and a longer life. +

+

+ Benefits of the practice: +

+
    +
  • + Regulating the Energy Cycles +
  • +
  • + Harmonisation of the metabolism +
  • +
  • + Improvement of general condition of the body +
  • +
  • + Increases energy and improves mental disposition +
  • +
  • + Learn contemporary practical applications of Traditional Chinese Medicine +
  • +
+ +
+
+ +
+ +
+

Rhythm

+

+
More +

+ Music and dance have accompanied human beings since ancient times. Sounds and vibrations generate various mental and physical effects, and therefore, have a great influence on us. This power has been utilised for multiple purposes, ranging from entertainment to spirituality, meditation to, even, preparation for combat. That study is an important source of knowledge that helps overcome our physical limitations. In the Pa-Kua school this is exemplified by Pa-Kua Rhythm, a combination of music and martial art. +

+

+ Basic attacks using the legs and hands are combined to achieve velocity and explosion. +

+

+ Reflexes will improve through an exciting regimen with a partner, using the rhythm of music to get in tune one with another. Strength and physical stamina are improved through routines that use punching bag and gloves, also improving both movement and posture wile hitting. You will burn calories while learning the principles of martial art in a fun and high energy class. +

+

+ Benefits of the practice: +

+
    +
  • + Weight loss +
  • +
  • + Stress relief +
  • +
  • + Endurance +
  • +
  • + Improved coordination and core strength +
  • +
  • + Harmonizes bio-rhythms +
  • +
  • + Fun and relaxation to the rhythm of music +
  • +
+
+
diff --git a/page/about-us.html b/page/about-us.html new file mode 100644 index 0000000..8040b51 --- /dev/null +++ b/page/about-us.html @@ -0,0 +1,104 @@ +

Pa-Kua School UK

+ +
+
+

+ The Pa Kua Studio Cambridge opened in 2012 offering Martial Arts and Sword Training. ​ +

+

+ Today we also have Archery, Acrobatics, Tai Chi and Martial Arts for Kids, in multiple locations across the city. Our classes are for all ages and levels. +

+
+
+ +
+ +

Our teachers and class leading instructors

+
    +
  • +
    + +
    + Rodolfo Oliva + 6th degree black belt Master + all classes +
    +
    +
  • + +
  • +
    + +
    + Simon Lamb + 1st degree black belt instructor + Acrobatics +
    +
    +
  • + +
  • +
    + +
    + John Waugh + Red belt instructor + Martial Art +
    +
    +
  • + +
  • +
    + +
    + Tom Winch + Red belt instructor + Edge Weapons +
    +
    +
  • + +
  • +
    + +
    + Kasia Bukowska + Red belt instructor + Archery +
    +
    +
  • + +
  • +
    + +
    + Alejandro Perez + Blue belt instructor + Martial Art for Kids +
    +
    +
  • +
+ +

Locations and map

+ +
+ +
+ + +

Photos from our classes

+ +INSERT_GALLERY_HERE + +
diff --git a/page/about-us.json b/page/about-us.json new file mode 100644 index 0000000..b1a4855 --- /dev/null +++ b/page/about-us.json @@ -0,0 +1,9 @@ +{ + "@context": "http://schema.org", + "@type": "Article", + "inLanguage": "en", + "headline": "About Pa-Kua in the United Kingdom", + "name": "about-us", + "description": "", + "keywords": ["Martial Art", "Self Defense", "Acrobatics", "Chinese Archery", "Swordfight", "Chinese Weapons"] +} diff --git a/page/contact.html b/page/contact.html new file mode 100644 index 0000000..dbca152 --- /dev/null +++ b/page/contact.html @@ -0,0 +1,24 @@ +

Contact Pa-Kua UK

+ +
+ + +

F.A.Q

+
+
Are there ID or minimum age requirements to attend to classes?
+
Children under 14 are welcome to attend to Martial Art for Children; the other classes are for anyone 14 or above.
+ +
What clothing should I wear?
+
We recommend something comfortable for physical activity, such as workout, gym, martial art clothing. All of our classes include warmup excersizes, including archery.
+ +
+ +
diff --git a/page/contact.json b/page/contact.json new file mode 100644 index 0000000..0fff07c --- /dev/null +++ b/page/contact.json @@ -0,0 +1,9 @@ +{ + "@context": "http://schema.org", + "@type": "Article", + "inLanguage": "en", + "headline": "", + "name": "", + "description": "", + "keywords": [] +} diff --git a/page/index.html b/page/index.html new file mode 100644 index 0000000..1f9aab3 --- /dev/null +++ b/page/index.html @@ -0,0 +1,145 @@ +

Home

+
+

+ Join our classes today! +

+
+ +
+
+ +
+

Martial Art

+

Learn kicks, punches, and self defence in a non-competitive, inclusive environment

+
More +

Through the study of Pa-Kua Martial Art, students will develop their physical strength, while learning unique techniques employing pressure points, levers, throws, and more. Pa-Kua fosters the students’ better understanding of them-selves and of their surroundings. This is facilitated by the non-competitive manner of teaching, whereby students challenges only themselves and their personal abilities.

+

On and off the mat, every student will face his or her own limitations and fears, having to strive toward overcoming them without any comparison to other students. This philosophy allows students of all ages and background to practice Pa-Kua Martial Art.

+

The technical aspect of Pa-Kua Martial Art includes circular movements and the use of the opponent’s strength against him or herself. A strong emphasis is placed on physical and mental balance, expressed through movements that are – according to the needs of a particular situation – both fluid and rigid, strong and slow. Each of the Eight Belt levels feature different aspects of Martial Art. When a Pa-Kua practitioner reaches the level of Black Belt, he or she is a complete warrior, confident in his or her abilities and of him or herself.

+

Benefits of the practice:

+
    +
  • Betters physical and mental strength
  • +
  • Increases physical self-awareness
  • +
  • Improves flexibility
  • +
  • Improves self-esteem and self-confidence
  • +
  • Strengths the character and personality
  • +
  • Encourages the values of a warrior, such as honour, strength and courage
  • +
+
+
+
+ +
+

Acrobatics

+

Overcome your fears while having fun and building core strength

+
More +

Evidence of acrobatics exercises being practiced in China date prior to the Western Han Dynasty, 2500 years ago. During the Tang Dynasty, for example, acrobatics were part of the village harvest festivals. Nowadays, defying the laws of gravity continues to be an important part of the modern Chinese culture.

+

Pa-Kua Acrobatics is a class that develops your core strength, flexibility, and balance, working various muscle groups which are vital to the practice of postures and routines. A strong self-awareness develops and an acute mind/body connection occurs. Everything is taught according to the student’s abilities, who slowly acquires the necessary strength and skills needed before progressing to the next level of training. When the student feels prepared, and by overcoming fears and doubts, he or she will gradually learn how to do handstands, cartwheels, one-handed cartwheels, one-handed handstands, butterflies, bridges, front walkovers, back walkovers, front handsprings, back handsprings, front flips, back flips, and much more. It is a fun activity for friends to work together, training elaborate balance movements that require support and cooperation.

+

Benefits of the practice:

+

 

+
    +
  • ​Increases muscle mass
  • +
  • Improves physical expression
  • +
  • Helps control and overcome fears
  • +
  • Improves physical and mental equilibrium
  • +
  • Reduces shyness and increases self-confidence
  • +
  • Increases confidence in group work
  • +
+
+
+
+ +
+

Edged Weapons

+

Learn to handle ancient Chinese weapons: swords, spears, daggers, knives

+
More +

The use of sharp edged weapons is an intrinsic part of human evolution and its struggle for survival. It has generated a fascination that has remained with us in modern times. In the Orient, following the „Way of the Sword“ not only gave an individual status, but also offered an existence of increased self-discipline and control. It also gave the individual an understanding of life, resulting from the daily interactions with dangerous situations.

An integral part of the Pa-Kua knowledge, the study of Traditional Ancient Chinese Weapons is a way of developing the individual’s Inner Warrior, developing inner strength while physically strengthening the body. Discipline, self-confidence and courage are just some of the many benefits derived from studying combat with edged weapons.

Working with swords enhances precision, depth perception, and coordination. Studying the way of the ancient warrior remains essential for us today. Through this study we develop faster reflexes and courage to overcome our day-to-day battles, thus facing the world as leaders who can overcome difficulties with strength and determination.

Benefits of the practice

+
    +
  • Improves physical condition
  • +
  • Develops perception and speeds up reaction time
  • +
  • Betters body control
  • +
  • Helps overcome fears
  • +
  • Improves discipline and concentration
  • +
  • Positively impacts personality development
  • +
+
+
+
+ +
+

Martial Art for Kids

+

Gain self-confidence, social skills, focus, and control, from DBS certified instructors

+
More +

Kids Martial Arts is given to kids from age 4 and up. Children significantly benefit from the system that is built to suit their needs.The martial arts games, the kicks and punches, as well as the connections with other kids found through Pa-Kua Martial Arts, serve to increase the child’s confidence, self-esteem, and social skills. At the same time Pa-Kua Martial Arts teaches the child to respect peers and elders, works on the student’s focus and control, and offers the student with the tools required for the full life that lies ahead. This always occurs in a positive atmosphere.

+

The many benefits of Pa-Kua Martial Arts for kids are clearly noticeable and shown in the child’s school work, behavior at home, and interaction with family or friends. The classes for children are conducted in a completely safe and professional atmosphere, by Instructors and Masters who make sure the children develop their skills in complete safety.

+

All our Instructors and Masters are DBS (Disclosure and Barring Service) certificate (formerly CRB).

+
+
+
+ +
+

Oriental Archery

+

Learn to focus, relax, and find the perfect shot

+
More +

Throughout the centuries wise men have looked for the deep meaning of our day-to-day life practices in order to have a better contact with ourselves: calligraphy, martial arts, the tea ceremony, the theater… and archery was not the exception.

+

Many factors compose the “perfect shot” and they are mostly mental. The delicate equilibrium needed to release that shot, leads to achieving higher mental states. Many ancient Oriental philosophers devoted themselves to archery in search for those higher states of consciousness, known by many as illumination. That fostered a development of Chinese Archery which has maintained, through the ages, it’s simplicity and beauty.

+

Breathing is also fundamental to the process. When it is kept stable and synchronized with the movements, the execution of the shot becomes easy and natural. The various shooting positions help develop a better understanding of the body, and gives the mind a better capacity for adapting to surrounding changes. That is the base of an extremely functional shooting style.

+

Benefits of the practice:

+
    +
  • Improves concentration
  • +
  • Better physical and mental equilibrium
  • +
  • Improvement in body posture
  • +
  • Breathing development
  • +
  • Relaxation
  • +
+
+
+ +
+ +
+
+

WHO WE ARE

+

+ Founded in 1976, by Master Rogelio Giordano Magliacano, the Pa-Kua Internatinal Leauge has become an institution of importance in many parts of the world with thousands of disciples across the world. +

+

Master Rogelio Magliacano devoted himself to the study of martial arts and healing sciences from an early age, achieving high degrees inside the black belt in several disciplines and playing as Master in them, before he was ready to start learning Pa Kua with Master I Chan Ming. After a hard work of learning, Master I Chan Ming named him his successor and only responsible to continue the TRANSMISSION of the Pa Kua knowledge worldwide. +

+
+
+
+ + diff --git a/page/index.json b/page/index.json new file mode 100644 index 0000000..5a36565 --- /dev/null +++ b/page/index.json @@ -0,0 +1,9 @@ +{ + "@context": "http://schema.org", + "@type": "Article", + "inLanguage": "en", + "headline": "Pa-Kua School UK", + "name": "index", + "description": "", + "keywords": ["Martial Art", "Self Defense", "Acrobatics", "Chinese Archery", "Swordfight", "Chinese Weapons"] +} diff --git a/page/the-school.html b/page/the-school.html new file mode 100644 index 0000000..5504db1 --- /dev/null +++ b/page/the-school.html @@ -0,0 +1,224 @@ +

+ Pa-Kua International League +

+
+
+

+ Pa-Kua is an ancient Chinese knowledge based on the study of changes in nature. It's study and practice feature a variety of ancient concepts such as Yin Yang, Sky Man and Earth, the Five Elements, and the Eight States of Change. +

+

+ A system of study was developed by the late founder of the Pa-Kua International League, Master Rogelio Giordano Magliacano (1943 — 2007), featuring a broad range of courses and disciplines catering to the specific interests of any student. +

+
+
+
+
+ +
+ +

+ The International League +

+

+ Master Rogelio Giordano Magliacano officially founded the Pa-Kua International League in 1976. Master Magliacano began his study of Asian martial arts in 1952 and achieved various high degrees in many disciplines. Two decades of martial practice fully prepared him for the study of Pa-Kua with Master I Chan Ming in the Far East, who later named him his successor. Master Ming felt that among his disciples, Master Magliacano was the only one who truly understood the Pa-Kua knowledge in its entire spectrum. +

+

+ Official Web Page and Updates +

+

+ The official Pa-Kua website is at + + www.pakuak.com + + . It includes up-to-date information about the different Pa-Kua schools around the world, pictures, videos, and much more. +

+

+ You can also subscribe to the Pa-Kua newsletter, which includes news and updates, by sending an email to: + + difusionmundial@pakua.com + +

+

+ Pa-Kua classes and school activities +

+

+ Regular Classes +

+

+ Regular classes held on a weekly basis and are usually under the care of an Instructor or Master. These classes follow a curriculum based on a Belt system. Each practitioner is taught in a manner that foster care toward other practitioners in a non-competitive environment. +

+

+ Currently there are nine Pa-Kua Disciplines: Martial Art, Edged Weapons, Sintony (Chinese Yoga), Cosmo Dynamics, Archery, Pa-Kua Rhythm, Reflexology, Pa-Kua Energy and Acrobatics. +

+

+ Regular classes are usually held in small groups. They last approximately fifty minutes, preceded by five minutes to get set and introduce the class, and conclude with five minutes of answers to questions and announcements. +

+

+ Children’s Regular Classes +

+

+ Children are separated into two age groups, 4 to 9 years old and 10 to 14 years old. They follow a slightly different progression than adult students when it comes to the curriculum and the time spent at each Belt level. +

+

+ Parents are invited to attend any of the classes their child is participating in, provided they do not distract them or interfere with their performance. Parents’ partnership and involvement in the Pa-Kua learning process is extremely important, hence we encourage parents to keep in touch with the Instructor responsible for their child as well as with the school’s administrators. The Pa-Kua Association and the Responsible Masters are always available to receive comments and suggestions from parents. +

+

+ Private Classes for the various Discplines +

+

+ As an addition to the regular attended classes, and with the aim of offering more options to individual students, private classes are available to work on the student’s specific subject of interest of. This will allow a student to make the most out of the Instructor’s teaching experience. For information about cost and to schedule a class, please speak directly with your Instructor. +

+

+ Instructor’s Classes +

+

+ These classes are designed for Instructors who wish to improve their teaching skills and acquire additional knowledge. For more information (costs, availability, etc.) please speak directly with the Responsible Masters. +

+

+ Special Classes +

+

+ A Special Class targets a specific aspect or topic within a Discipline. These classes are scheduled either at the student’s request or when the Instructor deems it necessary to the student’s continued training. +

+

+ Course Training Classes +

+

+ After the completion of any Course (explained in more detail below), students can participate in training classes that will reinforce and provide additional training of the material covered in the Course. +

+

+ Courses +

+

+ In addition to the Disciplines, Pa-Kua International League offers a broad range of courses that cover specific topics. These courses enrich the student’s Pa-Kua knowledge thus making his or her studies more comprehensive. +

+

+ Courses are divided into levels and are taught by local or Itinerant Third Degree Masters or higher. +

+

+ Here are some of the courses: +

+
    +
  • + Weapons: Long Stick, Short Stick, Nunchaku, Three-section articulated staff, Knife, Grand Sword, Throw Arms, Pa-Kua Jian, Tonfa, Sai, Cane, Archery +
  • +
  • + Harmonization: Chien Chi Kua, Massages, Energy Pathways, Seasonal Movements, Tian Ling (Feng Shui), Personal Profile, Nutrition +
  • +
  • + Martial Art Courses: Circular Combat (Chuan), Free Fighting, Body-to-Body +
  • +
+

+   +

+

+ System and organization +

+

+ Evaluations +

+

+ The International Pa-Kua League’s educational system is based on the gradual progression of levels, closely monitored by several Masters. The ceremonial passage from one level to another (Belts) occurs through the Evaluation, which is unlike the Belt examinations found in other schools of Oriental knowledge. Before presenting him or her self to an Evaluation, the practitioner needs to fulfill certain requirements which include time of practice and study plan. But most importantly, he or she must undergo a personal development within the current belt. +

+

+ To ensure the Evaluation’s fairness, it is leaded by a Master other than the one responsible for the student’s education, which is usually an Itinerant Master. The Evaluator undergoes training to effectively lead an Evaluation. +

+

+ The are eight Belts: White, Yellow, Orange, Green, Grey, Blue, Red, and Black. From White to Grey belts, Evaluations occur every two to four months with the student having attended at least sixteen general classes per Belt. The student can participate in any available Evaluation at any time. The cost of receiving the next Belt, regardless of how many Evaluations were attended, is defined by the International Pa-Kua League. From Grey belt onwards, level passage requires the student to participate in a Seminar in addition to attending regular classes. +

+

+ Children’s Evaluations +

+

+ The Evaluation system for children differs slightly from the adult system. In order to move up Belt, children are evaluated in two age groups: 4 to 9 year old, and 10 to 14 year old. +

+

+ During the Evaluation they are assessed on their techniques, and also on their respectful behavior toward parents, instructors, and fellow students, both inside and outside the training facilities. A report is prepared before an Evaluation by the Instructor in charge, taking in consideration the progress and behavior of the student during general classes. At the Evaluation, the effort each child makes during the different activities and their progressive development of the techniques is taken into consideration. Helping children develop in general, gain self-confidence and enhance their general education is as important as their study of Martial Art techniques. +

+

+ Pa-Kua Open Classes +

+

+ This is the most important event of the Pa-Kua school worldwide, in which Pa-Kua practitioners – Masters, Instructors, students, their relatives, and guest – from all over the world, meet and share their experiences during a weekend in which all the Disciplines are practiced. +

+

+ Pa-Kua practitioners from various parts of the world mount exhibitions demonstrating the various Pa-Kua Disciplines. The event culminates in a – usually – very large Martial Art class, punctuated by a Belt ceremony. +

+

+ Currently, there are three Open Classes every year: in North America, in Europe, and the International Gathering in South America. +

+

+ The main goal of the Open Classes is for the different members and students of the Pa-Kua school worldwide to get together, integrate, and socialise. +

+

+ Itinerancies +

+

+ The Pa-Kua International League monitors and regulates the manner and levels in which Pa-Kua is taught all over the world. This task is made possible by regular visits of Itinerant Masters to any part of the world where a representative of the Pa-Kua League is teaching. +

+

+ Itinerant Masters perform Evaluations and can also teach Special Classes, Regular Seminars, Courses and other activities to any student who desires to take the opportunity to further their Pa-Kua knowledge. +

+

+ In general, Itinerant Masters have extensive life and teaching experience, have visited numerous places, speak more than one language, and have undergone special teaching training. +

+

+ Uniforms, Accessories, etc. +

+

+ It is of outmost importance that each student possesses a uniform and the accessories needed for training in a specific discipline. +

+

+ Accessories can be purchased on the European Pa-Kua store online at pakuastore.com +

+

+ Belts obtained during an Evaluation will be supplied by the Pa-Kua International League and sent to practice location of each student. The process takes a few weeks in order for the Administration to check all the data and to mail it. When the Belts, Patches and/or certificates are received, they will be presented to the students in the various classes within the shortest delays. +

+

+ Training of Instructors and Masters +

+

+ Teaching is perhaps the most complex and gratifying experience that a human being can be involved in. At the Pa-Kua International League we are constantly on the look out for individuals willing to dedicate them self to teaching and diffusing the Pa-Kua knowledge. For that purpose, since 1976, Pa-Kua has established a complete Teaching System, which, through the years has constantly been updated. This system has allowed for the expansion of the Pa-Kua School in sixteen countries. +

+

+ Currently, there are two manners to achieve the level of Instructor, followed by the level of Master: either Regular Classes and Seminars, or Intensive Seminars. Training is adapted to the level of the student, according to the regulations issued by the Pa-Kua International League. +

+

+ Training accreditation have international validity, thus allowing Masters to teach all over the world. +

+

+ Regular Seminars +

+

+ After achieving the level of Grey Belt – usually after training during a period of eight to twelve months – a student of the Pa-Kua International League can start teaching Regular classes to White Belts. This allows the student to start building his own student base. +

+

+ In the beginning of his teaching career, the student will be under the supervision of his Master and of the Pa-Kua school. Progressively the student will develop the abilities to teach independently in a professional manner. Pa-Kua Instructors and Masters are all trained to lead groups of students, and acquire the tools to do so independently. The Superior Masters will constantly provide supervision and support. +

+

+ Intensive Seminars +

+

+ The Pa-Kua International League’s Intensive Seminars are the right choice for those students who would like to deepen their knowledge. These seminars are designed for the modern man and woman, who work, study, and have little time for leisure activities, but nonetheless have and extreme curiosity and desire for personal growth and self-reflection. +

+

+ The curriculum of this type of Seminar comprises of techniques, philosophy and training, adapted to the student’s physical and mental needs. What makes these seminars so successful is that they are tailored for each student allowing him or her to not only learn faster but also develop particular areas of interest. +

+

+ At present, the Intensive Seminars are the most direct manner to access to the Pa-Kua knowledge, and the fastest and most effective way of learning. They are also a starting point to pursue a teaching track in a professional manner. +

+

+ Before an Intensive Seminar can begin, an email request has to be submitted to the Superior Masters. +

+
diff --git a/page/the-school.json b/page/the-school.json new file mode 100644 index 0000000..c486cc5 --- /dev/null +++ b/page/the-school.json @@ -0,0 +1,9 @@ +{ + "@context": "http://schema.org", + "@type": "Article", + "inLanguage": "en", + "headline": "Pa-Kua International League", + "name": "the-school", + "description": "Description of Pa-Kua International League, of it's origins, and it's system.", + "keywords": [] +} diff --git a/page/timetable.html b/page/timetable.html new file mode 100644 index 0000000..654cdc0 --- /dev/null +++ b/page/timetable.html @@ -0,0 +1,87 @@ +

TIMETABLE AND FEES

+ +
+ + +

Calendars

+ + + + + + + + + + + + + + + + +
Recurring classes + + google or web + + + + iOS or ical + +
Special classes, seminars, itinerancies + + google or web + + + iOS or ical + +
Program of European Open Classes and Spring Retreat + + google or web + + + + iOS or ical + +
+ +

Monthly fees

+ + + + + + + + + + + + + + + + + + + + + +
 First class per calendar monthEvery additional class per calendar month
Adults (20% discount for University Students)£34£15
Kids (10% discount for siblings)£28-
+ +

Drop-in fees

+ + + + + + +
Any 60 minute class£10
+
diff --git a/page/timetable.json b/page/timetable.json new file mode 100644 index 0000000..0fff07c --- /dev/null +++ b/page/timetable.json @@ -0,0 +1,9 @@ +{ + "@context": "http://schema.org", + "@type": "Article", + "inLanguage": "en", + "headline": "", + "name": "", + "description": "", + "keywords": [] +} diff --git a/site.json b/site.json new file mode 100644 index 0000000..6435638 --- /dev/null +++ b/site.json @@ -0,0 +1,15 @@ +{ + "@context": "http://schema.org", + "@type": "WebSite", + "headline": "Pa-Kua School UK", + "url": "https://pakuauk.com", + "name": "pakuauk.com", + "image": "https://pakuauk.com/favicon.png", + "sameAs": [ + "https://www.facebook.com/PaKuaUK", + "https://www.twitter.com/pakuauk", + "https://www.youtube.com/pakuauk", + "https://instagram.com/pakuauk", + "https://www.eventbrite.co.uk/o/pa-kua-international-school-19817765035" + ] +} diff --git a/style.css b/style.css new file mode 100644 index 0000000..9925185 --- /dev/null +++ b/style.css @@ -0,0 +1,554 @@ +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif; + margin: 0; + padding: 0; + line-height: 1.5em; +} + +html, +body > footer { + background-color: #222; +} + +body { + color: #222; + background-color: #fff; +} + +a { + color: #ba0000; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +p { + margin: 1em 0; +} + +h1, h2, h3, h4 { + text-transform: uppercase; +} + +dt { + font-weight: bold; + font-size: 1.1em; + margin: 1em 0 0.3em 0; +} + +h1 { + display: block; + width: 100%; + text-align: center; + color: #fff; + background-color: #ba0000; + font-size: 1.7em; + padding: 1em 0; +} + +h2 { + font-size: 1.6em; + margin: 1em 0 0.6em 0; +} + +nav > ul { + list-style-type: none; + line-height: 3em; +} + +nav > ul > li { + display: inline-block; + padding: 0.3em 0.4em; +} + +body > header, +body > footer { + padding: 1em; +} +body > footer { + color: #eee; +} + +body > header > section, +body > footer > section { + display: flex; + justify-content: space-between; + max-width: 70em; + margin: 0 auto; +} + +body > header > section > nav { + align-items: center; + padding: 1em 0; +} + +body > header > section > svg { + height: 4em; + width: auto; +} + +body > header a { + color: #000; + font-weight: bold; + font-size: 90%; +} + +body > header a:hover, +body > header a.active { + color: #ba0000; +} + +body > footer h3 { + margin: 0 0 0.3em 0; +} + +body > footer ul { + margin: 0 0 1em 0; + list-style-type: none; +} + +body > footer ul li { + margin: 0 0 0.6em 0; +} + +body > footer a { + color: #ccc; +} + +body > footer a:hover { + color: #ba0000; +} + +body > footer > section > div > a > svg { + width: 20em; +} + +body > footer nav ul img { + width: 3em; +} + +body > footer nav { + text-align: center; + margin-top: 2em; +} + +.disciplines > div { + margin:2em auto; +} + +.disciplines > div { + display: flex; + align-items: center; + justify-content: center; +} + +.disciplines div:nth-child(even) { + flex-direction: row-reverse; +} + +.disciplines div img { + display: block; + max-height: 90vh; + max-width: 50%; + border: 0px solid none; +} + +.disciplines div div { + text-align: center; + max-width: 48%; +} + +.disciplines > div > div * { + padding: 0.6em; +} + +.disciplines > div > div > p { + letter-spacing: 0.03em; + font-size: 1.6em; +} + +table { + width: 100%; + margin: 2em 0; + border-collapse: collapse; +} + +td, th { + padding: 0.3em; + border: 1px solid #777; + text-align:left; +} + +th { + font-weight: bold; +} + +th, tr:nth-child(even) { + background-color: rgba(0, 0, 0, 0.1); +} + +details { + display: block; +} + +details * { + text-align: left; +} + +summary { + text-align: center; + border: 1px solid #ba0000; + color: #ba0000; + font-weight: bold; + padding: 1em 0; + width: 16em; + margin: 0 auto; + cursor: pointer; + transition: 0.5s; +} + +article { + padding: 1em; + max-width: 58em; + margin: 0 auto; +} + +main h3 { + text-transform:uppercase; + font-size: 1.3em; +} + +main ul { + margin-left: 1.2em; +} + +main ul li { + line-height: 1em; +} + +.hero { + min-height: 30em; + max-height: 90vh; + background-position: center; + background-size: cover; + display: flex; + justify-content:end; + background-attachment:fixed; +} + +.hero p { + font-size: 4em; + color: rgba(255,255,255,0.9); + text-shadow: 1px 1px 0 #000; + align-self:flex-end; + margin: 1em; +} + +.headline { + font-size: 1.2em; + letter-spacing: 0.03em; + margin: 0 auto; + background-position: center; + background-size: cover; + display: flex; + justify-items: center; +} + +.headline div { + background-color: rgba(255,255,255,0.9); + padding: 2em; + margin: 2em auto; + max-width: 40em; +} + +.frameholder { + position: relative; + width: 100%; + height: 0; + padding-bottom: 51%; +} + +.frameholder iframe { + position: absolute; + width: 100%; + height: 100%; + left: 0; top: 0; +} + +.people { + list-style-type: none; + margin: 0; + padding:0; + display: flex; + flex-wrap: wrap; + justify-content:center; +} + +.people img { + width: 8em; + margin-bottom: 1em; +} + +.people li { + text-align: center; + min-width: 12em; + padding: 1em 0; + margin: 1em; +} + +.people strong, +.people .rank, +.people .classes { + display: block; +} + +.people .rank, +.people .classes { + font-size: 0.9em; +} + +.schoolintro { + background-color: #ddd; + position:relative; + padding: 2em 0; +} + +.schoolintro .bg { + display: block; + position: absolute; + left: 10%; + width: 50%; + top: 1em; + bottom: 1em; + background-image:url('https://static.wixstatic.com/media/80d0c2_0ac5f36579244b7cb4b80beccee32ac9.png/v1/fill/w_480,h_680,al_c,usm_0.66_1.00_0.01/80d0c2_0ac5f36579244b7cb4b80beccee32ac9.png'); + background-position: center; + z-index: 1; + background-size:cover; + background-repeat: no-repeat; +} + +.schoolintro .info { + position: relative; + display: block; + margin: 0 10% 0 50%; + background-color: #222; + color: #eee; + padding: 2em; + z-index: 2; +} + +body > header > section > input, +body > header > section > label { + display: none; +} + +.signup { + background-color: #111; + padding: 2em 0; + color: #eee; +} + +.signup h2 { + text-align: center; + color: rgba(255, 126, 45, 1); +} + +.signup > * { + max-width: 58em; + margin: 0 auto; +} + +#mc-embedded-subscribe-form label { + font-weight: bold; +} + +#mc-embedded-subscribe-form > p label { + display: none; +} + +#mc-embedded-subscribe-form input[type=text], +#mc-embedded-subscribe-form input[type=email] { + display: inline-block; + min-width: 20em; + background-color: #111; + border: none; + border-bottom: 2px solid rgba(255, 126, 45, 1);; + padding: 0.6em 0.3em; + color: #ccc; +} + +#mc-embedded-subscribe-form input[type=email] { + color: rgba(255, 126, 45, 1); +} + +#mc-embedded-subscribe-form input[type=checkbox]{ + display: inline; + width: auto; + margin: 0 0.3em 0 1em; +} + +#mc-embedded-subscribe-form fieldset { + display: inline; + border: none; +} + +#mc-embedded-subscribe-form input[type=submit] { + background-color: #000; + border: 2px solid rgba(255, 126, 45, 1); + color: rgba(255, 126, 45, 1); + padding: 0.6em; + margin: 1em 0; + cursor: pointer; + transition: 0.5s; +} + +#mc-embedded-subscribe-form input[type=submit]:hover { + border-color: #fff; + color: #fff; +} + +@media all and (max-width: 58em) { + + h2, h3, h4 { + text-align: center; + } + + body > header > section > input ~ label { + cursor: pointer; + font-size: 2em; + transition: 0.5s; + display: block; + position: absolute; + top: 0.5em; + right: 0.5em; + color: #ba0000; + border: 1px solid #ba0000; + z-index: 99; + background-color: #fff; + padding: 0.1em 0.4em; + } + + body > header > section > input ~nav { + position: fixed; + display: block; + right: -100%; + transition: 0.5s; + background-color: rgba(255, 255, 255, 0.9); + top: 0; + bottom: 0; + padding: 6em 4em 1em 1em; + z-index: 10; + box-shadow: 1px 0 5px #000; + } + + body > header > section > input ~nav svg { + position: relative; + height: 4em; + display: block; + margin: 0 auto 1em auto; + } + + body > header > section > input ~nav li { + display: block; + font-size: 1.6em; + } + + body > header > section > input:checked ~ label { + transform: rotate(90deg); + position: fixed; + } + + body > header > section > input:checked ~nav { + right: 0; + } + + + .schoolintro .info { + margin: 0 5%; + } + + .schoolintro .bg { + left:0; + right: 0; + width: 100%; + } + + body > footer > section { + display: block; + margin: 0 auto; + } + + .disciplines > div { + display: block; + margin-bottom: 6em; + } + + body > footer > section > div { + margin: 3em 0; + } + + body > footer > section { + display: block; + text-align: center; + } + + .disciplines div img { + margin: 0 auto; + } + + .disciplines div img { + max-width: 100%; + } + + .disciplines div div { + max-width: 100%; + } + + details p { + text-align: justify; + } + + .headline div { + /*! margin: 0.6em; */ + padding: 0.6em; + text-align: center; + } + + .hero { + justify-content:center; + } + + .hero p { + font-size: 3em; + } + + #mc-embedded-subscribe-form { + padding: 1em; + } + + #mc-embedded-subscribe-form input[type=text], + #mc-embedded-subscribe-form input[type=email], + #mc-embedded-subscribe-form input[type=submit] { + display: block; + margin: 1em auto; + } +} + +details[open] summary { + background-color: #ba0000; + color: #fff; +} + +details[open] summary ~ * { + animation: sweep .5s ease; +} + +@keyframes sweep { + 0% {opacity: 0; } + 100% {opacity: 1; } +}