Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
107747f
Added optional rules
mfriik Jan 22, 2024
06aa5e5
fixed typos and wrong desc
mfriik Jan 22, 2024
491062c
Create CNAME
mfriik Jan 23, 2024
bfeb7ce
Delete CNAME
mfriik Jan 23, 2024
432c0f2
added info to invisibility and jump
mfriik Jan 23, 2024
d266f54
Merge branch 'master' of https://github.com/mfriik/dnd5e-quickref
mfriik Jan 23, 2024
1fbc947
Create CNAME
mfriik Jan 23, 2024
5a2d732
File Rename and readme modification
mfriik Jan 23, 2024
324ebda
Merge pull request #2 from mfriik/IndexForWebDeployment
mfriik Jan 23, 2024
e1c4a61
Update README.md
mfriik Jan 23, 2024
a7a6083
Update README.md
mfriik Jan 23, 2024
5597836
Update README.md
mfriik Jan 23, 2024
9fd023a
Update README.md
mfriik Jan 23, 2024
406c1c3
Update README.md
mfriik Jan 23, 2024
35b00e0
Delete CNAME
mfriik Jan 23, 2024
e2ffc06
Create CNAME
mfriik Jan 23, 2024
872a1bb
content fixes
mfriik Jan 23, 2024
c4008b8
Merge pull request #3 from mfriik/ContentFixes
mfriik Jan 23, 2024
2643da2
Delete CNAME
mfriik Jan 23, 2024
2d0c372
Create CNAME
mfriik Jan 23, 2024
c5b6273
Delete CNAME
mfriik Jan 24, 2024
8d671a5
Create CNAME
mfriik Jan 24, 2024
9365ab8
fixed modal behaviour on click
mfriik Jan 24, 2024
ad6d01f
Delete CNAME
mfriik Jan 24, 2024
2ed6b39
Create CNAME
mfriik Jan 24, 2024
79c4f2e
Merge pull request #4 from mfriik/ModalFix-CloseIfClickedOutside
mfriik Jan 24, 2024
fcfd86d
Removed Jquery files and converted functions to vanilla JS
mfriik Jan 24, 2024
ffd64cf
Delete CNAME
mfriik Jan 24, 2024
2a9a214
Create CNAME
mfriik Jan 24, 2024
1c3cd42
Merge pull request #5 from mfriik/jQueryRemoval
mfriik Jan 24, 2024
ed02879
Fixed Content wording
mfriik Jan 24, 2024
10a44be
shorten disarm subtitle
mfriik Jan 24, 2024
3ac2349
Minor content fixes and prep for toggle
mfriik Jan 24, 2024
da997cb
content splif and color modification
mfriik Jan 25, 2024
211f403
Added Settings and option to toggle optional rules visibility
mfriik Jan 28, 2024
502d358
Merge pull request #6 from mfriik/ContentFixes&OptionalRulesToggle
mfriik Jan 28, 2024
e98bfbe
Update README.md
mfriik Jan 28, 2024
b0e9b98
Added favicon to repo
mfriik Jan 29, 2024
5ed1a42
Update README.md
mfriik Jan 29, 2024
ae4b896
Merge pull request #7 from mfriik/Favicon
mfriik Jan 29, 2024
30079f6
Darkmode, content fixes, css fixes
mfriik Jan 29, 2024
aa50713
Added handling and styles for darkmode
mfriik Jan 30, 2024
5c8f0a9
formated all files
mfriik Jan 30, 2024
971e1f8
Merge pull request #8 from mfriik/DarkModeToggle
mfriik Jan 30, 2024
bdb3fdb
modified colors for less harsh variants
mfriik Feb 4, 2024
a970dbc
Merge pull request #9 from mfriik/ColorModifications
mfriik Feb 4, 2024
7bde862
Update quickref.css
mfriik Feb 5, 2024
7fba97f
Darkmode color tweaks
mfriik Feb 5, 2024
e0f2285
formatted the css
mfriik Feb 5, 2024
505458b
Merge pull request #10 from mfriik/DarkModeColorTweaks
mfriik Feb 5, 2024
b90040d
changed indigo color to muted one
mfriik Feb 9, 2024
d4dc6cb
Fix for toggles to work with labels
mfriik Feb 9, 2024
4beab05
Event Listener on item for settings and collor tweaks
mfriik Feb 9, 2024
d157e94
Merge pull request #11 from mfriik/ToggleFix
mfriik Feb 9, 2024
898d1ba
cookies notice implementation
mfriik Jul 25, 2024
15dc5ba
Merge pull request #13 from mfriik/cookies-notice
mfriik Jul 25, 2024
4987236
Added Homebrew Rule items and created toggle for Homebrew
mfriik Sep 9, 2024
fbfe224
Added Mount/Dismount to movement section
mfriik May 25, 2025
97e6c3c
Merge pull request #17 from mfriik/16-mountdismount
mfriik May 25, 2025
ded5a1b
2024 Rules Toggle
mfriik May 26, 2025
8af74e3
Major Update
mfriik May 27, 2025
f40829e
Merge pull request #18 from mfriik/15-dd-2024-update
mfriik May 27, 2025
3161991
Update README.md
mfriik May 27, 2025
fefb9dd
Merge pull request #19 from mfriik/mfriik-patch-1
mfriik May 27, 2025
a686498
Update README.md
mfriik May 27, 2025
826a7fe
Fix for broken toggles on load
mfriik Jun 9, 2025
03c774a
Merge pull request #22 from mfriik/20-filtering-for-optional-homebrew…
mfriik Jun 9, 2025
c9ea8c4
Create Deploy Pages prod
mfriik Sep 21, 2025
54559e1
Rename Deploy Pages prod to Deploy Pages prod.yml
mfriik Sep 21, 2025
095249b
Create Deploy Pages Preview PRs.yml
mfriik Sep 21, 2025
0504e8f
Update LICENSE.md
mfriik Sep 21, 2025
ca7bfa6
Rename Deploy Pages prod.yml to Deploy Pages prod.yaml
mfriik Sep 21, 2025
3c888bb
Rename Deploy Pages Preview PRs.yml to Deploy Pages Preview PRs.yaml
mfriik Sep 21, 2025
435c1ea
Update Deploy Pages Preview PRs.yaml
mfriik Sep 21, 2025
17ecadb
Rename Deploy Pages Preview PRs.yaml to deploy-pages-preview.yml
mfriik Sep 21, 2025
f43d563
Rename Deploy Pages prod.yaml to deploy-pages-prod.yml
mfriik Sep 21, 2025
bd540ed
Update deploy-pages-prod.yml
mfriik Sep 21, 2025
d248304
Update deploy-pages-preview.yml
mfriik Sep 21, 2025
00eba97
Update deploy-pages-preview.yml
mfriik Sep 21, 2025
c02ac50
Update deploy-pages-preview.yml
mfriik Sep 21, 2025
3dcc1e1
Update README.md
mfriik Sep 21, 2025
60ffd97
Update deploy-pages-preview.yml
mfriik Sep 21, 2025
672b2c5
Update deploy-pages-prod.yml
mfriik Sep 21, 2025
f4a3fc0
Update README.md
mfriik Sep 21, 2025
c397d14
Update deploy-pages-prod.yml
mfriik Sep 21, 2025
b7e68ba
Add bonus action details for drinking a potion
mfriik Oct 23, 2025
d2a54f5
Merge pull request #28 from mfriik/27-shouldnt-potions-be-under-bonus…
mfriik Oct 23, 2025
54af729
Implemented collapsible sections
mfriik Oct 23, 2025
c4f966b
Merge pull request #29 from mfriik/26-toggle-sections-on-and-off
mfriik Oct 23, 2025
96d56c4
Revise README for clarity and project overview
mfriik Oct 23, 2025
c7569d4
Dynamic Label and Improved collapsible sections
mfriik Oct 23, 2025
14d2056
Merge pull request #31 from mfriik/30-dynamic-label-on-current-ruleset
mfriik Oct 23, 2025
79228f3
Update copyright information in LICENSE.md
mfriik Oct 23, 2025
3462c54
Update deploy-pages-preview.yml
mfriik Oct 23, 2025
13db29f
Create .gitignore
mfriik Oct 23, 2025
c8efb25
Revise and reformat README for clarity
mfriik Oct 23, 2025
e10ba2d
Merge pull request #33 from mfriik/32-staging-test
mfriik Oct 23, 2025
e36bfe3
Comprehensive UI, layout, and UX overhaul
mfriik Oct 30, 2025
0ff570c
Merge pull request #35 from mfriik/34-replace-modal-with-a-collapsibl…
mfriik Oct 30, 2025
7051330
Add hard refresh instruction to README
mfriik Oct 30, 2025
2bf0310
Fix formatting of hard refresh instruction in README
mfriik Oct 30, 2025
0e3fdd2
Update project version in README.md
mfriik Oct 30, 2025
f413de2
Update descriptions for settings in index.html and adjusted min item …
mfriik Oct 31, 2025
a98ee40
Increase minimum column width in grid layout
mfriik Oct 31, 2025
7182e01
Merge pull request #37 from mfriik/mfriik-patch-1
mfriik Oct 31, 2025
b17cdf0
Added flate with fade in and out on ruleset change
mfriik Oct 31, 2025
bcdc6d1
Update rules and feedback section in index.html
mfriik Oct 31, 2025
3e54ae1
Merge pull request #38 from mfriik/mfriik-patch-2
mfriik Oct 31, 2025
bbcc1bc
Improve subtitle readability and add page fade transitions
mfriik Nov 4, 2025
dfacb07
Merge pull request #40 from mfriik/39-section-text-is-white-in-light-…
mfriik Nov 4, 2025
5cc0746
Add smooth fade and grid reflow animations for items
mfriik Nov 4, 2025
dff943d
Improve subtitle color handling and remove unused animations
mfriik Nov 4, 2025
458f414
Merge pull request #41 from mfriik/36-hiding-items-readjust-the-grid
mfriik Nov 4, 2025
cc10dd9
Revise and expand README with improved instructions
mfriik Nov 4, 2025
c96476f
Refactor item card layout to prevent stretching when adjacent items a…
mfriik Dec 16, 2025
fd05a2d
Merge pull request #45 from mfriik/44-modify-the-item-cards-so-they-w…
mfriik Dec 16, 2025
e5ae764
Add 'Collapse all items' button to section headers
mfriik Dec 16, 2025
c86e57a
Merge pull request #46 from mfriik/42-add-a-button-to-collapse-all-it…
mfriik Dec 16, 2025
4bb1dd5
Update quickref.js
mfriik Dec 16, 2025
9120d01
Move app version check to index.html and update version
mfriik Dec 16, 2025
94d0465
Display app version in settings section
mfriik Dec 16, 2025
48ae37a
Merge pull request #47 from mfriik/42-add-a-button-to-collapse-all-it…
mfriik Dec 16, 2025
6bc5b9f
Update hard-refresh instructions in README
mfriik Dec 16, 2025
db79932
Merge pull request #48 from mfriik/mfriik-patch-1
mfriik Dec 16, 2025
c430c04
Update quickref.css
mfriik Dec 16, 2025
de58de0
Update quickref.css
mfriik Dec 16, 2025
4ee3794
Bump app version to 2.1.3 in index.html
mfriik Dec 16, 2025
4e92694
Update app version to 2.1.4 and adjust CSS
mfriik Dec 16, 2025
38db308
Revise credits and acknowledgements in README
mfriik Dec 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/deploy-pages-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy Pages Preview (PR)

