mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 14:50:17 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user