diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index a171f5d..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,135 +0,0 @@ -Pico Default Theme Changelog -============================ - -**Note:** This changelog only provides technical information about the changes - introduced with a particular Pico version, and is meant to supplement - the actual code changes. The information in this changelog are often - insufficient to understand the implications of larger changes. Please - refer to both the UPGRADE and NEWS sections of the docs for more - details. - -### Version 2.1.4 -Released: 2020-08-29 - -``` -* [Changed] Don't setup nav toggle JavaScript when there's no menu -``` - -### Version 2.1.3 -Released: 2020-07-10 - -No changes - -### Version 2.1.2 -Released: 2020-04-10 - -No changes - -### Version 2.1.1 -Released: 2019-12-31 - -No changes - -### Version 2.1.0 -Released: 2019-11-24 - -``` -* [New] Add Pico's official logo and tagline -* [New] Add some utility classes for typography and images -* [Changed] Improve documentation of `pico-theme.yml` -* [Changed] Various small improvements -``` - -### Version 2.1.0-beta.1 -Released: 2019-11-03 - -``` -* [Changed] Add basic `pico-theme.yml` to use API v3, enable Twig's autoescape - feature (no changes necessary) and register `Social` meta header -* [Changed] Use Pico's `pages` Twig function to create the main navigation -* [Changed] Improve formatting of definition lists and inline code snippets -* [Changed] Improve JSDoc class docs -* [Changed] Various small improvements -``` - -### Version 2.0.5-beta.1 -Released: 2019-01-03 - -``` -* [New] Add `2.0.x-dev` alias for master branch to `composer.json` -``` - -### Version 2.0.4 -Released: 2018-12-17 - -No changes - -### Version 2.0.3 -Released: 2018-12-03 - -No changes - -### Version 2.0.2 -Released: 2018-08-12 - -No changes - -### Version 2.0.1 -Released: 2018-07-29 - -No changes - -### Version 2.0.0 -Released: 2018-07-01 - -``` -* [New] Add Bountysource -* [Changed] Improve documentation -``` - -### Version 2.0.0-beta.3 -Released: 2018-04-07 - -No changes - -### Version 2.0.0-beta.2 -Released: 2018-01-21 - -``` -* [Fixed] Fix sliding animation of collapsible menu in IE 9 -* [Changed] Move Fontello font to `icon/` directory -* [Changed] Move stylesheets to `css/` directory -* [Changed] Improve Fontello font copyright notice -* [Changed] Add Droid Sans and Droid Sans Mono font files to `font/` directory, - making Pico's default theme fully self-containing -``` - -### Version 2.0.0-beta.1 -Released: 2017-11-05 - -**Note:** Pico's default theme was completely rewritten from scratch for - Pico 2.0 and moved to this separate repository. This changelog only - provides basic information about the most important changes compared - to Pico 1.0. It therefore doesn't include the changes made before - this release. The rewrite breaks backwards compatibility (BC). - -``` -* [New] Rewrite Pico's default theme from scratch with a much cleaner, more - modern, but still "stupidly simple" structure; the new theme officially - supports Internet Explorer 9+ as well as all versions of the major - desktop and mobile browsers, as long as they are still officially - supported by their respective vendor -* [New] Pico's default theme is now a fully responsive theme, adapting the - layout to the viewing environment (desktops vs. tablets vs. smartphones - vs. ...) -* [New] Add a collapsible page menu for small screens (menu slides up/down) -* [New] Add basic form themeing -* [New] Support a "widescreen" mode, demonstrating how themes can adjust their - behavior using config parameters (i.e. Pico's `config/config.yml`) -* [Changed] Show top-level pages in the website's navigation only (i.e. show - `page.md` and `sub/index.md`, but not `sub/page.md`) -* [Changed] Hide pages starting with a `_` in the website's navigation -* [Changed] Move Pico's social icons from `index.md` to `_meta.md`, - demonstrating how themes can use YAML-only meta pages to support - dynamic content -``` diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 91a34cf..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2012 The Pico Community - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index b3e74cd..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -no comment diff --git a/composer.json b/composer.json deleted file mode 100644 index f537ba1..0000000 --- a/composer.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "picocms/pico-theme", - "type": "pico-theme", - "description": "This is Pico's official default theme. Pico is a stupidly simple, blazing fast, flat file CMS.", - "keywords": [ "pico", "picocms", "picocms-theme", "pico-theme", "default-theme" ], - "homepage": "http://picocms.org/", - "license": "MIT", - "authors": [ - { - "name": "Daniel Rudolf", - "email": "picocms.org@daniel-rudolf.de", - "role": "Lead Developer" - }, - { - "name": "The Pico Community", - "homepage": "http://picocms.org/" - }, - { - "name": "Contributors", - "homepage": "https://github.com/picocms/pico-theme/graphs/contributors" - } - ], - "support": { - "docs": "http://picocms.org/themes/default/", - "issues": "https://github.com/picocms/pico-theme/issues", - "source": "https://github.com/picocms/pico-theme" - }, - "require": { - "picocms/pico": "self.version" - }, - "extra": { - "installer-name": "default", - "branch-alias": { - "dev-master": "2.1.x-dev", - "dev-pico-3.0": "3.0.x-dev" - } - } -} diff --git a/icon/COPYRIGHT.txt b/icon/COPYRIGHT.txt deleted file mode 100644 index 4ca26c4..0000000 --- a/icon/COPYRIGHT.txt +++ /dev/null @@ -1,23 +0,0 @@ -Icon fonts generator - -## Fontello - - Copyright (C) 2011 by Vitaly Puzrin - - Author: Vitaly Puzrin - License: The MIT License - Homepage: http://fontello.com/ - - - -Font license info - -## Font Awesome - - Copyright (C) 2016 by Dave Gandy - - Author: Dave Gandy - License: SIL OFL 1.1 - Homepage: http://fortawesome.github.com/Font-Awesome/ - - Icons: chat, github-circled ("octocat"), menu, dollar diff --git a/icon/LICENSE.MIT.txt b/icon/LICENSE.MIT.txt deleted file mode 100644 index 13de813..0000000 --- a/icon/LICENSE.MIT.txt +++ /dev/null @@ -1,21 +0,0 @@ -(The MIT License) - -Copyright (C) 2011 by Vitaly Puzrin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/icon/LICENSE.OFL-1.1.txt b/icon/LICENSE.OFL-1.1.txt deleted file mode 100644 index 192bb71..0000000 --- a/icon/LICENSE.OFL-1.1.txt +++ /dev/null @@ -1,94 +0,0 @@ -Copyright (c) 2016, Dave Gandy , -with Reserved Font Name Font Awesome. - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/icon/fontello.eot b/icon/fontello.eot deleted file mode 100644 index b9436f4..0000000 Binary files a/icon/fontello.eot and /dev/null differ diff --git a/icon/fontello.svg b/icon/fontello.svg deleted file mode 100644 index f072ce8..0000000 --- a/icon/fontello.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - -Copyright (C) 2018 by original authors @ fontello.com - - - - - - - - - - - - - - \ No newline at end of file diff --git a/icon/fontello.ttf b/icon/fontello.ttf deleted file mode 100644 index 5cdb918..0000000 Binary files a/icon/fontello.ttf and /dev/null differ diff --git a/icon/fontello.woff b/icon/fontello.woff deleted file mode 100644 index ce4b4fd..0000000 Binary files a/icon/fontello.woff and /dev/null differ diff --git a/icon/fontello.woff2 b/icon/fontello.woff2 deleted file mode 100644 index bfd7528..0000000 Binary files a/icon/fontello.woff2 and /dev/null differ diff --git a/img/antoncast.svg b/img/antoncast.svg deleted file mode 100755 index cbfba21..0000000 --- a/img/antoncast.svg +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - image/svg+xml - - - - - - - - - ANT - - - - - - - - - - - N - cast - VON ANTON LIERO - - - - diff --git a/img/pico-white.svg b/img/pico-white.svg deleted file mode 100644 index 972f72b..0000000 --- a/img/pico-white.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/img/pico.svg b/img/pico.svg deleted file mode 100644 index 7294c2e..0000000 --- a/img/pico.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/index.html b/index.html deleted file mode 100644 index 7abf11a..0000000 --- a/index.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - - - Radio Anton - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-

