From 30166fac7b5b677d0d7054d047e7e1f63a83bb59 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 26 May 2025 21:10:02 -0400 Subject: [PATCH] Add ISC license and improve verse number styling Adds ISC license file and fixes verse number positioning issues by resetting CSS properties that could interfere with proper display. --- LICENSE | 15 +++++++++++++++ kjvstudy_org/templates/chapter.html | 15 ++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..26724d7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +ISC License + +Copyright (c) 2025, Kenneth Reitz + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/kjvstudy_org/templates/chapter.html b/kjvstudy_org/templates/chapter.html index f293d5c..a0f9b98 100644 --- a/kjvstudy_org/templates/chapter.html +++ b/kjvstudy_org/templates/chapter.html @@ -64,8 +64,16 @@ sup.verse-number { user-select: none !important; cursor: pointer !important; font-family: 'Crimson Text', 'Times New Roman', serif !important; - line-height: 1 !important; + line-height: normal !important; vertical-align: super !important; + position: relative !important; + display: inline !important; + float: none !important; + transform: none !important; + top: auto !important; + left: auto !important; + right: auto !important; + bottom: auto !important; } sup.verse-number:hover { @@ -145,6 +153,11 @@ sup.verse-number:hover { user-select: text; } +.chapter-text { + position: relative; + display: block; +} + .verse-text::selection { background: rgba(139, 92, 246, 0.4); color: var(--text-primary);