You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
4.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Oracolotto</title>
<link href="stylesheet.css" type="text/html">
<script src="circletype.min.js"></script>
</head>
<body>
<section>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the coffee</p>
<img src='./images/1.coffee.png'>
</div>
<div class="card">
<p id="up" class="up">e ddoie zetelle</p>
<p id="down" class="down">the spinsters</p>
<img src='./images/2.spinsters.png'>
</div>
<div class="card">
<p id="up" class="up">'a sposa</p>
<p id="down" class="down">the bride</p>
<img src='./images/3.bride.png'>
</div>
<div class="card">
<p id="up" class="up">'a mamma</p>
<p id="down" class="down">the mother</p>
<img src='./images/4.mother.png'>
</div>
<div class="card">
<p id="up" class="up">'a chiesa</p>
<p id="down" class="down">the church</p>
<img src='./images/5.church.png'>
</div>
<div class="card">
<p id="up" class="up">sott'e ncoppa</p>
<p id="down" class="down">the upside down</p>
<img src='./images/6.upsidedown.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the bird</p>
<img src='./images/7.bird.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the breasts</p>
<img src='./images/8.tits.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the crying</p>
<img src='./images/9.crying.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the set table</p>
<img src='./images/10.settable.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the coffee</p>
<img src='./images/11.lament.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">purgatory's souls</p>
<img src='./images/12.purgatory.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the talking dead</p>
<img src='./images/13.talkingdead.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the warm soup</p>
<img src='./images/14.warmsoup.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the devils</p>
<img src='./images/15.devils.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the storm</p>
<img src='./images/16.storm.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">christmas</p>
<img src='./images/17.christmas.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">blood</p>
<img src='./images/18.blood.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">laughter</p>
<img src='./images/19.laughter.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the gossiping woman</p>
<img src='./images/20.gossiping.png'>
</div>
<div class="card">
<p id="up" class="up">'o ccafè</p>
<p id="down" class="down">the good wine</p>
<img src='./images/21.goodwine.png'>
</div>
</section>
</body>
<script>
// new CircleType(document.getElementById("up")).radius(120);
// new CircleType(document.getElementById("down")).dir(-1).radius(120);
// https://www.w3schools.com/js/js_loop_for.asp
var ups = document.querySelectorAll(".up");
for (let i = 0; i < ups.length; i++) {
new CircleType(ups[i]).radius(160);
}
var downs = document.querySelectorAll(".down");
for (let i = 0; i < downs.length; i++) {
new CircleType(downs[i]).dir(-1).radius(160);
}
</script>
</html>