summaryrefslogtreecommitdiffstats
path: root/themes/lv2/static
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-05 14:00:41 -0400
committerDavid Robillard <d@drobilla.net>2022-07-05 14:00:41 -0400
commit838c0c6ecfa68a01abeb4d0e67842656aec9ac60 (patch)
tree145bc0742a9e1f52ea41267a93bd0d612facf5a6 /themes/lv2/static
parent62712ca6bc33f6f5e61667fc9368ea0551111d51 (diff)
downloadlv2site-838c0c6ecfa68a01abeb4d0e67842656aec9ac60.tar.xz
Remove dead code
Diffstat (limited to 'themes/lv2/static')
-rw-r--r--themes/lv2/static/css/main.css25
-rw-r--r--themes/lv2/static/css/slideshow.css38
-rw-r--r--themes/lv2/static/js/slideshow.js25
3 files changed, 0 insertions, 88 deletions
diff --git a/themes/lv2/static/css/main.css b/themes/lv2/static/css/main.css
index 29f867d..457917f 100644
--- a/themes/lv2/static/css/main.css
+++ b/themes/lv2/static/css/main.css
@@ -230,31 +230,6 @@ 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 */
.hll { background-color: #222222 }
diff --git a/themes/lv2/static/css/slideshow.css b/themes/lv2/static/css/slideshow.css
deleted file mode 100644
index 6234fbb..0000000
--- a/themes/lv2/static/css/slideshow.css
+++ /dev/null
@@ -1,38 +0,0 @@
-#slideshow {
- width: 16em;
- height: 16em;
- float: right;
- margin: 0 0 2em 2em;
- right: 0;
- top: 0;
- line-height: 16em;
- transform-style: preserve-3d;
- vertical-align: middle;
-}
-
-#slideshow img {
- border-radius: 6px;
- height: auto;
- left: 0;
- margin: auto auto auto auto;
- max-height: 100%;
- max-width: 100%;
- opacity: 0;
- position: absolute;
- right: 0;
- text-align: center;
- transition-duration: 1s;
- transition-property: opacity;
- vertical-align: middle;
- width: auto;
-}
-
-#slideshow .fadein {
- opacity: 1.0;
- transform-origin: bottom left;
-}
-
-#slideshow .fadeout {
- opacity: 0.0;
- transform-origin: bottom left;
-}
diff --git a/themes/lv2/static/js/slideshow.js b/themes/lv2/static/js/slideshow.js
deleted file mode 100644
index e50991c..0000000
--- a/themes/lv2/static/js/slideshow.js
+++ /dev/null
@@ -1,25 +0,0 @@
-function startSlideShow() {
- var slideshow = document.getElementById("slideshow"),
- imgs = slideshow.getElementsByTagName("img"),
- n = imgs.length,
- m = Math.floor((Math.random() * n));
-
- // Start transition of initial image
- imgs[m].className = "fadein";
- m = (m + 1) % n;
-
- function tick() {
- // Fade out the previous image, and fade in the next
- var prev = (m + n - 1) % n,
- next = (m + 1) % n;
-
- imgs[prev].className = "";
- imgs[m].className = "fadeout";
- imgs[next].className = "fadein";
-
- m = (m + 1) % n;
- }
- window.setInterval(tick, 4000);
-}
-
-startSlideShow();