Old website files

This commit is contained in:
Patrick_Pluto 2024-06-18 19:42:14 +02:00
commit 604bafebaf
20 changed files with 1682 additions and 0 deletions

14
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"name": "Open index.html",
"file": "c:\\Users\\lucab\\Desktop\\opendnd\\Website-draft\\index.html"
}
]
}

170
LICENSE Normal file
View file

@ -0,0 +1,170 @@
Creative Commons Attribution-ShareAlike 4.0 International
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensors permission is not necessary for any reasonfor example, because of any applicable exception or limitation to copyrightthen that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
Creative Commons Attribution-ShareAlike 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 Definitions.
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
c. BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.
d. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
e. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
f. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
g. License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.
h. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
i. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
j. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
k. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
l. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
m. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
Section 2 Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part; and
B. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
3. Term. The term of this Public License is specified in Section 6(a).
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
5. Downstream recipients.
A. Offer from the Licensor Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
B. Additional offer from the Licensor Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapters License You apply.
C. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public License.
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
Section 3 License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified form), You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
b. ShareAlike.In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
1. The Adapters License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
Section 4 Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
Section 5 Disclaimer of Warranties and Limitation of Liability.
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Section 6 Term and Termination.
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 7 Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
Section 8 Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org.

2
README.md Normal file
View file

@ -0,0 +1,2 @@
# FreeTTRPG-Website

BIN
assets/background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

BIN
assets/game.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
assets/gigachad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B

BIN
assets/grass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
assets/player.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

BIN
assets/sand.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

BIN
assets/tharok.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 B

BIN
assets/water.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

186
charackters/bjoern.html Normal file
View file

@ -0,0 +1,186 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Björn - Dwarf Mage</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="character-sheet">
<h1>Björn - Dwarf Mage</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/player.png" alt="Björn">
</div>
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Dwarf</li>
<li><strong>Class:</strong> Mage (Level 1)</li>
</ul>
</div>
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 8 (-1)</li>
<li><strong>DEX:</strong> 12 (+1)</li>
<li><strong>CON:</strong> 10 (0)</li>
<li><strong>INT:</strong> 16 (+3)</li>
<li><strong>WIS:</strong> 14 (+2)</li>
<li><strong>CHA:</strong> 12 (+1)</li>
</ul>
</div>
<div class="section">
<h2>Proficiencies</h2>
<p>Arcana, History, Nature</p>
</div>
<div class="section">
<h2>Actions</h2>
<ul>
<li><strong>Cast a Spell:</strong> See spell list</li>
</ul>
</div>
<div class="section">
<h2>Bonus-action</h2>
<ul>
<li><strong>Dagger:</strong> +DEX+Prof, 1d4+DEX</li>
<li><strong>Dodge:</strong> Damage-halved</li>
<li><strong>Stone's Resilience:</strong> Touch an ally to grant them temporary hit points equal to 1d10 + mage level</li>
</ul>
</div>
<div class="section">
<h2>Reaction</h2>
<ul>
<li><strong>Earthquake Strike:</strong> When an enemy targets Björn or an ally within 30 feet with an attack, impose disadvantage on the attack roll.</li>
<li><strong>Reduce Harm:</strong> Reduce damage taken by an ally by 1d10 + level</li>
</ul>
</div>
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Dwarven Resistance:</strong> Poison damage halved</li>
<li><strong>Healing Word:</strong> Ability to cast Healing Word</li>
<li><strong>Tremor Sense:</strong> Sense the location of creatures within 30 feet that are in contact with the ground</li>
<li><strong>Dwarven Fortitude:</strong> As a reaction, reduce the damage taken by an ally by 1d10 + level</li>
</ul>
</div>
<div class="section">
<h2>Spell Slots</h2>
<p>3x Longrest</p>
</div>
<div class="section">
<h2>Spell List</h2>
<h3>Level 0 (At Will Spells)</h3>
<table>
<tr>
<th>Name</th>
<th>Bonus to hit</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Firedagger</td>
<td>+INT+Prof</td>
<td>1d10+INT</td>
<td>Fire</td>
<td>120 feet</td>
</tr>
<tr>
<td>Icedagger</td>
<td>+INT+Prof</td>
<td>1d10+INT</td>
<td>Ice</td>
<td>120 feet</td>
</tr>
<tr>
<td>Stone Shard</td>
<td>+INT+Prof</td>
<td>1d8+INT</td>
<td>Bludgeoning</td>
<td>100 feet</td>
</tr>
<tr>
<td>Frostbite</td>
<td>+INT+Prof</td>
<td>1d6+INT</td>
<td>Cold</td>
<td>60 feet</td>
</tr>
<tr>
<td>Earthen Shield</td>
<td>-</td>
<td>8 Temporary HP</td>
<td>-</td>
<td>Self</td>
</tr>
</table>
<h3>Level 1 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Magma Burst</td>
<td>Dex-save</td>
<td>3d6</td>
<td>Fire</td>
<td>60 feet / 15-foot radius</td>
</tr>
<tr>
<td>Stone Skin</td>
<td>-</td>
<td>Resistance</td>
<td>Non-magical bludgeoning, piercing, and slashing damage</td>
<td>30 feet</td>
</tr>
<tr>
<td>Earthbind</td>
<td>+INT+Prof</td>
<td>Restrained</td>
<td>-</td>
<td>60 feet</td>
</tr>
<tr>
<td>Create Flame</td>
<td>-</td>
<td>3d6</td>
<td>Fire</td>
<td>80 feet / 20-foot radius</td>
</tr>
<tr>
<td>Healing Word</td>
<td>-</td>
<td>1d8</td>
<td>Heal</td>
<td>30 feet</td>
</tr>
<tr>
<td>Counterspell</td>
<td>If roll higher than enemy, their spell doesn't work</td>
<td>-</td>
<td>-</td>
<td>30 feet</td>
</tr>
</table>
</div>
</div>
</body>
</html>

