Compare commits

..

No commits in common. "3d3d29304c52a5605a056c9f4f275a3d9f7b9754" and "25ceda5dea96e9575a1e72ea0bef505f6de30061" have entirely different histories.

5 changed files with 0 additions and 24 deletions

View File

@ -2,7 +2,6 @@
{artist: Vision Days} {artist: Vision Days}
{columns: 2} {columns: 2}
{c: Capo 2/3?}
{c: Bridge a sloka jsou off-beat} {c: Bridge a sloka jsou off-beat}
{soc} {soc}

View File

@ -1,10 +1,7 @@
{title: Jaro na Aljašce} {title: Jaro na Aljašce}
{artist: K. T. O.} {artist: K. T. O.}
{transpose: 5}
{columns: 2} {columns: 2}
{c: Původně od G, transpozice o 5}
{sov} {sov}
Až [G]jaro na Aljašku [C]zavítá k [G]nám, Až [G]jaro na Aljašku [C]zavítá k [G]nám,
[G]hromadu zlata já [A]za zimu [D]mám, [G]hromadu zlata já [A]za zimu [D]mám,
@ -32,8 +29,6 @@ když [G]jaro na Aljašku [C]zavítá k [G]nám?
[G]šampaňský víno tu [A]sám budu [D]pít, [G]šampaňský víno tu [A]sám budu [D]pít,
s [G]partnery svými tu [C]zůstanu [G]sám, s [G]partnery svými tu [C]zůstanu [G]sám,
až [G]jaro na Aljašku [C]zavítá k [G]nám. až [G]jaro na Aljašku [C]zavítá k [G]nám.
{eov}
{sov}
Až [G]jaro na Aljašku [C]zavítá k [G]nám. Až [G]jaro na Aljašku [C]zavítá k [G]nám.
{eov} {eov}

View File

@ -2,8 +2,6 @@
{artist: Milan Chladil} {artist: Milan Chladil}
{columns: 2} {columns: 2}
{c: Capo 3?}
{sob} {sob}
[G] [Am] [D] [G] [G] [Am] [D] [G]
{eob} {eob}

View File

@ -10,7 +10,6 @@ body {
color: $col-white; color: $col-white;
font-family: "Noto Sans", Tahoma, Geneva, Verdana, sans-serif; font-family: "Noto Sans", Tahoma, Geneva, Verdana, sans-serif;
text-rendering: geometricPrecision; text-rendering: geometricPrecision;
transform-origin: 0 0;
} }
table { table {

View File

@ -1,7 +1,6 @@
const controls = document.querySelector(".controls"); const controls = document.querySelector(".controls");
const song = document.querySelector("iframe.song").contentWindow; const song = document.querySelector("iframe.song").contentWindow;
// Autoscroll
var scroll; var scroll;
function pageScroll() { function pageScroll() {
song.scrollBy(0, 1); song.scrollBy(0, 1);
@ -17,19 +16,5 @@ document.querySelector("#autoscroll").addEventListener("click", function() {
this.classList.toggle("active"); this.classList.toggle("active");
}); });
// Scaling
function pageScale(value) {
if (value === 0) {
song.document.body.style.transform = "scale(1)";
return;
}
const currentScale = parseFloat(song.document.body.style.transform.split("scale(")[1]) || 1;
song.document.body.style.transform = "scale(" + (currentScale + value) + ")";
}
controls.querySelector("#font-size-increase").addEventListener("click", () => pageScale(0.1));
controls.querySelector("#font-size-decrease").addEventListener("click", () => pageScale(-0.1));
controls.querySelector("#font-size-reset").addEventListener("click", () => pageScale(0));
// Display the controls on JS-enabled browsers // Display the controls on JS-enabled browsers
window.addEventListener("load", () => controls.classList.remove = "hidden"); window.addEventListener("load", () => controls.classList.remove = "hidden");