commit
This commit is contained in:
-135
@@ -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
|
|
||||||
```
|
|
||||||
@@ -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.
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
Icon fonts generator
|
|
||||||
|
|
||||||
## Fontello
|
|
||||||
|
|
||||||
Copyright (C) 2011 by Vitaly Puzrin
|
|
||||||
|
|
||||||
Author: Vitaly Puzrin
|
|
||||||
License: The MIT License <https://github.com/fontello/fontello/blob/master/LICENSE>
|
|
||||||
Homepage: http://fontello.com/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Font license info
|
|
||||||
|
|
||||||
## Font Awesome
|
|
||||||
|
|
||||||
Copyright (C) 2016 by Dave Gandy
|
|
||||||
|
|
||||||
Author: Dave Gandy
|
|
||||||
License: SIL OFL 1.1 <http://scripts.sil.org/OFL>
|
|
||||||
Homepage: http://fortawesome.github.com/Font-Awesome/
|
|
||||||
|
|
||||||
Icons: chat, github-circled ("octocat"), menu, dollar
|
|
||||||
@@ -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.
|
|
||||||
@@ -1,94 +0,0 @@
|
|||||||
Copyright (c) 2016, Dave Gandy <http://fontawesome.io>,
|
|
||||||
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.
|
|
||||||
Binary file not shown.
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<metadata>Copyright (C) 2018 by original authors @ fontello.com</metadata>
|
|
||||||
<defs>
|
|
||||||
<font id="fontello" horiz-adv-x="1000" >
|
|
||||||
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
|
||||||
<missing-glyph horiz-adv-x="1000" />
|
|
||||||
<glyph glyph-name="chat" unicode="" d="M786 421q0-77-53-143t-143-104-197-38q-48 0-98 9-70-49-155-72-21-5-48-9h-2q-6 0-12 5t-6 12q-1 1-1 3t1 4 1 3l1 3t2 3 2 3 3 3 2 2q3 3 13 14t15 16 12 17 14 21 11 25q-69 40-108 98t-40 125q0 78 53 144t143 104 197 38 197-38 143-104 53-144z m214-142q0-67-40-126t-108-98q5-14 11-25t14-21 13-16 14-17 13-14q0 0 2-2t3-3 2-3 2-3l1-3t1-3 1-4-1-3q-2-8-7-13t-12-4q-28 4-48 9-86 23-156 72-50-9-98-9-151 0-263 74 32-3 49-3 90 0 172 25t148 72q69 52 107 119t37 141q0 43-13 85 72-39 114-99t42-128z" horiz-adv-x="1000" />
|
|
||||||
|
|
||||||
<glyph glyph-name="octocat" unicode="" d="M429 779q116 0 215-58t156-156 57-215q0-140-82-252t-211-155q-15-3-22 4t-7 17q0 1 0 43t0 75q0 54-29 79 32 3 57 10t53 22 45 37 30 58 11 84q0 67-44 115 21 51-4 114-16 5-46-6t-51-25l-21-13q-52 15-107 15t-108-15q-8 6-23 15t-47 22-47 7q-25-63-5-114-44-48-44-115 0-47 12-83t29-59 45-37 52-22 57-10q-21-20-27-58-12-5-25-8t-32-3-36 12-31 35q-11 18-27 29t-28 14l-11 1q-12 0-16-2t-3-7 5-8 7-6l4-3q12-6 24-21t18-29l6-13q7-21 24-34t37-17 39-3 31 1l13 3q0-22 0-50t1-30q0-10-8-17t-22-4q-129 43-211 155t-82 252q0 117 58 215t155 156 216 58z m-267-616q2 4-3 7-6 1-8-1-1-4 4-7 5-3 7 1z m18-19q4 3-1 9-6 5-9 2-4-3 1-9 5-6 9-2z m16-25q6 4 0 11-4 7-9 3-5-3 0-10t9-4z m24-23q4 4-2 10-7 7-11 2-5-5 2-11 6-6 11-1z m32-14q1 6-8 9-8 2-10-4t7-9q8-3 11 4z m35-3q0 7-10 6-9 0-9-6 0-7 10-6 9 0 9 6z m32 5q-1 7-10 5-9-1-8-8t10-4 8 7z" horiz-adv-x="857.1" />
|
|
||||||
|
|
||||||
<glyph glyph-name="menu" unicode="" d="M857 100v-71q0-15-10-25t-26-11h-785q-15 0-25 11t-11 25v71q0 15 11 25t25 11h785q15 0 26-11t10-25z m0 286v-72q0-14-10-25t-26-10h-785q-15 0-25 10t-11 25v72q0 14 11 25t25 10h785q15 0 26-10t10-25z m0 285v-71q0-14-10-25t-26-11h-785q-15 0-25 11t-11 25v71q0 15 11 26t25 10h785q15 0 26-10t10-26z" horiz-adv-x="857.1" />
|
|
||||||
|
|
||||||
<glyph glyph-name="dollar" unicode="" d="M546 189q0-86-56-147t-144-77v-97q0-8-5-13t-13-5h-75q-7 0-13 5t-5 13v97q-37 5-71 18t-57 25-41 26-26 21-10 10q-9 12-1 23l58 76q3 5 12 6 9 1 14-5l1-1q63-55 135-70 21-4 42-4 45 0 79 24t35 68q0 16-9 30t-18 23-33 21-37 18-45 18q-21 9-34 14t-34 15-35 17-32 20-29 24-25 27-20 32-11 37-5 44q0 77 55 135t142 75v100q0 7 5 13t13 5h75q8 0 13-5t5-13v-98q32-3 62-13t48-19 36-20 21-17 9-7q9-11 3-22l-46-81q-4-9-12-9-8-2-15 4-2 2-9 7t-21 14-33 18-42 15-47 6q-53 0-87-24t-33-62q0-14 4-27t17-23 22-18 31-18 34-15 39-15q30-11 45-17t43-20 42-24 34-28 30-35 18-43 7-52z" horiz-adv-x="571.4" />
|
|
||||||
</font>
|
|
||||||
</defs>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,115 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
id="svg8"
|
|
||||||
version="1.1"
|
|
||||||
viewBox="0 0 118.78527 26.486557"
|
|
||||||
height="26.486557mm"
|
|
||||||
width="118.78527mm">
|
|
||||||
<defs
|
|
||||||
id="defs2" />
|
|
||||||
<metadata
|
|
||||||
id="metadata5">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title></dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
transform="translate(-34.8072,-34.045706)"
|
|
||||||
id="layer1">
|
|
||||||
<g
|
|
||||||
transform="translate(-24.473959,-160.73437)"
|
|
||||||
id="g937">
|
|
||||||
<g
|
|
||||||
transform="translate(-224.50641,132.13137)"
|
|
||||||
id="g1038">
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;line-height:1.25;font-family:'Bitstream Vera Serif';-inkscape-font-specification:'Bitstream Vera Serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
|
||||||
x="282.34824"
|
|
||||||
y="79.285706"
|
|
||||||
id="text966"><tspan
|
|
||||||
id="tspan964"
|
|
||||||
x="282.34824"
|
|
||||||
y="79.285706"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Purisa;-inkscape-font-specification:Purisa;fill:#d20000;fill-opacity:1;stroke-width:0.26458332">ANT</tspan></text>
|
|
||||||
<g
|
|
||||||
id="g1009"
|
|
||||||
transform="matrix(1.2280928,0,0,1.2001867,-91.249672,19.54282)">
|
|
||||||
<ellipse
|
|
||||||
ry="6.464582"
|
|
||||||
rx="6.0135646"
|
|
||||||
cy="43.159851"
|
|
||||||
cx="351.17841"
|
|
||||||
id="path979"
|
|
||||||
style="opacity:1;fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:0.44999999;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
||||||
<g
|
|
||||||
transform="translate(7.9606235e-5)"
|
|
||||||
id="g1001">
|
|
||||||
<g
|
|
||||||
id="g995">
|
|
||||||
<ellipse
|
|
||||||
ry="1.0690781"
|
|
||||||
rx="0.58465207"
|
|
||||||
cy="41.37249"
|
|
||||||
cx="349.32629"
|
|
||||||
id="path981"
|
|
||||||
style="opacity:1;fill:#808080;fill-opacity:1;stroke:#1a1a1a;stroke-width:0.44999999;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
|
||||||
<ellipse
|
|
||||||
style="opacity:1;fill:#808080;fill-opacity:1;stroke:#1a1a1a;stroke-width:0.44999999;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
||||||
id="ellipse983"
|
|
||||||
cx="353.03052"
|
|
||||||
cy="41.37249"
|
|
||||||
rx="0.58465207"
|
|
||||||
ry="1.0690781" />
|
|
||||||
</g>
|
|
||||||
<path
|
|
||||||
style="fill:none;stroke:#000000;stroke-width:0.44999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
||||||
d="m 348.0717,45.682208 c 1.45534,1.981301 4.38031,2.366751 6.21401,-0.100227"
|
|
||||||
id="path985" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.16666603px;line-height:1.25;font-family:'Bitstream Vera Serif';-inkscape-font-specification:'Bitstream Vera Serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#d20000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
|
||||||
x="348.3797"
|
|
||||||
y="79.413445"
|
|
||||||
id="text1013"><tspan
|
|
||||||
id="tspan1011"
|
|
||||||
x="348.3797"
|
|
||||||
y="79.413445"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Purisa;-inkscape-font-specification:Purisa;fill:#d20000;fill-opacity:1;stroke-width:0.26458332">N</tspan></text>
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:17.63888931px;line-height:1.25;font-family:'Bitstream Vera Serif';-inkscape-font-specification:'Bitstream Vera Serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
|
||||||
x="365.98984"
|
|
||||||
y="79.600235"
|
|
||||||
id="text1017"><tspan
|
|
||||||
id="tspan1015"
|
|
||||||
x="365.98984"
|
|
||||||
y="79.600235"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:purisa;-inkscape-font-specification:purisa;fill:#333333;stroke-width:0.26458332">cast</tspan></text>
|
|
||||||
<text
|
|
||||||
xml:space="preserve"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7.05555534px;line-height:1.25;font-family:'Bitstream Vera Serif';-inkscape-font-specification:'Bitstream Vera Serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#069a2e;fill-opacity:1;stroke:none;stroke-width:0.26458332"
|
|
||||||
x="283.82233"
|
|
||||||
y="88.810707"
|
|
||||||
id="text1021"><tspan
|
|
||||||
id="tspan1019"
|
|
||||||
x="283.82233"
|
|
||||||
y="88.810707"
|
|
||||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Purisa;-inkscape-font-specification:Purisa;fill:#069a2e;fill-opacity:1;stroke-width:0.26458332">VON ANTON LIERO</tspan></text>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 6.3 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="m298.4 194.7q0-14.15-.8-31.2l-.85-14.25h-51.05v89.95l8 1.1q9.6 1.05 17.6 1.05 7.95 0 17.5-1.05 4.8-.55 7.95-1.1 1.65-22.2 1.65-44.5m-69.75-45.8h-49.3v182.45l7.7.85q9.3.8 17 .8 12.3 0 24.6-1.65z" fill="#ffffff" transform="translate(-138.85 -140.95)"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 353 B |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="m298.4 194.7q0-14.15-.8-31.2l-.85-14.25h-51.05v89.95l8 1.1q9.6 1.05 17.6 1.05 7.95 0 17.5-1.05 4.8-.55 7.95-1.1 1.65-22.2 1.65-44.5m-69.75-45.8h-49.3v182.45l7.7.85q9.3.8 17 .8 12.3 0 24.6-1.65z" fill="#2eae9b" transform="translate(-138.85 -140.95)"/></svg>
|
|
||||||
|
Before Width: | Height: | Size: 353 B |
-177
@@ -1,177 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
||||||
<meta name="robots" content="noindex,nofollow">
|
|
||||||
|
|
||||||
<title>Radio Anton</title>
|
|
||||||
|
|
||||||
<!-- Favicon-->
|
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ theme_url }}/assets/apple-touch-icon.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ theme_url }}/assets/favicon-32x32.png">
|
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ theme_url }}/assets/favicon-16x16.png">
|
|
||||||
<link rel="manifest" href="{{ theme_url }}/assets/site.webmanifest">
|
|
||||||
|
|
||||||
<!-- Bootstrap -->
|
|
||||||
<!-- <link rel="stylesheet" href="{{ theme_url }}/bootstrap-5.3.0-dist/css/bootstrap.min.css">
|
|
||||||
<script src="{{ theme_url }}/bootstrap-5.3.0-dist/js/bootstrap.min.js"></script>
|
|
||||||
--> <link rel="stylesheet" href="bootstrap-5.3.0-dist/css/bootstrap.min.css">
|
|
||||||
<script src="bootstrap-5.3.0-dist/js/bootstrap.bundle.min.js"></script>
|
|
||||||
|
|
||||||
<!-- Fonts -->
|
|
||||||
<!-- <link rel="stylesheet" href="{{ theme_url }}/css/roboto.css" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="{{ theme_url }}/css/contrailone.css" type="text/css" />
|
|
||||||
--> <link rel="stylesheet" href="css/roboto.css" type="text/css" />
|
|
||||||
<link rel="stylesheet" href="css/contrailone.css" type="text/css" />
|
|
||||||
|
|
||||||
<style>
|
|
||||||
.nav-link { font-family: 'Roboto'; font-size: 16px; }
|
|
||||||
|
|
||||||
.nav-link { position: relative; display: inline-block; }
|
|
||||||
|
|
||||||
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0.1em; background-color: #8a42dd; transition: opacity 300ms, transform 300ms; }
|
|
||||||
.nav-link::after { opacity: 1; transform: scale(0); transform-origin: center; }
|
|
||||||
.nav-link:hover::after, .nav-link:focus::after { transform: scale(1); }
|
|
||||||
|
|
||||||
.zoom { transition: transform .2s; }
|
|
||||||
.zoom:hover { transform: scale(1.1); }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<!-- Responsive navbar-->
|
|
||||||
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light">
|
|
||||||
<div class="container px-5"> <!-- {{ theme_url }}/ -->
|
|
||||||
<a class="navbar-brand" href="#!"><img src="assets/radioanton-logo-transparent.png" height="50" class="d-inline-block align-top" alt="Radio Anton"></a>
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
|
||||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
||||||
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
|
||||||
<li class="nav-item"><a class="nav-link active" aria-current="page" href="#radio">Radio</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#podcast">Podcast</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#about">Über uns</a></li>
|
|
||||||
<li class="nav-item"><a class="nav-link" href="#contact">Kontakt</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
<!-- Header-->
|
|
||||||
<header class="bg-dark px-5 py-5 text-center border-bottom" style="height: 26em; background-image: url('assets/2014-10-05 11-39-05.jpg'); background-position: center; background-repeat: no-repeat; background-size: cover;">
|
|
||||||
<div class="container px-5 py-5">
|
|
||||||
<div class="row gx-5 justify-content-center">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<div class="text-center my-5">
|
|
||||||
<h1 class="display-5 fw-bolder text-white mb-2">Radio Anton</h1>
|
|
||||||
<div class="d-grid gap-3 d-sm-flex justify-content-sm-center">
|
|
||||||
<a class="btn btn-primary btn-lg px-4 me-sm-3" href="#radio">Hören!</a>
|
|
||||||
<a class="btn btn-outline-light btn-lg px-4" href="#about">Mehr erfahren</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<!-- Radio -->
|
|
||||||
<div class="container col-xxl-8 px-4 py-5 my-5" id="radio">
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="col-10 col-sm-8 col-lg-6" style="overflow:hidden; padding:0; margin:0;">
|
|
||||||
<img src="assets/photo-onair.webp" class="zoom d-block mx-lg-auto img-fluid" alt="On Air" loading="lazy" style="height: 400px; object-fit: cover;">
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 text-center">
|
|
||||||
<h1 class="display-5 fw-bold lh-1 mb-3">Live als Stream</h1>
|
|
||||||
<p class="lead">Immer samstags und sonntags ab 15:00 Uhr im</p>
|
|
||||||
<p>
|
|
||||||
<a id="streamBtn" class="btn btn-primary btn-lg px-4 me-sm-3" href="https://www.nodebucket.de:8444/radioanton">Livestream</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Podcast -->
|
|
||||||
<div class="container col-xxl-8 px-4 py-5 my-5" id="podcast">
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h1 class="text-center display-5 fw-bold lh-1 mb-3">Radio Anton als Podcast</h1>
|
|
||||||
<p>Folge 1</p>
|
|
||||||
<p>Folge 2</p>
|
|
||||||
</div>
|
|
||||||
<div class="col-10 col-sm-8 col-lg-6" style="overflow:hidden; padding:0; margin:0;">
|
|
||||||
<img src="assets/photo-mic.webp" class="zoom d-block mx-lg-auto img-fluid" alt="Microphone" loading="lazy" style="height: 400px; object-fit: cover;">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Über uns -->
|
|
||||||
<div class="container col-xxl-8 px-4 py-5 my-5" id="about">
|
|
||||||
<h1 class="text-center">Das Team</h1>
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="text-center col-10 col-sm-8 col-lg-6">
|
|
||||||
<img src="assets/portrait-anton.jpg" class="rounded-circle shadow img-fluid" style="height: 200px;" loading="lazy">
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 lead">
|
|
||||||
Anton hat Radio Anton ins Leben gerufen, gestaltet das Programm und ist bei jeder Sendung am Mikrofon
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="text-center col-10 col-sm-8 col-lg-6">
|
|
||||||
<img src="assets/portrait-jacob.jpg" class="rounded-circle shadow img-fluid" style="height: 200px;" loading="lazy">
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 lead">
|
|
||||||
Jacob ist Co-Moderator und zuständig für den Witze-Wahnsinn
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="text-center col-10 col-sm-8 col-lg-6">
|
|
||||||
<img src="assets/portrait-anica.jpg" class="rounded-circle shadow img-fluid" style="height: 200px;" loading="lazy">
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 lead">
|
|
||||||
Anica gibt euch das Wetter-Update bei Radio Anton
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="text-center col-10 col-sm-8 col-lg-6">
|
|
||||||
<img src="assets/portrait-tilman.jpg" class="rounded-circle shadow img-fluid" style="height: 200px;" loading="lazy">
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 lead">
|
|
||||||
Tilman kennt sich mit der Technik aus und sorgt dafür, dass unser Stream auf euer Gerät kommt
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Kontakt -->
|
|
||||||
<div class="container col-xxl-8 px-4 py-5 my-5" id="contact">
|
|
||||||
<div class="row flex-lg-row-reverse align-items-center g-5 py-5">
|
|
||||||
<div class="col-lg-6">
|
|
||||||
<h1 class="text-center display-5 fw-bold lh-1 mb-3">Mitmachen! 😎</h1>
|
|
||||||
<div class="text-center lead">
|
|
||||||
Musikwünsche direkt ins Studio schicken, Themen-Updates und Neuigkeiten erhalten - das alles kannst du als Mitglied in unserer WhatsApp-Gruppe
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-10 col-sm-8 col-lg-6" style="overflow:hidden; padding:0; margin:0;">
|
|
||||||
<img src="assets/whatsapp.png" class="d-block mx-lg-auto img-fluid" alt="On Air" loading="lazy" style="height: 260px;">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
|
||||||
// Activate stream button only on Saturdays and Sundays 15:00-18:00
|
|
||||||
function streamBtnActivate() {
|
|
||||||
const d = new Date();
|
|
||||||
let day = d.getDay();
|
|
||||||
let hour = d.getHours();
|
|
||||||
|
|
||||||
if ((day == 0 || day == 6) && (hour >= 15 && hour <= 18)) {
|
|
||||||
document.getElementById("streamBtn").classList.remove("disabled");
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
document.getElementById("streamBtn").classList.add("disabled");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
streamBtnActivate();
|
|
||||||
setInterval(streamBtnActivate, 10000);
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Vendored
-3
@@ -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;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(i=r(n.fn,"function")?n.fn():n.fn,o=0;o<e.length;o++)s=e[o],a=s.split("."),1===a.length?Modernizr[a[0]]=i:(!Modernizr[a[0]]||Modernizr[a[0]]instanceof Boolean||(Modernizr[a[0]]=new Boolean(Modernizr[a[0]])),Modernizr[a[0]][a[1]]=i),C.push((i?"":"no-")+a.join("-"))}}function o(e){return e.replace(/([a-z])-([a-z])/g,function(e,n,t){return n+t.toUpperCase()}).replace(/^-/,"")}function s(e,n){return!!~(""+e).indexOf(n)}function a(e,n){return function(){return e.apply(n,arguments)}}function f(e,n,t){var i;for(var o in e)if(e[o]in n)return t===!1?e[o]:(i=n[e[o]],r(i,"function")?a(i,t||n):i);return!1}function l(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):T?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function u(e){return e.replace(/([A-Z])/g,function(e,n){return"-"+n.toLowerCase()}).replace(/^ms-/,"-ms-")}function d(){var e=n.body;return e||(e=l(T?"svg":"body"),e.fake=!0),e}function p(e,t,r,i){var o,s,a,f,u="modernizr",p=l("div"),c=d();if(parseInt(r,10))for(;r--;)a=l("div"),a.id=i?i[r]:u+(r+1),p.appendChild(a);return o=l("style"),o.type="text/css",o.id="s"+u,(c.fake?c:p).appendChild(o),c.appendChild(p),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(n.createTextNode(e)),p.id=u,c.fake&&(c.style.background="",c.style.overflow="hidden",f=w.style.overflow,w.style.overflow="hidden",w.appendChild(c)),s=t(p,e),c.fake?(c.parentNode.removeChild(c),w.style.overflow=f,w.offsetHeight):p.parentNode.removeChild(p),!!s}function c(n,r){var i=n.length;if("CSS"in e&&"supports"in e.CSS){for(;i--;)if(e.CSS.supports(u(n[i]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];i--;)o.push("("+u(n[i])+":"+r+")");return o=o.join(" or "),p("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return t}function m(e,n,i,a){function f(){d&&(delete P.style,delete P.modElem)}if(a=r(a,"undefined")?!1:a,!r(i,"undefined")){var u=c(e,i);if(!r(u,"undefined"))return u}for(var d,p,m,v,h,y=["modernizr","tspan","samp"];!P.style&&y.length;)d=!0,P.modElem=l(y.shift()),P.style=P.modElem.style;for(m=e.length,p=0;m>p;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<Modernizr._q.length;L++)Modernizr._q[L]();e.Modernizr=Modernizr}(window,document);
|
|
||||||
-74
@@ -1,74 +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
|
|
||||||
*/
|
|
||||||
|
|
||||||
function main()
|
|
||||||
{
|
|
||||||
// capability CSS classes
|
|
||||||
document.documentElement.className = 'js';
|
|
||||||
|
|
||||||
// wrap tables
|
|
||||||
var tables = document.querySelectorAll('#main > .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();
|
|
||||||
-134
@@ -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);
|
|
||||||
};
|
|
||||||
@@ -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)
|
|
||||||
Reference in New Issue
Block a user