208
charackters/elara.html Normal file
View file

@ -0,0 +1,208 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elara - Elf Ranger</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="character-sheet">
<h1>Elara - Elf Ranger</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/player.png" alt="Elara">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Elf</li>
<li><strong>Class:</strong> Ranger (Level 1)</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 10 (+0)</li>
<li><strong>DEX:</strong> 14 (+2)</li>
<li><strong>CON:</strong> 12 (+1)</li>
<li><strong>INT:</strong> 10 (+0)</li>
<li><strong>WIS:</strong> 16 (+3)</li>
<li><strong>CHA:</strong> 8 (-1)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<p>Animal Handling, Stealth, Survival</p>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 35</li>
<li><strong>Action:</strong> Shoot Longbow (see weapon list)</li>
</ul>
</div>
<!-- Bonus-action Section -->
<div class="section">
<h2>Bonus-action</h2>
<ul>
<li><strong>Dagger:</strong> +DEX+Prof, 1d4+2</li>
<li><strong>Hide:</strong> Become invisible</li>
</ul>
</div>
<!-- Reaction Section -->
<div class="section">
<h2>Reaction</h2>
<ul>
<li><strong>Parry:</strong> Reduce damage taken by 1d6 + level</li>
<li><strong>Swift Escape:</strong> When targeted by an attack, move up to half speed without provoking opportunity attacks</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Elven Agility:</strong> Advantage on DEX saves</li>
<li><strong>Trance:</strong> Elves don't need to sleep and meditate for 4 hours</li>
<li><strong>Fey Ancestry:</strong> Advantage on saving throws against being charmed, and magic can't put you to sleep</li>
<li><strong>Forest's Whisper:</strong> Communicate simple ideas with plants and animals within 30 feet</li>
</ul>
</div>
<!-- Spell Slots Section -->
<div class="section">
<h2>Spell Slots</h2>
<p>2x Longrest</p>
</div>
<!-- Spell List Section -->
<div class="section">
<h2>Spell List</h2>
<!-- Level 0 Spells -->
<h3>Level 0 (At Will Spells)</h3>
<table>
<tr>
<th>Name</th>
<th>Bonus to hit</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Thornwhip</td>
<td>+WIS+Prof</td>
<td>1d6+WIS</td>
<td>Piercing</td>
<td>30 feet</td>
</tr>
<tr>
<td>Mage Hand</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>30 feet</td>
</tr>
<tr>
<td>Guidance</td>
<td>-</td>
<td>1d4</td>
<td>-</td>
<td>Touch</td>
</tr>
<tr>
<td>Briar Arrow</td>
<td>+WIS+Prof</td>
<td>1d8+WIS</td>
<td>Piercing</td>
<td>60 feet</td>
</tr>
<tr>
<td>Gale Step</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>Self</td>
</tr>
</table>
<!-- Level 1 Spells -->
<h3>Level 1 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Damage</th>
<th>Damage Type</th>
<th>Range</th>
</tr>
<tr>
<td>Goodberry</td>
<td>-</td>
<td>1d4</td>
<td>Heal</td>
<td>30 feet</td>
</tr>
<tr>
<td>Hunter's Mark</td>
<td>-</td>
<td>1d6</td>
<td>Magic</td>
<td>90 feet</td>
</tr>
<tr>
<td>Entangle</td>
<td>STR-save</td>
<td>-</td>
<td>Restrained</td>
<td>20 feet / 20-foot radius</td>
</tr>
<tr>
<td>Ensnaring Strike</td>
<td>-</td>
<td>2d6</td>
<td>Piercing</td>
<td>60 feet / 10-foot radius</td>
</tr>
<tr>
<td>Nature's Grasp</td>
<td>WIS-save</td>
<td>-</td>
<td>Restrained</td>
<td>30 feet</td>
</tr>
<tr>
<td>Wind Slash</td>
<td>DEX-save</td>
<td>2d8</td>
<td>Slashing</td>
<td>30 feet</td>
</tr>
</table>
</div>
<!-- Abilities Section -->
<div class="section">
<h2>Abilities</h2>
<ul>
<li><strong>Swift Escape (Reaction):</strong> When Elara is targeted by an attack, she can use her reaction to move up to half her speed without provoking opportunity attacks.</li>
<li><strong>Woodland Stride (Bonus Action):</strong> Elara can move through nonmagical difficult terrain without expending extra movement.</li>
<li><strong>Forest's Whisper (Race Feature):</strong> Elara can communicate simple ideas with plants and animals within 30 feet.</li>
</ul>
</div>
</div>
</body>
</html>

