From b27eafbacb5271b22c492a604a8402d7ef14e9d7 Mon Sep 17 00:00:00 2001 From: KirbyPaint Date: Sun, 2 Jun 2024 23:27:31 -0700 Subject: [PATCH] adds shitty search for mobile only --- appendix-a.html | 15 ++++++++++ appendix-b.html | 15 ++++++++++ appendix-c.html | 15 ++++++++++ basic-moves.html | 17 ++++++++++- character-sheet.html | 15 ++++++++++ downtime.html | 15 ++++++++++ index.html | 18 ++++++------ mechanics.html | 15 ++++++++++ styling.css | 67 ++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 183 insertions(+), 9 deletions(-) diff --git a/appendix-a.html b/appendix-a.html index 66bdeac..1a9b193 100644 --- a/appendix-a.html +++ b/appendix-a.html @@ -6,9 +6,24 @@ Appendix A + +
+ +

Appendix A: Other Rules

Fire damage

diff --git a/appendix-b.html b/appendix-b.html index 67476a6..07f5f65 100644 --- a/appendix-b.html +++ b/appendix-b.html @@ -6,9 +6,24 @@ Appendix B + +
+ +

Appendix B: Old Gods Powers and Spells

All spells derive from gods and each god has two domains of spells and abilities.

diff --git a/appendix-c.html b/appendix-c.html index c165b4a..13dd436 100644 --- a/appendix-c.html +++ b/appendix-c.html @@ -6,9 +6,24 @@ Appendix C + +
+ +

Appendix C: Abilities

Fighting

diff --git a/basic-moves.html b/basic-moves.html index e5ca263..b9914f3 100644 --- a/basic-moves.html +++ b/basic-moves.html @@ -6,12 +6,27 @@ Basic Moves + +
+ +

Basic Moves

-

Act Under Fire

+

Act Under Fire

When you do something under fire, or dig in to endure, roll+Sturdy. On a 10+, you do it. On a 7-9, you flinch, hesitate, or stall. The DM can offer you a worse outcome, a hard bargain, or an ugly choice. diff --git a/character-sheet.html b/character-sheet.html index 74e8a43..b3889c3 100644 --- a/character-sheet.html +++ b/character-sheet.html @@ -6,9 +6,24 @@ Character Sheet + +

+ +

Character Sheet

Name: The name of those who will suffer.

diff --git a/downtime.html b/downtime.html index ffa93b2..6217a09 100644 --- a/downtime.html +++ b/downtime.html @@ -6,9 +6,24 @@ Downtime + +
+ +

Downtime

These moves can only be done when resting. It requires a safe location.

diff --git a/index.html b/index.html index f1eef2b..850083c 100644 --- a/index.html +++ b/index.html @@ -9,14 +9,16 @@ -

Hexen Wiki

-

Character Sheet

-

Mechanics

-

Basic Moves

-

Downtime

-

Appendix A

-

Appendix B

-

Appendix C

+ \ No newline at end of file diff --git a/mechanics.html b/mechanics.html index 97c0b66..9078605 100644 --- a/mechanics.html +++ b/mechanics.html @@ -6,9 +6,24 @@ Mechanics + +
+ +

Mechanics

Out of Combat

diff --git a/styling.css b/styling.css index a76123f..11546d6 100644 --- a/styling.css +++ b/styling.css @@ -65,4 +65,71 @@ ul { border-radius: 10px; margin: 1rem; padding: 1rem; +} + +/* Add a black background color to the top navigation bar */ +/* .topnav { + overflow: hidden; + background-color: #e9e9e9; +} */ + +/* Style the links inside the navigation bar */ +/* .topnav a { + float: left; + display: block; + color: black; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; +} */ + +/* Change the color of links on hover */ +/* .topnav a:hover { + background-color: #ddd; + color: black; +} */ + +/* Style the "active" element to highlight the current page */ +/* .topnav a.active { + background-color: #2196F3; + color: white; +} */ + +/* Style the search box inside the navigation bar */ +/* .topnav input[type=text] { + float: right; + padding: 6px; + border: none; + margin-top: 8px; + margin-right: 16px; + font-size: 17px; +} */ + +/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */ +@media screen and (min-width: 600px) { + .topnav { + display: none; + } +} + +@media screen and (max-width: 600px) { + .topnav { + box-sizing: border-box; + max-width: 100%; + position: -webkit-sticky; + /* Safari */ + position: sticky; + top: 0; + } + + .topnav input[type=text] { + width: 100%; + /* display: block; */ + text-align: left; + width: 100%; + margin: 0; + padding: 14px; + border: 1px solid #ccc; + } } \ No newline at end of file