-
Notifications
You must be signed in to change notification settings - Fork 1
/
play-dnd-creator-1-race.html
243 lines (239 loc) · 19.2 KB
/
play-dnd-creator-1-race.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>PLAY DND - Choose Race</title>
<link rel="icon" href="img/dice-d20-solid.svg">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/play-dnd.css">
<script src="https://kit.fontawesome.com/2a42ed463e.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<!-- navbar-->
<nav class="navbar navbar-expand-lg bg-light border-bottom border-3 border-dark">
<div class="container-fluid text-end">
<a class="navbar-brand font-press" href="#">PLAY DND</a>
<i class="fa-solid fa-dice-d20 fs-3"></i>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNavAltMarkup">
<div class="navbar-nav text-end font-VT323">
<a class="nav-link active" aria-current="page" href="#">Home</a>
<a class="nav-link" href="#">Characters</a>
<a class="nav-link" href="#">New Character</a>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Page Style
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" id='styleGrassland' href="#">Grasslands</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</li>
<a class="nav-link" href="#"><i class="fa-solid fa-user"></i> Profile</a>
</div>
</div>
</div>
</nav>
</header>
<!-- end navbar-->
<main>
<div class="container-fluid">
<div class="row justify-content-center">
<div class="text-center mt-4 mb-4">
<div class="row align-items-center justify-content-center">
<button class="carouselArrow col-1 justify-content-end" data-bs-target="#raceCarousel"
data-bs-slide="prev">
<img src="img/icons/left-arrow-pixel.png" alt="Left Arrow"></button>
<h1 class="font-press col-8">Select a Race</h1>
<button class="carouselArrow col-1" data-bs-target="#raceCarousel" data-bs-slide="next"><img
src="img/icons/right-arrow-pixel.png" alt="Right Arrow"></button>
</div>
<div class="row p-0 justify-content-center">
<div class="p-0 col-lg-12 col-xl-12">
<!-- carousel begin-->
<form id="raceSelection">
<div id="raceCarousel" class="carousel slide m-5">
<div class="carousel-inner">
<div class="carousel-item active">
<!-- dwarf card beginning-->
<div class="bg-transparent border-0 card h-100 p-2 row flex-sm-column flex-md-row flex-lg-row align-items-center align-items-sm-center align-items-md-start align-items-lg-start align-items-xl-start">
<h3 class="font-press text-decoration-underline mt-1 mb-3">Hill
Dwarf</h3>
<div class="row justify-content-center col-md-5 col-lg-5 align-items-center ms-md-1 ms-lg-1 ms-xl-1">
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Dwarf Male">
</div>
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Dwarf Female">
</div>
</div>
<div class="card-body col-md-5 col-lg-6">
<p class="card-text font-VT323 fs-4">Stout, short and hardworking.
Those might be the best words to describe a dwarf. Having their
race forged by the god Moradin, they were taught of the benefits
of hard labor, perfection in their works, and the importance of
their clans. Dwarves live their long lives with a spirit of good
and justice, that may only be corrupted by greed. Their
sturdiness allows them to be more resistant than other classes
in combat as well as resist poison. Wiser than their mountain
siblings, Hill Dwarves also tend
to be even more sturdy than them, meaning they are able to stand
more hits before falling in combat.</p>
<!-- potential for adding dropdown menu for racial ability explanations-->
<!-- <div class="dropdown-center">-->
<!-- <button class="btn btn-secondary dropdown-toggle" type="button"-->
<!-- data-bs-toggle="dropdown" aria-expanded="false">-->
<!-- Stonecunning-->
<!-- </button>-->
<!-- <ul class="dropdown-menu">-->
<!-- <li>Whenever you make an Intelligence (History) check-->
<!-- related to the origin of stonework, you are considered-->
<!-- proficient in the History skill and add double your-->
<!-- proficiency bonus to the check, instead of your normal-->
<!-- proficiency bonus.-->
<!-- </li>-->
<!-- </ul>-->
<!-- </div>-->
<div class="pixelButtonContainer">
<div class="pixel align-self-center"><p>Submit</p></div>
</div>
</div>
</div>
</div>
<!-- dwarf card ends-->
<!-- elf card beginning-->
<div class="carousel-item">
<div class="bg-transparent border-0 card h-100 p-2 row flex-sm-column flex-md-row flex-lg-row align-items-center align-items-sm-center align-items-md-start align-items-lg-start align-items-xl-start">
<h3 class="font-press text-decoration-underline mt-1 mb-3">High
Elf</h3>
<div class="row justify-content-center col-md-5 col-lg-5 align-items-center ms-md-1 ms-lg-1 ms-xl-1">
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Elf Male">
</div>
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Elf Female">
</div>
</div>
<div class="card-body col-md-5 col-lg-6">
<p class="card-text font-VT323 fs-4">Elves are magical and gracious
beings, as well as very close to being eternal. They develop
many different attitudes during their life. When young (young
being up to 100 years old) they have an adventurous and curious
way of thought, making them go for adventures. By the time they
reach adulthood their personalities change and become much more
peaceful, but don’t discard the idea of going exploring until
they become elders. They make for excellent artists and tend to
be quite chaotic when it comes to laws. Last but not least, they
don’t sleep but enter trances for 4 hours a day in which they
remain semiconscious. High elves are more studious and value art in a
greater way than their other elven cousins. In addition, they master
both longswords and shortswords, as well as shortbows and
longbows.</p>
<div class="pixelButtonContainer">
<div class="pixel"><p>Submit</p></div>
</div>
</div>
</div>
</div>
<!-- elf card ends-->
<!-- halfling card beginning-->
<div class="carousel-item">
<div class="bg-transparent border-0 card h-100 p-2 row flex-sm-column flex-md-row flex-lg-row align-items-center align-items-sm-center align-items-md-start align-items-lg-start align-items-xl-start">
<h3 class="font-press text-decoration-underline mt-1 mb-3">Lightfoot
Halfling</h3>
<div class="row justify-content-center col-md-5 col-lg-5 align-items-center ms-md-1 ms-lg-1 ms-xl-1">
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Halfling Male">
</div>
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Halfling Female">
</div>
</div>
<div class="card-body col-md-5 col-lg-6">
<p class="card-text font-VT323 fs-4">Halflings are isolated,
cheerful people who love the commodity of their homes and
communities. That’s the main reason most of them don’t abandon
their birthplaces (shires). However, a strong sense of curiosity
inhabits in most of them, leading these little folk to become
adventurers or travel to other places. They are extremely agile,
but as a result of their short legs, not as fast as the other
races. The lightfoot halflings can easily hide behind anything that
is higher than themselves and tend to be more charismatic than
the rest from their race.</p>
<div class="pixelButtonContainer">
<div class="pixel"><p>Submit</p></div>
</div>
</div>
</div>
</div>
<!-- halfling card ends-->
<!-- human card beginning-->
<div class="carousel-item">
<div class="bg-transparent border-0 card h-100 p-2 row flex-sm-column flex-md-row flex-lg-row align-items-center align-items-sm-center align-items-md-start align-items-lg-start align-items-xl-start">
<h3 class="font-press text-decoration-underline mt-1 mb-3">Human</h3>
<div class="row justify-content-center col-md-5 col-lg-5 align-items-center ms-md-1 ms-lg-1 ms-xl-1">
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Human Male">
</div>
<div class="col-6 p-0">
<img src="https://placeholder.pics/svg/300x500/DEDEDE/555555/Character%20Image"
class="card-img-top"
alt="Human Female">
</div>
</div>
<div class="card-body col-md-5 col-lg-6">
<p class="card-text font-VT323 fs-4">Well… I suppose you are a
human, so you should know what we are good at. Absolutely
nothing! Or more precisely, a bit in everything. Humans are
quite more anxious and eager to adventure than the other races
due to their short lives (in comparison with the others).
</p>
<div class="pixelButtonContainer">
<div class="pixel"><p>Submit</p></div>
</div>
</div>
</div>
</div>
<!--human card ends-->
</div>
</div>
</form>
<!-- carousel end-->
</div>
</div>
</div>
</div>
</div>
</main>
<script src="js/play-dnd.js"></script>
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
crossorigin="anonymous"></script>
</body>
</html>