271
charackters/gigachad.html Normal file
View file

@ -0,0 +1,271 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fantasy Characters</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Character Sheet for Gigachad -->
<div class="character-sheet">
<h1>Gigachad - Human Paladin</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/gigachad.png" alt="Gigachad">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Human</li>
<li><strong>Class:</strong> Paladin (Level 20)</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 20 (+5)</li>
<li><strong>DEX:</strong> 14 (+2)</li>
<li><strong>CON:</strong> 18 (+4)</li>
<li><strong>INT:</strong> 10 (+0)</li>
<li><strong>WIS:</strong> 14 (+2)</li>
<li><strong>CHA:</strong> 20 (+5)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<p>Athletics, Intimidation, Persuasion, Religion</p>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 30 ft</li>
<li><strong>Action:</strong> Attack with Greatsword (see weapon list)</li>
<li><strong>Bonus-action:</strong>
<ul>
<li>Divine Smite: Expend a spell slot to deal extra radiant damage</li>
<li>Shield of Faith: +2 AC for 10 minutes</li>
<li>Lay on Hands: Heal up to 100 HP (pool: level x 5)</li>
</ul>
</li>
<li><strong>Reaction:</strong>
<ul>
<li>Divine Sense: Detect celestial, fiend, or undead within 60 feet</li>
<li>Aura of Protection: Allies within 10 feet add +CHA to saving throws</li>
</ul>
</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Human Determination:</strong> Gain proficiency in one additional skill</li>
<li><strong>Versatility:</strong> Gain one extra feat at Level 1</li>
<li><strong>Resilience:</strong> Advantage on saving throws against being frightened</li>
</ul>
</div>
<!-- Feats Section -->
<div class="section">
<h2>Feats</h2>
<ul>
<li><strong>Great Weapon Master:</strong> Bonus attack on critical hit or kill, and can take a -5 penalty to hit for +10 damage</li>
<li><strong>Tough:</strong> +2 HP per level</li>
<li><strong>Inspiring Leader:</strong> Can spend 10 minutes inspiring allies, granting temporary HP equal to level + CHA modifier</li>
</ul>
</div>
<!-- Class Features Section -->
<div class="section">
<h2>Class Features</h2>
<ul>
<li><strong>Divine Health:</strong> Immune to disease</li>
<li><strong>Aura of Courage:</strong> Allies within 10 feet are immune to being frightened</li>
<li><strong>Aura of Devotion:</strong> Allies within 10 feet are immune to being charmed</li>
<li><strong>Cleansing Touch:</strong> End one spell on yourself or an ally within touch range (5 times per long rest)</li>
<li><strong>Improved Divine Smite:</strong> +1d8 radiant damage on melee attacks</li>
<li><strong>Lay on Hands:</strong> Heal up to 100 HP per long rest</li>
</ul>
</div>
<!-- Spell Slots Section -->
<div class="section">
<h2>Spell Slots</h2>
<ul>
<li>4x 1st-level spells per long rest</li>
<li>3x 2nd-level spells per long rest</li>
<li>3x 3rd-level spells per long rest</li>
<li>3x 4th-level spells per long rest</li>
<li>2x 5th-level spells per long rest</li>
</ul>
</div>
<!-- Spell List Section -->
<div class="section">
<h2>Spell List</h2>
<!-- Level 1 Spells -->
<h3>Level 1 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Radiant Strike</td>
<td>-</td>
<td>1d8+CHA radiant damage</td>
<td>Melee</td>
</tr>
<tr>
<td>Vow of the Ancients</td>
<td>-</td>
<td>Gain temporary HP equal to 1d8 + CHA</td>
<td>Self</td>
</tr>
</table>
<!-- Level 2 Spells -->
<h3>Level 2 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Sunburst</td>
<td>-</td>
<td>2d6 radiant damage; blinds enemies</td>
<td>60 feet / 10-foot radius</td>
</tr>
<tr>
<td>Divine Resilience</td>
<td>-</td>
<td>Reduce damage by 2d8</td>
<td>Self</td>
</tr>
</table>
<!-- Level 3 Spells -->
<h3>Level 3 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Holy Vengeance</td>
<td>-</td>
<td>3d8 radiant damage</td>
<td>Melee</td>
</tr>
<tr>
<td>Celestial Ward</td>
<td>-</td>
<td>Gain resistance to all damage for 1 minute</td>
<td>Self</td>
</tr>
</table>
<!-- Level 4 Spells -->
<h3>Level 4 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Wrath of the Gods</td>
<td>-</td>
<td>4d8 radiant damage</td>
<td>30 feet / 15-foot radius</td>
</tr>
<tr>
<td>Divine Intervention</td>
<td>-</td>
<td>Heal 4d8 HP</td>
<td>60 feet</td>
</tr>
</table>
<!-- Level 5 Spells -->
<h3>Level 5 Spells</h3>
<table>
<tr>
<th>Name</th>
<th>Save</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Judgement</td>
<td>-</td>
<td>5d8 radiant damage</td>
<td>60 feet</td>
</tr>
<tr>
<td>Ascended Form</td>
<td>-</td>
<td>Gain immunity to all damage for 1 minute</td>
<td>Self</td>
</tr>
</table>
</div>
<!-- Weapon List Section -->
<div class="section">
<h2>Weapon List</h2>
<table>
<tr>
<th>Name</th>
<th>Attack Bonus</th>
<th>Damage</th>
<th>Properties</th>
</tr>
<tr>
<td>Greatsword</td>
<td>+5 (STR + Prof)</td>
<td>2d6 + 5 slashing</td>
<td>Two-handed</td>
</tr>
<tr>
<td>Warhammer</td>
<td>+5 (STR + Prof)</td>
<td>1d8 + 5 bludgeoning</td>
<td>Versatile (1d10)</td>
</tr>
<tr>
<td>Javelin</td>
<td>+5 (STR + Prof)</td>
<td>1d6 + 5 piercing</td>
<td>Range 30/120 feet</td>
</tr>
</table>
</div>
<!-- End of Character Sheet -->
</div>
</body>
</html>

