diff options
20 files changed, 63 insertions, 51 deletions
diff --git a/content/images/screenshots/amsynth.png b/content/images/screenshots/amsynth.png Binary files differnew file mode 100644 index 0000000..cf349d3 --- /dev/null +++ b/content/images/screenshots/amsynth.png diff --git a/content/images/screenshots/x42-balance.png b/content/images/screenshots/x42-balance.png Binary files differnew file mode 100644 index 0000000..26b0354 --- /dev/null +++ b/content/images/screenshots/x42-balance.png diff --git a/content/images/screenshots/x42-ebur128.png b/content/images/screenshots/x42-ebur128.png Binary files differnew file mode 100644 index 0000000..a24cfd9 --- /dev/null +++ b/content/images/screenshots/x42-ebur128.png diff --git a/content/images/screenshots/x42-goniometer.png b/content/images/screenshots/x42-goniometer.png Binary files differnew file mode 100644 index 0000000..d630080 --- /dev/null +++ b/content/images/screenshots/x42-goniometer.png diff --git a/content/images/screenshots/x42-iec61260.png b/content/images/screenshots/x42-iec61260.png Binary files differnew file mode 100644 index 0000000..aa13bb7 --- /dev/null +++ b/content/images/screenshots/x42-iec61260.png diff --git a/content/images/screenshots/x42-meters_bar.png b/content/images/screenshots/x42-meters_bar.png Binary files differnew file mode 100644 index 0000000..0fc6905 --- /dev/null +++ b/content/images/screenshots/x42-meters_bar.png diff --git a/content/images/screenshots/x42-meters_needle.png b/content/images/screenshots/x42-meters_needle.png Binary files differnew file mode 100644 index 0000000..45c39e6 --- /dev/null +++ b/content/images/screenshots/x42-meters_needle.png diff --git a/content/images/screenshots/x42-phasewheel.png b/content/images/screenshots/x42-phasewheel.png Binary files differnew file mode 100644 index 0000000..8c9e76f --- /dev/null +++ b/content/images/screenshots/x42-phasewheel.png diff --git a/content/images/screenshots/x42-scope.png b/content/images/screenshots/x42-scope.png Binary files differnew file mode 100644 index 0000000..354da34 --- /dev/null +++ b/content/images/screenshots/x42-scope.png diff --git a/content/images/screenshots/x42-setbfree.png b/content/images/screenshots/x42-setbfree.png Binary files differnew file mode 100644 index 0000000..79ca3c2 --- /dev/null +++ b/content/images/screenshots/x42-setbfree.png diff --git a/content/images/screenshots/x42-tuna1.png b/content/images/screenshots/x42-tuna1.png Binary files differnew file mode 100644 index 0000000..d5a14a9 --- /dev/null +++ b/content/images/screenshots/x42-tuna1.png diff --git a/content/images/screenshots/zam_eq2.png b/content/images/screenshots/zam_eq2.png Binary files differnew file mode 100644 index 0000000..5724428 --- /dev/null +++ b/content/images/screenshots/zam_eq2.png diff --git a/content/images/screenshots/zam_multicomp.png b/content/images/screenshots/zam_multicomp.png Binary files differnew file mode 100644 index 0000000..0210487 --- /dev/null +++ b/content/images/screenshots/zam_multicomp.png diff --git a/content/pages/index.md b/content/pages/index.md index 5968f45..6823dc0 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -7,9 +7,11 @@ plugins, used by hundreds of plugins and other projects. At its core, LV2 is a simple stable interface, accompanied by *extensions* which add functionality to support the needs of increasingly powerful audio software. -* [**Download LV2 1.10.0**](http://lv2plug.in/spec/lv2-1.10.0.tar.bz2) - [(sig)](http://lv2plug.in/spec/lv2-1.10.0.tar.bz2.sig) -* [Why LV2?](pages/why-lv2.html) -* [Projects Using LV2](pages/projects.html) -* [Mailing List](http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in) -* Chat in [#lv2](http://webchat.freenode.net/?channels=lv2) on irc.freenode.net +<ul id="mainlist"> + <li><a href="http://lv2plug.in/spec/lv2-1.10.0.tar.bz2">Download LV2 1.10.0</a> + <a href="http://lv2plug.in/spec/lv2-1.10.0.tar.bz2.sig"><small>.sig</small></a></li> + <li><a href="pages/why-lv2.html">Why LV2?</a></li> + <li><a href="pages/projects.html">Projects</a></li> + <li><a href="http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in">Mailing List</a></li> + <li><a href="http://webchat.freenode.net/?channels=lv2">IRC Chat</a></li> +</ul> diff --git a/content/pages/projects.md b/content/pages/projects.md index 15e90aa..20ac739 100644 --- a/content/pages/projects.md +++ b/content/pages/projects.md @@ -2,10 +2,10 @@ title: Projects This page is a partial list of LV2 projects. If you know of any that are not listed here, please -[let us know](http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in) or -[http://lv2plug.in/git](add them) and send us a patch. +[let us know](http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in) or [send a +patch](http://lv2plug.in/git). -Another list is available at the [http://apps.linuxaudio.org/apps/categories/lv2](http://apps.linuxaudio.org/apps/categories/lv2). +Another list is available at <http://apps.linuxaudio.org/apps/all/lv2>. ## Plugins @@ -13,6 +13,7 @@ Another list is available at the [http://apps.linuxaudio.org/apps/categories/lv2 Project | Description -------------------------------------------------------------|-------------------------------------------------------------------- +[amSynth](https://code.google.com/p/amsynth/) | Virtual analog synthesizer. [EMap](http://www.colorfulsoftware.com/emap) | FluidSynth soundfont playing synth. [foo-yc20](http://code.google.com/p/foo-yc20/) | Faithful emulation of the YC-20 divide-down combo organ. [lv2-mdaEPiano](http://github.com/rekado/lv2-mdaEPiano) | Native LV2 port of the famous mdaEPiano VSTi. diff --git a/extra_plugins/gallery.py b/extra_plugins/gallery.py index 3c5011d..84d5a6f 100644 --- a/extra_plugins/gallery.py +++ b/extra_plugins/gallery.py @@ -1,6 +1,6 @@ -import logging, json, os, sys, time, Image +import logging, json, os, sys, time from pelican import signals -from PIL import ImageOps +from PIL import Image, ImageOps """ @@ -163,10 +163,10 @@ class Gallery(): if not os.path.exists(preset_dir): os.makedirs(preset_dir) else: - print "You have no presets defined, please add GALLERY_PRESETS array to settings file, with at least one preset defined, see docs." + print("You have no presets defined, please add GALLERY_PRESETS array to settings file, with at least one preset defined, see docs.") def get_files_from_data(self): - print "getting files for %s" % self.absolute_src_path + print("getting files for %s" % self.absolute_src_path) from os import listdir from os.path import isfile, join return [ f for f in listdir(self.absolute_src_path) if isfile(join(self.absolute_src_path,f)) and f != ".DS_Store" ] diff --git a/pelicanconf.py b/pelicanconf.py index 7b4b178..46f7066 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -56,6 +56,7 @@ DISPLAY_SERIES_ON_SIDEBAR = False DISPLAY_CATEGORIES_ON_SIDEBAR = False PLUGIN_PATHS = ["extra_plugins"] +PLUGIN_PATH = "extra_plugins" PLUGINS = ["gallery"] GALLERY_FOLDER = "galleries" diff --git a/themes/lv2/static/css/main.css b/themes/lv2/static/css/main.css index 2031cf9..799cb10 100644 --- a/themes/lv2/static/css/main.css +++ b/themes/lv2/static/css/main.css @@ -7,6 +7,9 @@ body { color: #000; margin: 0; padding: 0; + max-width: 60em; + margin-left: auto; + margin-right: auto; } a:link { @@ -149,9 +152,6 @@ nav { border-radius: 0 0 6px 6px; color: #EEE; margin: 0; - margin-left: auto; - margin-right: auto; - max-width: 60em; padding: 0.5em; } @@ -184,9 +184,6 @@ header a#page-title { #content { padding: 0.5em 2em 2em 2em; - max-width: 60em; - margin-left: auto; - margin-right: auto; } .highlight { @@ -197,6 +194,30 @@ header a#page-title { border-radius: 6px; } +#mainlist { + text-align: center; + margin: 0; + padding: 0; +} + +#mainlist li { + background-color: #222; + color: #FFF; + font-weight: bold; + background: linear-gradient(to bottom, #444 0%, #000 100%); + border: solid 2px #444; + border-radius: 6px; + display: inline-block; + list-style-type: none; + margin: 0.25em; + padding: 0.5em; + white-space: nowrap; + vertical-align: middle; +} + +#mainlist li a, #mainlist li a:visited { + color: #FFF; +} /* Pygments Style */ diff --git a/themes/lv2/static/css/slideshow.css b/themes/lv2/static/css/slideshow.css index 7fe664d..508761c 100644 --- a/themes/lv2/static/css/slideshow.css +++ b/themes/lv2/static/css/slideshow.css @@ -1,30 +1,32 @@ #slideshow { - background-color: #000; - border: 3px solid #000; - border-radius: 6px; - display: inline-block; - height: 20em; - line-height: 20em; - margin: 1em; + line-height: 20em; + margin: 2em; margin-left: auto; margin-right: auto; position: relative; - text-align: right; - vertical-align: middle; - width: 20em; + text-align: center; + transform-style: preserve-3d; + vertical-align: middle; + width: 640px; + height: 480px; } #slideshow img { - left: 0; - width: 100%; - height: auto; - max-height: 100%; + border-radius: 6px; + height: auto; + left: 0; + margin-left: auto; + margin-right: auto; + max-height: 100%; + max-width: 100%; opacity: 0; position: absolute; - text-align: center; + right: 0; + text-align: center; transition-duration: 1s; transition-property: opacity; - vertical-align: middle; + vertical-align: middle; + width: auto; } #slideshow .fadein { diff --git a/themes/lv2/static/js/slideshow.js b/themes/lv2/static/js/slideshow.js index d9fb9c5..e50991c 100644 --- a/themes/lv2/static/js/slideshow.js +++ b/themes/lv2/static/js/slideshow.js @@ -1,23 +1,8 @@ -function getPreviousNode(n) { - var p = n.previousSibling; - while (p && p.nodeType !== 1) { - p = p.previousSibling; - } - return p; -} - function startSlideShow() { var slideshow = document.getElementById("slideshow"), imgs = slideshow.getElementsByTagName("img"), n = imgs.length, - m = Math.floor((Math.random() * n)), - pred = getPreviousNode(slideshow); - - // Shrink width of predecessor so gallery fits beside it - if (pred) { - pred.style.width = "50%"; - pred.style.display = "inline-block"; - } + m = Math.floor((Math.random() * n)); // Start transition of initial image imgs[m].className = "fadein"; |