Radio Anton

- -
-
-
-
-
- - -
-
-
- On Air -
-
-

Live als Stream

-

Immer samstags und sonntags ab 15:00 Uhr im

-

- Livestream -

-
-
-
- - -
-
-
-

Radio Anton als Podcast

-

Folge 1

-

Folge 2

-
-
- Microphone -
-
-
- - -
-

Das Team

-
-
- -
-
- Anton hat Radio Anton ins Leben gerufen, gestaltet das Programm und ist bei jeder Sendung am Mikrofon -
-
-
-
- -
-
- Jacob ist Co-Moderator und zuständig für den Witze-Wahnsinn -
-
-
-
- -
-
- Anica gibt euch das Wetter-Update bei Radio Anton -
-
-
-
- -
-
- Tilman kennt sich mit der Technik aus und sorgt dafür, dass unser Stream auf euer Gerät kommt -
-
-
- - -
-
-
-

Mitmachen! 😎

-
- Musikwünsche direkt ins Studio schicken, Themen-Updates und Neuigkeiten erhalten - das alles kannst du als Mitglied in unserer WhatsApp-Gruppe -
-
-
- On Air -
-
-
- - - - - - diff --git a/js/modernizr-3.3.1-custom.min.js b/js/modernizr-3.3.1-custom.min.js deleted file mode 100644 index 33ad568..0000000 --- a/js/modernizr-3.3.1-custom.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! modernizr 3.3.1 (Custom Build) | MIT * - * https://modernizr.com/download/?-classlist-csstransitions-requestanimationframe !*/ -!function(e,n,t){function r(e,n){return typeof e===n}function i(){var e,n,t,i,o,s,a;for(var f in y)if(y.hasOwnProperty(f)){if(e=[],n=y[f],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;tp;p++)if(v=e[p],h=P.style[v],s(v,"-")&&(v=o(v)),P.style[v]!==t){if(a||r(i,"undefined"))return f(),"pfx"==n?v:!0;try{P.style[v]=i}catch(g){}if(P.style[v]!=h)return f(),"pfx"==n?v:!0}return f(),!1}function v(e,n,t,i,o){var s=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+_.join(s+" ")+s).split(" ");return r(n,"string")||r(n,"undefined")?m(a,n,i,o):(a=(e+" "+E.join(s+" ")+s).split(" "),f(a,n,t))}function h(e,n,r){return v(e,t,t,n,r)}var y=[],g={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){y.push({name:e,fn:n,options:t})},addAsyncTest:function(e){y.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=g,Modernizr=new Modernizr;var C=[],w=n.documentElement;Modernizr.addTest("classlist","classList"in w);var x="Moz O ms Webkit",_=g._config.usePrefixes?x.split(" "):[];g._cssomPrefixes=_;var S=function(n){var r,i=prefixes.length,o=e.CSSRule;if("undefined"==typeof o)return t;if(!n)return!1;if(n=n.replace(/^@/,""),r=n.replace(/-/g,"_").toUpperCase()+"_RULE",r in o)return"@"+n;for(var s=0;i>s;s++){var a=prefixes[s],f=a.toUpperCase()+"_"+r;if(f in o)return"@-"+a.toLowerCase()+"-"+n}return!1};g.atRule=S;var E=g._config.usePrefixes?x.toLowerCase().split(" "):[];g._domPrefixes=E;var T="svg"===w.nodeName.toLowerCase(),z={elem:l("modernizr")};Modernizr._q.push(function(){delete z.elem});var P={style:z.elem.style};Modernizr._q.unshift(function(){delete P.style}),g.testAllProps=v;var b=g.prefixed=function(e,n,t){return 0===e.indexOf("@")?S(e):(-1!=e.indexOf("-")&&(e=o(e)),n?v(e,n,t):v(e,"pfx"))};Modernizr.addTest("requestanimationframe",!!b("requestAnimationFrame",e),{aliases:["raf"]}),g.testAllProps=h,Modernizr.addTest("csstransitions",h("transition","all",!0)),i(),delete g.addTest,delete g.addAsyncTest;for(var L=0;L .container > table'); - for (var i = 0; i < tables.length; i++) { - if (!/\btable-responsive\b/.test(tables[i].parentElement.className)) { - var tableWrapper = document.createElement('div'); - tableWrapper.className = 'table-responsive'; - - tables[i].parentElement.insertBefore(tableWrapper, tables[i]); - tableWrapper.appendChild(tables[i]); - } - } - - // responsive menu - var menu = document.getElementById('nav'), - menuToggle = document.getElementById('nav-toggle'); - - if (menu && menuToggle) { - function toggleMenuEvent(event) { - if (event.type === 'keydown') { - if ((event.keyCode !== 13) && (event.keyCode !== 32)) { - return; - } - } - - event.preventDefault(); - - if (menuToggle.getAttribute('aria-expanded') === 'false') { - menuToggle.setAttribute('aria-expanded', 'true'); - utils.slideDown(menu, null, function () { - if (event.type === 'keydown') { - menu.focus(); - } - }); - } else { - menuToggle.setAttribute('aria-expanded', 'false'); - utils.slideUp(menu); - } - } - - function onResizeEvent() { - if (utils.isElementVisible(menuToggle)) { - menu.className = 'hidden'; - menuToggle.addEventListener('click', toggleMenuEvent); - menuToggle.addEventListener('keydown', toggleMenuEvent); - } else { - menu.className = ''; - menu.removeAttribute('data-slide-id'); - menuToggle.removeEventListener('click', toggleMenuEvent); - menuToggle.removeEventListener('keydown', toggleMenuEvent); - } - } - - window.addEventListener('resize', onResizeEvent); - onResizeEvent(); - } -} - -main(); diff --git a/js/utils.js b/js/utils.js deleted file mode 100644 index 62b65cc..0000000 --- a/js/utils.js +++ /dev/null @@ -1,134 +0,0 @@ -/** - * Pico's Default Theme - JavaScript helper - * - * Pico is a stupidly simple, blazing fast, flat file CMS. - * - * @author Daniel Rudolf - * @link http://picocms.org - * @license http://opensource.org/licenses/MIT The MIT License - * @version 2.1 - */ - -utils = {}; - -/** - * Checks whether the client's browser is able to slide elements or not - * - * @return {bool} TRUE when the browser supports sliding, FALSE otherwise - */ -utils.canSlide = function () -{ - return (Modernizr.classlist && Modernizr.requestanimationframe && Modernizr.csstransitions); -}; - -/** - * Slides a element up (i.e. hide a element by changing its height to 0px) - * - * @param {HTMLElement} element the element to slide up - * @param {function} finishCallback function to call when the animation has - * been finished (i.e. the element is hidden) - * @param {function} startCallback function to call when the animation starts - */ -utils.slideUp = function (element, finishCallback, startCallback) -{ - if (!utils.canSlide()) { - if (startCallback) startCallback(); - element.className += (element.className !== '') ? ' hidden' : 'hidden'; - if (finishCallback) window.setTimeout(finishCallback, 16); - return; - } - - element.style.height = element.clientHeight + 'px'; - - var slideId = parseInt(element.getAttribute('data-slide-id')) || 0; - element.setAttribute('data-slide-id', ++slideId); - - window.requestAnimationFrame(function () { - element.classList.add('slide'); - - window.requestAnimationFrame(function () { - element.style.height = '0px'; - - if (startCallback) { - startCallback(); - } - - window.setTimeout(function () { - if (parseInt(element.getAttribute('data-slide-id')) !== slideId) return; - - element.classList.add('hidden'); - element.classList.remove('slide'); - element.style.height = null; - - if (finishCallback) { - window.requestAnimationFrame(finishCallback); - } - }, 500); - }); - }); -}; - -/** - * Slides a element down (i.e. show a hidden element) - * - * @param {HTMLElement} element the element to slide down - * @param {function} finishCallback function to call when the animation has - * been finished (i.e. the element is visible) - * @param {function} startCallback function to call when the animation starts - */ -utils.slideDown = function (element, finishCallback, startCallback) -{ - if (!utils.canSlide()) { - if (startCallback) startCallback(); - element.className = element.className.replace(/\bhidden\b */g, ''); - if (finishCallback) window.setTimeout(finishCallback, 16); - return; - } - - var cssRuleOriginalValue = element.clientHeight + 'px', - slideId = parseInt(element.getAttribute('data-slide-id')) || 0; - - element.setAttribute('data-slide-id', ++slideId); - - element.style.height = null; - element.classList.remove('hidden'); - element.classList.remove('slide'); - var cssRuleValue = element.clientHeight + 'px'; - - element.style.height = cssRuleOriginalValue; - - window.requestAnimationFrame(function () { - element.classList.add('slide'); - - window.requestAnimationFrame(function () { - element.style.height = cssRuleValue; - - if (startCallback) { - startCallback(); - } - - window.setTimeout(function () { - if (parseInt(element.getAttribute('data-slide-id')) !== slideId) return; - - element.classList.remove('slide'); - element.style.height = null; - - if (finishCallback) { - window.requestAnimationFrame(finishCallback); - } - }, 500); - }); - }); -}; - -/** - * Checks whether a element is visible or not - * - * @param {HTMLElement} element the element to check - * - * @return {bool} TRUE when the element is visible, FALSE otherwise - */ -utils.isElementVisible = function (element) -{ - return !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length); -}; diff --git a/pico-theme.yml b/pico-theme.yml deleted file mode 100644 index fc65b28..0000000 --- a/pico-theme.yml +++ /dev/null @@ -1,14 +0,0 @@ -api_version: 3 # Use Pico's latest API version for themes - -meta: # Register meta headers used by this theme - Logo: logo # The URL to your website's logo (value is passed to Pico's "url" Twig filter) - Tagline: tagline # Your website's tag line, shown right below your site title (supports Markdown) - Social: social # A list of social icons that will be shown in your website's footer; - # You must specify a "title", "url" and "icon" per entry - -twig_config: # Twig template engine config - autoescape: html # Let Twig escape variables by default - strict_variables: false # If set to true, Twig will bail out when unset variables are being used - charset: utf-8 # The charset used by Twig templates - -widescreen: false # Use more horicontal space (i.e. make the site container wider)