160
charackters/lyra.html Normal file
View file

@ -0,0 +1,160 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fantasy Characters</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Character Sheet for Lyra -->
<div class="character-sheet">
<h1>Lyra - Tiefling Bard</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/player.png" alt="Lyra">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Tiefling</li>
<li><strong>Class:</strong> Bard (Level 1)</li>
<li><strong>Alignment:</strong> Neutral Good</li>
<li><strong>Background:</strong> Entertainer</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 8 (-1)</li>
<li><strong>DEX:</strong> 14 (+2)</li>
<li><strong>CON:</strong> 12 (+1)</li>
<li><strong>INT:</strong> 12 (+1)</li>
<li><strong>WIS:</strong> 10 (+0)</li>
<li><strong>CHA:</strong> 16 (+3)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<ul>
<li><strong>Skills:</strong> Performance, Persuasion, Deception</li>
<li><strong>Tools:</strong> Musical Instrument (Violin)</li>
<li><strong>Languages:</strong> Common, Infernal, Elvish</li>
</ul>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 30 ft</li>
<li><strong>Action:</strong> Cast a spell (see spell list)</li>
<li><strong>Bonus-action:</strong>
<ul>
<li>Inspiration: Grant a d6 to an ally's skill check, attack roll, or saving throw (3 uses per short rest)</li>
<li>Dagger Attack: +DEX modifier to hit, 1d4+2 piercing damage</li>
<li>Healing Word: Restore 1d4+CHA HP to an ally within 60 feet (2 uses per long rest)</li>
</ul>
</li>
<li><strong>Reaction:</strong>
<ul>
<li>Cutting Words: Use a Bardic Inspiration die to subtract from an enemy's attack roll, skill check, or damage roll</li>
</ul>
</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Feature</h2>
<ul>
<li><strong>Hellish Resistance:</strong> Resistance to fire damage</li>
<li><strong>Infernal Legacy:</strong> Can cast minor illusions at will; at 3rd level, can cast a minor fire spell once per long rest</li>
<li><strong>Darkvision:</strong> See in darkness up to 60 feet</li>
</ul>
</div>
<!-- Spell Slots Section -->
<div class="section">
<h2>Spell Slots</h2>
<p>2x Per Long Rest</p>
</div>
<!-- Spell List Section -->
<div class="section">
<h2>Spell List</h2>
<table>
<h3>Cantrips (At Will)</h3>
<tr>
<th>Name</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Illusionary Image</td>
<td>Create a minor illusion of an object or sound</td>
<td>30 feet</td>
</tr>
<tr>
<td>Disguise Self</td>
<td>Change appearance</td>
<td>Self</td>
</tr>
<tr>
<td>Mending</td>
<td>Repair a broken object</td>
<td>Touch</td>
</tr>
</table>
<table>
<h3>Level 1 Spells</h3>
<tr>
<th>Name</th>
<th>Effect</th>
<th>Range</th>
</tr>
<tr>
<td>Soothing Melody</td>
<td>Heal an ally for 1d4+CHA HP; grants 1d6 temporary hit points</td>
<td>60 feet</td>
</tr>
<tr>
<td>Charm Person</td>
<td>Enchant a person to be friendly towards you</td>
<td>30 feet</td>
</tr>
<tr>
<td>Heroic Ballad</td>
<td>Inspire allies within 30 feet, granting them advantage on their next attack roll or saving throw</td>
<td>30 feet</td>
</tr>
<tr>
<td>Thunderous Applause</td>
<td>Disorient enemies within a 15-foot radius, causing them to be stunned for 1 round</td>
<td>Self</td>
</tr>
</table>
</div>
<!-- Abilities Section -->
<div class="section">
<h2>Abilities</h2>
<ul>
<li><strong>Soothing Melody:</strong> Lyra can use her musical abilities to calm emotions and heal wounds (3 uses per long rest).</li>
<li><strong>Bardic Knowledge:</strong> Lyra has extensive knowledge of myths, legends, and lore, granting her advantage on Intelligence checks related to history, arcana, or local customs.</li>
<li><strong>Entertainer's Expertise:</strong> Lyra can entertain and captivate an audience, gaining advantage on Performance checks and doubling her proficiency bonus when performing.</li>
<li><strong>Quick Wit:</strong> Once per short rest, Lyra can take an additional reaction on her turn.</li>
</ul>
</div>
</div>
</body>
</html>