on:
pull_request:
types:
- opened
- synchronize
- reopened

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages-pr-${{ github.event.number }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# Disable Jekyll for previews too
- run: touch .nojekyll

# Publish the repo root (no CNAME here → stays on github.io preview URL)
- uses: actions/upload-pages-artifact@v3
with:
path: .

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
with:
preview: true
43 changes: 43 additions & 0 deletions .github/workflows/deploy-pages-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy Pages (prod)

on:
push:
branches: [main, master]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages-prod
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# Keep custom domain bundled with the artifact
- name: Write CNAME
run: echo dnd.milobedzki.pl > CNAME

# Disable Jekyll so files are served as-is
- run: touch .nojekyll

# Publish the repo root (index.html is in /)
- uses: actions/upload-pages-artifact@v3
with:
path: .

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.vscode
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dnd.milobedzki.pl
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License
# MIT License

Copyright (c) 2016 Robert Autenrieth
Copyright (c) 2025 mFriik

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
122 changes: 110 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,118 @@
dnd5e-quickref
==============
# 🎲 mfriik/dnd5e-quickref v2.0

Quick reference sheet for D&D 5e
> **💡 Important:**
> If the page looks off, sections don’t load, or you’re not seeing the newest features —
> **hard-refresh your browser** (`Ctrl + Shift + R` or `Ctrl + F5`).
> This Should be purely optional as the page has logic to automatically refresh if a new version is detected and you have older version cached, but it never hurts to try 😉
>
> GitHub Pages and browsers aggressively cache static files,
> so a full reload ensures you’re running the latest version with **all recent improvements, fixes, and UI updates**.
>
> Think of it as your *long rest* for the app — refresh to recharge and unlock new abilities!

---

Icons
==============
## 🌐 Live View

All icons are provided by http://game-icons.net/
- [**mfriik.github.io/dnd5e-quickref**](https://mfriik.github.io/dnd5e-quickref/)
- [**dnd.milobedzki.pl**](https://dnd.milobedzki.pl/)

---

FAQ
===
## 🧾 What This Is

#### Q: I have found a layout issue or a major issue in one of the core items, what should I do? ####
A: Open an issue at https://github.com/crobi/dnd5e-quickref/issues. Even better: fork the project, fix the problem, and post a pull request.
A **compact, printable, browser-friendly quick reference sheet** for *Dungeons & Dragons 5e* —
supporting both the classic **2014** and the updated **2024** rulesets.

#### Q: I have an idea for a minor tweak, such as adding actions specific for my character. How do I modify the content of the sheet? ####
A: Open the subfolder called `js`, and edit one of the `data` files. Ask your local computer geek for help if you don't know how to edit those.
It’s built for players and DMs who want the essentials at their fingertips —
**no scrolling through PDFs, no rules hunting mid-combat.**

---

<details>
<summary>🧰 <strong>Core Features</strong></summary>

- ⚡ **Fast** – Lightweight static HTML/CSS/JS.
- 🗂️ **Collapsible Sections & Items** – Expand only what you need and see everything at a glance.
- 🧙 **Optional & Homebrew Toggles** – Show or hide extra content on demand.
- 🌗 **Dark Mode** – Eye-friendly for late-night sessions.
- 🔄 **2014 ↔ 2024 Rules Switch** – Instantly swap between editions.
- 🪶 **Printer Friendly** – Perfect for physical quick sheets.

</details>

---

<details>
<summary>🛠️ <strong>Editing the Sheet</strong></summary>

The magic lives inside the **`js/`** folder — each data file defines a rules section.

You can:

- ✏️ Add or modify **actions**, **conditions**, or **environmental effects**
- 🧩 Insert **custom notes** or **house rules**

Changes appear instantly — **no build pipeline, no bundlers, no nonsense.**

</details>

---

<details>
<summary>📂 <strong>Repository Layout</strong></summary>
index.html ← main page
css/ ← stylesheets
js/ ← JavaScript + data files
img/ ← icons and images

</details>

---

<details>
<summary>🤝 <strong>Contributing</strong></summary>

- Found a bug or have an idea? → [Open an Issue](https://github.com/mfriik/dnd5e-quickref/issues)
- Want to add a rule or feature? → Fork → Commit → PR

When editing, keep changes **focused and well-described**.
For personal tweaks (like adding your own class actions), edit the `js/data` files directly — and host it for yourself.

</details>

---

<details>
<summary>📜 <strong>Credits & Acknowledgements</strong></summary>

- 🧩 Original project: [**crobi/dnd5e-quickref**](https://github.com/crobi/dnd5e-quickref) - DEPRECATED
- 🪄 2024 rules update source: [**nico-713/dnd5e-quickref-2024**](https://github.com/nico-713/dnd5e-quickref-2024) - Rules for 2024 were "Copied with pride" :P
- ❤️ Source of certain improvement ideas and a great variant of this cheatsheet with different design choices. [**natsumeaoii/dnd5e-quickref**](https://github.com/natsumeaoii/dnd5e-quickref)
- 🎨 Icons: [**game-icons.net**](http://game-icons.net/)
- 🐉 Favicon: [**iconduck.com/icons/21871/dragon**](https://iconduck.com/icons/21871/dragon)

</details>

---

<details>
<summary>⚖️ <strong>License</strong></summary>

Check the `LICENSE` file in this repository.

</details>

---

<details>
<summary>🧭 <strong>Contact</strong></summary>

- 📮 Issues → [GitHub Issues Page](https://github.com/mfriik/dnd5e-quickref/issues)

</details>

---

> **Thanks for using and improving this quick reference!**
> May the dice be forever in your favour!
4 changes: 4 additions & 0 deletions css/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@
.icon-crested-helmet { background-image: url(../img/crested-helmet.png);}
.icon-croc-jaws { background-image: url(../img/croc-jaws.png);}
.icon-croc-sword { background-image: url(../img/croc-sword.png);}
.icon-cross-mark { background-image: url(../img/cross-mark.png);}
.icon-crossbow { background-image: url(../img/crossbow.png);}
.icon-crossed-air-flows { background-image: url(../img/crossed-air-flows.png);}
.icon-crossed-axes { background-image: url(../img/crossed-axes.png);}
Expand Down Expand Up @@ -771,6 +772,7 @@
.icon-monkey { background-image: url(../img/monkey.png);}
.icon-moon { background-image: url(../img/moon.png);}
.icon-morbid-humour { background-image: url(../img/morbid-humour.png);}
.icon-mountain-climbing { background-image: url(../img/mountain-climbing.png);}
.icon-mountain-cave { background-image: url(../img/mountain-cave.png);}
.icon-mountains { background-image: url(../img/mountains.png);}
.icon-mountaintop { background-image: url(../img/mountaintop.png);}
Expand Down Expand Up @@ -971,6 +973,7 @@
.icon-shattered-glass { background-image: url(../img/shattered-glass.png);}
.icon-shattered-sword { background-image: url(../img/shattered-sword.png);}
.icon-sheikah-eye { background-image: url(../img/sheikah-eye.png);}
.icon-shield-bash { background-image: url(../img/shield-bash.png);}
.icon-shield-echoes { background-image: url(../img/shield-echoes.png);}
.icon-shield-reflect { background-image: url(../img/shield-reflect.png);}
.icon-shield { background-image: url(../img/shield.png);}
Expand Down Expand Up @@ -1219,6 +1222,7 @@
.icon-tron-arrow { background-image: url(../img/tron-arrow.png);}
.icon-trophy { background-image: url(../img/trophy.png);}
.icon-trousers { background-image: url(../img/trousers.png);}
.icon-tumble { background-image: url(../img/tumble.png);}
.icon-tune-pitch { background-image: url(../img/tune-pitch.png);}
.icon-turd { background-image: url(../img/turd.png);}
.icon-turret { background-image: url(../img/turret.png);}
Expand Down
Loading