-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
527 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Party Box Cards - MTG Card Selector</title> | ||
<link rel="stylesheet" href="party-box/party-box.css"> | ||
<link rel="icon" href="party-box/assets/icon.png"> | ||
|
||
</head> | ||
<body> | ||
<header> | ||
<h1>Party Box Cards</h1> | ||
<p>Select what card you have to continue</p> | ||
</header> | ||
|
||
<div class="container"> | ||
<div class="card-grid"> | ||
<div class="card" onclick="selectCard('Slot Machine')"> | ||
<img src="party-box/assets/placeholder.png" alt="Slot Machine"> | ||
<h3>Slot Machine</h3> | ||
</div> | ||
<div class="card" onclick="selectCard('Ancestral Recall')"> | ||
<img src="party-box/assets/placeholder.png" alt="Ancestral Recall"> | ||
<h3>Ancestral Recall</h3> | ||
</div> | ||
<div class="card" onclick="selectCard('Time Walk')"> | ||
<img src="party-box/assets/placeholder.png" alt="Time Walk"> | ||
<h3>Time Walk</h3> | ||
</div> | ||
<div class="card" onclick="selectCard('Mox Sapphire')"> | ||
<img src="party-box/assets/placeholder.png" alt="Mox Sapphire"> | ||
<h3>Mox Sapphire</h3> | ||
</div> | ||
<div class="card" onclick="selectCard('Jace, the Mind Sculptor')"> | ||
<img src="party-box/assets/placeholder.png" alt="Jace, the Mind Sculptor"> | ||
<h3>Jace, the Mind Sculptor</h3> | ||
</div> | ||
<div class="card" onclick="selectCard('Liliana of the Veil')"> | ||
<img src="party-box/assets/placeholder.png" alt="Liliana of the Veil"> | ||
<h3>Liliana of the Veil</h3> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="/party-box/party-box.js"></script> | ||
<script> | ||
function selectCard(cardName) { | ||
window.location.href = `findirfin.dev/party-box/${cardName.toLowerCase().replace(/ /g, '-')}`; | ||
} | ||
</script> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
body { | ||
font-family: 'Beleren', Arial, sans-serif; | ||
background-color: #1a1a1a; | ||
color: #d4af37; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.container { | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
header { | ||
text-align: center; | ||
padding: 40px 0; | ||
position: relative; | ||
overflow: hidden; | ||
} | ||
header::before { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-image: url('./assets/banner.png'); | ||
background-size: cover; | ||
background-position: center; | ||
filter: blur(8px); | ||
z-index: -1; | ||
} | ||
header::after { | ||
content: ""; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-color: rgba(0, 0, 0, 0.5); | ||
z-index: -1; | ||
} | ||
h1 { | ||
font-size: 48px; | ||
margin-bottom: 10px; | ||
text-shadow: 2px 2px 4px rgba(0,0,0,0.5); | ||
position: relative; | ||
z-index: 1; | ||
} | ||
header p { | ||
position: relative; | ||
z-index: 1; | ||
} | ||
.card-grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | ||
gap: 20px; | ||
margin-top: 40px; | ||
} | ||
.card { | ||
background-color: #2a2a2a; | ||
border: 2px solid #d4af37; | ||
border-radius: 10px; | ||
padding: 20px; | ||
text-align: center; | ||
cursor: pointer; | ||
transition: transform 0.3s ease; | ||
} | ||
.card:hover { | ||
transform: scale(1.05); | ||
} | ||
.card img { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: 5px; | ||
} | ||
.card h3 { | ||
margin-top: 10px; | ||
} | ||
|
||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
|
||
/* General styles */ | ||
body { | ||
font-family: 'Beleren', Arial, sans-serif; | ||
background-color: #1a1a1a; | ||
color: #d4af37; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.container { | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
text-align: center; | ||
} | ||
|
||
/* MTG Card styles */ | ||
.mtg-card { | ||
width: 375px; | ||
height: 523px; | ||
background-color: #171314; | ||
border-radius: 18px; | ||
margin: 20px auto; | ||
position: relative; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); | ||
overflow: hidden; | ||
} | ||
|
||
.card-frame { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-image: url('./assets/background.png'); | ||
background-size: cover; | ||
border-radius: 18px; | ||
} | ||
|
||
.card-name { | ||
position: absolute; | ||
top: 8px; | ||
left: 24px; | ||
right: 24px; | ||
padding-bottom: 10px; | ||
font-size: 24px; | ||
font-weight: bold; | ||
color: #fff; | ||
text-shadow: 2px 2px 2px #000; | ||
} | ||
|
||
.card-image { | ||
position: absolute; | ||
top: 60px; | ||
left: 23px; | ||
right: 23px; | ||
margin-left: 10px; | ||
margin-right: 10px; | ||
height: 228px; | ||
background-color: #bbb; | ||
background-image: url('./assets/slot-machine.png'); | ||
background-size: cover; | ||
background-position: center; | ||
border-radius: 10px 10px 0 0; | ||
} | ||
|
||
.card-type { | ||
position: absolute; | ||
top: 298px; | ||
left: 24px; | ||
right: 24px; | ||
font-size: 18px; | ||
color: #fff; | ||
text-shadow: 1px 1px 1px #000; | ||
} | ||
|
||
.card-text { | ||
position: absolute; | ||
top: 330px; | ||
left: 24px; | ||
right: 24px; | ||
bottom: 95px; | ||
margin-left: 10px; | ||
margin-right: 10px; | ||
height: 120px; | ||
background-color: rgba(255, 255, 255, 0.438); | ||
border-radius: 8px; | ||
padding: 10px; | ||
font-size: 14px; | ||
color: #000; | ||
text-align: left; | ||
overflow-y: auto; | ||
} | ||
|
||
.card-text p { | ||
margin: 5px 0; | ||
} | ||
|
||
/* Button styles */ | ||
button { | ||
background-color: #d4af37; | ||
color: #1a1a1a; | ||
border: none; | ||
padding: 10px 20px; | ||
margin: 5px; | ||
cursor: pointer; | ||
font-family: 'Beleren', Arial, sans-serif; | ||
font-size: 16px; | ||
border-radius: 5px; | ||
} | ||
|
||
button:hover { | ||
background-color: #b8960f; | ||
} | ||
|
||
.ability-selection { | ||
margin-top: 20px; | ||
} | ||
|
||
/* Scrollbar styles for card text */ | ||
.card-text::-webkit-scrollbar { | ||
width: 6px; | ||
} | ||
|
||
.card-text::-webkit-scrollbar-track { | ||
background: #f1f1f1; | ||
} | ||
|
||
.card-text::-webkit-scrollbar-thumb { | ||
background: #888; | ||
} | ||
|
||
.card-text::-webkit-scrollbar-thumb:hover { | ||
background: #555; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>MTG Slot Machine</title> | ||
<link rel="stylesheet" href="party-box.css"> | ||
<link rel="stylesheet" href="slot-machine.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>MTG Slot Machine</h1> | ||
<div class="mtg-card"> | ||
<div class="card-frame"></div> | ||
<h2 class="card-name">Slot Machine</h2> | ||
<div class="card-image"></div> | ||
<div class="card-type">Enchantment</div> | ||
<div class="card-text"> | ||
<p class="ability-1"></p> | ||
<p class="ability-2"></p> | ||
<p class="ability-3"></p> | ||
</div> | ||
</div> | ||
<button id="generate-btn">Reload</button> | ||
<div class="ability-selection"> | ||
<h3>Select an ability to use:</h3> | ||
<button class="ability-btn" data-index="0">Use Ability 1</button> | ||
<button class="ability-btn" data-index="1">Use Ability 2</button> | ||
<button class="ability-btn" data-index="2">Use Ability 3</button> | ||
</div> | ||
</div> | ||
<script src="slot-machine.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.