72
charackters/styles.css Normal file
View file

@ -0,0 +1,72 @@
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1,
h2,
h3{
margin: 10px 0 10px;
padding: 10px 0 10px;
}
/* Basic styling for the character sheet */
.character-sheet {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #f0f0f0;
border: 1px solid #ccc;
border-radius: 5px;
font-family: Arial, sans-serif;
}
.character-sheet h1 {
text-align: center;
margin-bottom: 20px;
}
.section {
margin-bottom: 20px;
}
.section h2 {
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
margin-bottom: 10px;
}
.section ul, .section table {
list-style-type: none;
padding: 0;
}
.section ul li {
margin-bottom: 5px;
}
.section table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.section table th, .section table td {
padding: 8px;
text-align: left;
border: 1px solid #ccc;
}
.character-picture {
text-align: center;
margin-bottom: 20px;
}
.character-picture img {
width: 128px;
height: auto;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

130
charackters/tharok.html Normal file
View file

@ -0,0 +1,130 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tharok - Human Fighter</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="character-sheet">
<h1>Tharok - Human Fighter</h1>
<!-- Character Picture -->
<div class="character-picture">
<img src="../assets/tharok.png" alt="Tharok">
</div>
<!-- Basic Information Section -->
<div class="section">
<h2>Basic Information</h2>
<ul>
<li><strong>Race:</strong> Human</li>
<li><strong>Class:</strong> Fighter (Level 1)</li>
</ul>
</div>
<!-- Stats Section -->
<div class="section">
<h2>Stats</h2>
<ul>
<li><strong>STR:</strong> 16 (+3)</li>
<li><strong>DEX:</strong> 12 (+1)</li>
<li><strong>CON:</strong> 14 (+2)</li>
<li><strong>INT:</strong> 10 (+0)</li>
<li><strong>WIS:</strong> 12 (+1)</li>
<li><strong>CHA:</strong> 10 (+0)</li>
</ul>
</div>
<!-- Proficiencies Section -->
<div class="section">
<h2>Proficiencies</h2>
<ul>
<li><strong>Skills:</strong> Athletics, Intimidation, Perception</li>
</ul>
</div>
<!-- Movement and Actions Section -->
<div class="section">
<h2>Movement and Actions</h2>
<ul>
<li><strong>Movement:</strong> 30 ft</li>
<li><strong>Action:</strong> Attack with Longsword (see weapon list)</li>
<li><strong>Bonus-action:</strong>
<ul>
<li>Second Wind: Regain 1d10+level HP (Once per short rest)</li>
<li>Dagger Attack: +DEX+Prof, 1d4+1 piercing damage</li>
</ul>
</li>
<li><strong>Reaction:</strong>
<ul>
<li>Parry: Reduce damage taken by 1d6+level</li>
</ul>
</li>
</ul>
</div>
<!-- Race Features Section -->
<div class="section">
<h2>Race Features</h2>
<ul>
<li><strong>Human Determination:</strong> Gain proficiency in one additional skill</li>
<li><strong>Versatility:</strong> Gain one extra feat at Level 1</li>
<li><strong>Resilience:</strong> Advantage on saving throws against being frightened</li>
</ul>
</div>
<!-- Feats Section -->
<div class="section">
<h2>Feats</h2>
<ul>
<li><strong>Great Weapon Fighting:</strong> Reroll 1s and 2s on damage dice with melee weapons wielded in two hands</li>
</ul>
</div>
<!-- Combat Skills Section -->
<div class="section">
<h2>Combat Skills</h2>
<ul>
<li><strong>Second Wind:</strong> Once per short rest, regain 1d10+level HP as a bonus action</li>
<li><strong>Action Surge:</strong> Once per short rest, take one additional action on your turn</li>
</ul>
</div>
<!-- Weapon List Section -->
<div class="section">
<h2>Weapon List</h2>
<table>
<tr>
<th>Name</th>
<th>Attack</th>
<th>Damage</th>
<th>Type</th>
</tr>
<tr>
<td>Longsword</td>
<td>+STR+Prof</td>
<td>1d8+3</td>
<td>Slashing</td>
</tr>
<tr>
<td>Greatsword</td>
<td>+STR+Prof</td>
<td>2d6+3</td>
<td>Slashing</td>
</tr>
<tr>
<td>Dagger</td>
<td>+DEX+Prof</td>
<td>1d4+1</td>
<td>Piercing</td>
</tr>
</table>
</div>
</div>
</body>
</html>

73
download.html Normal file
View file

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>FreeTTRPG</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div class="header-content">
<div class="project-name"><a href="index.html">freeTTRPG</a></div>
<button class="burger-menu" onclick="toggleMenu()"></button>
<ul class="menu">
<li><a href="#section1">open a git console</a></li>
<li><a href="#section2">Go to our codeberg website</a></li>
<li><a href="#section3">git clone</a></li>
<li><a href="#section4">read through our license</a></li>
</ul>
</div>
</header>
<article>
<section id="section1">
<h1>open a git console</h1>
<p class="code-box">$ git init</p>
<p>Initialize an empty Git repository in the current directory.</p>
</section>
<section id="section2">
<h1>Go to our codeberg website</h1>
<a href="https://codeberg.org/Patrick_Pluto/FreeTTRPG.git">
<button type="button">Our source code</button>
</a>
<p class="code-box">
$ git clone https://codeberg.org/Patrick_Pluto/FreeTTRPG.git
</p>
<p>
Clone the FreeTTRPG repository from Codeberg to your local machine.
</p>
</section>
<section id="section3">
<h1>git clone</h1>
<p class="code-box">
$ git clone https://codeberg.org/Patrick_Pluto/FreeTTRPG.git
</p>
<p>
Clone the FreeTTRPG repository from Codeberg to your local machine.
</p>
</section>
<section id="section4">
<h1>move into the repository</h1>
<p class="code-box">$ cd FreeTTRPG</p>
<p>Display the contents of the license file (`LICENSE`).</p>
</section>
<section id="section5">
<h1>read through our license</h1>
<p class="code-box">$ cat LICENSE</p>
<p>Move the bash console into the newly created repository</p>
</section>
</article>
<script>
function toggleMenu() {
const menu = document.querySelector(".menu");
menu.classList.toggle("active");
}
</script>
</body>
</html>

151
index.html Normal file
View file

@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>freeTTRPG</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div class="header-content">
<div class="project-name"><a href="index.html">freeTTRPG</a></div>
<button class="burger-menu" onclick="toggleMenu()"></button>
<ul class="menu">
<li><a href="#section1">The Game</a></li>
<li><a href="#section2">Our Vision</a></li>
<li><a href="#section3">Copyright</a></li>
<li><a href="#section4">Platform</a></li>
<li><a href="#section5">Join Us</a></li>
<li><a href="#section6">Source Code</a></li>
<li><a href="#section7">Game Assets</a></li>
</ul>
</div>
</header>
<article>
<section id="section1">
<h1>The Game</h1>
<p>
Tired of the commercialization of tabletop role-playing games, we
decided to take matters into our own hands. We're creating an
open-source, community-driven TTRPG project that puts creativity and
freedom back in the hands of players.
</p>
<img src="assets/game.png" alt="current game version" />
<p>Current game version</p>
</section>
<section id="section2">
<h1>Our Vision</h1>
<p>
Our project offers a game engine with a solid foundation of basic
content and story packs to get you started. But that's just the
beginning. We're also providing a powerful content creator tool that
allows users to craft their own custom content packs. With this tool,
you'll be able to create your own rules, characters, items, spells,
attacks, and much more.
</p>
</section>
<section id="section3">
<h1>Copyright</h1>
<p>
The best part? Everything you create with our tool is yours to own and
control. We won't claim any copyright or ownership over your
creations. You're free to share, modify, or use your content as you
see fit.
</p>
</section>
<section id="section4">
<h1>Community-Driven Platform</h1>
<p>
We're building a platform where users can share their content packs
with the community. While sharing is encouraged, it's not required.
You can keep your creations private or share them with the world the
choice is yours.
</p>
</section>
<section id="section5">
<h1>Join Us</h1>
<p>
We're excited to share freeTTRPG with the world and hope you'll join
us on this journey. Together, let's create a TTRPG ecosystem that's
open, inclusive, and driven by the passion of its community.
</p>
</section>
<section id="section6">
<h1>Our Code</h1>
<a href="download.html" target="_blank"
><button type="button">Download</button></a
>
</section>
<section id="section7">
<h1>Our Game Assets</h1>
<h1>Our charackters</h1>
<div class="cards">
<a href="charackters/gigachad.html" class="card">
<img src="assets/gigachad.png" alt="Gigachad" />
<h3>Gigachad</h3>
<p>Our test human paladin on maximum level</p>
</a>
<a href="charackters/tharok.html" class="card">
<img src="assets/tharok.png" alt="Tharok" />
<h3>Tharok</h3>
<p>Our test human fighter on starting level</p>
</a>
<a href="charackters/bjoern.html" class="card">
<img src="assets/player.png" alt="Blank Card" />
<h3>Björn</h3>
<p>Our test dwarven Mage at starting level</p>
</a>
<a href="charackters/elara.html" class="card">
<img src="assets/player.png" alt="Blank Card" />
<h3>Elara</h3>
<p>Our test elf Ranger at starting level</p>
</a>
<a href="charackters/lyra.html" class="card">
<img src="assets/player.png" alt="Blank Card" />
<h3>Lyra</h3>
<p>Out test tiefling bard at starting level</p>
</a>
</div>
<h1>Our textures</h1>
<div class="cards">
<a href="index.html" class="card">
<img src="assets/water.png" alt="Water Texture" />
<h3>Water</h3>
<p>Our water texture that is incomplete</p>
</a>
<a href="index.html" class="card">
<img src="assets/grass.png" alt="Grass Texture" />
<h3>Grass</h3>
<p>Our grass texture that is incomplete</p>
</a>
<a href="index.htmlm" class="card">
<img src="assets/sand.png" alt="Blank Card" />
<h3>sand</h3>
<p>Our sand texture that is incomplete</p>
</a>
<!-- To create new cards use this template
<a href="https://www.example5.com" class="card">
<img src="assets/blank.png" alt="Blank Card" />
<h3>Blank Card 5</h3>
<p>Description for Blank Card 5</p>
</a> -->
</div>
</section>
</article>
<script>
function toggleMenu() {
const menu = document.querySelector(".menu");
menu.classList.toggle("active");
}
</script>
</body>
</html>

245
style.css Normal file
View file

@ -0,0 +1,245 @@
/* Reset and global styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
transition: 0.5s;
}
/* Body styles */
body {
background-color: #f5f5f5;
background-image: url("assets/background.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center;
background-attachment: fixed;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
/* Header styles */
header {
background-color: rgba(0, 0, 0, 0.7);
padding: 10px;
width: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 1000;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.project-name {
color: white;
font-size: 1.5em;
}
.burger-menu {
background: none;
border: none;
color: white;
font-size: 1.5em;
cursor: pointer;
display: none;
}
.menu {
list-style: none;
display: flex;
justify-content: space-around;
flex-grow: 1;
}
header li {
margin: 0 10px;
}
header a {
color: white;
text-decoration: none;
padding: 10px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
header a:hover {
background-color: rgba(255, 255, 255, 0.2);
}
/* Article styles */
article {
margin-top: 100px;
padding: 20px;
width: 90%;
max-width: 800px;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
h1 {
color: #333;
margin-bottom: 20px;
}
p {
color: #666;
line-height: 1.6;
margin-bottom: 20px;
}
img {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}
button {
padding: 10px 20px;
margin: 2em;
border: none;
background-color: #333;
color: white;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #555;
}
/* Additional CSS for command-line style */
.code-box {
background-color: #f0f0f0;
font-family: "Courier New", Courier, monospace;
padding: 10px;
border-left: 4px solid #555;
margin-left: 20px;
}
.flex {
display: flex;
align-items: center;
}
/* Cards section styles */
section .cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjusted minmax size */
gap: 20px;
margin-top: 50px;
}
section .card {
text-align: center;
list-style: none;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
text-decoration: none;
color: #333;
transition: transform 0.2s, box-shadow 0.2s;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
}
section .card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}
section .card img {
height: 64px; /* Set fixed height */
width: 64px; /* Set fixed width */
object-fit: cover;
border-radius: 5px;
margin: 0 auto 10px; /* Center image and add bottom margin */
}
section .card h3 {
margin: 10px 0;
}
section .card p {
flex-grow: 1;
}
/* Mobile Styles */
@media (max-width: 768px) {
.burger-menu {
display: block;
}
.menu {
display: none;
flex-direction: column;
background-color: rgba(0, 0, 0, 0.7);
position: absolute;
top: 100%; /* Adjusted position */
left: 0;
width: 100%;
z-index: 999;
}
.menu.active {
display: flex;
}
header {
padding: 5px;
height: auto;
}
.header-content {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.project-name {
font-size: 1.2em;
}
header li {
margin: 0;
width: 100%;
}
header a {
padding: 10px;
width: 100%;
display: block;
}
article {
margin-top: 190px;
padding-top: 20px;
}
section .card {
padding: 10px;
}
section .card img {
height: 64px;
width: 64px;
border-radius: 10px;
}
}