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

2 years ago
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
2 years ago
<title>Oracolotto</title>
2 years ago
<link href="stylesheet.css" rel="stylesheet">
<script src="circletype.min.js"></script>
</head>
<body>
<section>
2 years ago
<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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</div>
2 years ago
<div class="card">
<p id="up" class="up">'a mamma</p>
<p id="down" class="down">the mother</p>
2 years ago
<img src='./images/4.mother.png'>
2 years ago
</div>
2 years ago
<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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</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'>
2 years ago
</div>
2 years ago
</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);
}
2 years ago
var downs = document.querySelectorAll(".down");
for (let i = 0; i < downs.length; i++) {
new CircleType(downs[i]).dir(-1).radius(160);
}
2 years ago
</script>
2 years ago
</html>