- Word-level comparison (ignores case and punctuation): differing words are
marked in both columns of the side-by-side view
- Chapter summary ("NET is 18% different from BSB · 37 of 39 verses differ")
with links to the most different verses, and a percentage on each verse
- Compare tab on a verse shows each translation's difference from the one
being read, with the differing words marked
- "Highlight differences" setting; your own highlights and search matches
always win where they overlap a difference mark
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
92 lines
2.0 KiB
CSS
92 lines
2.0 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
color-scheme: light;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: #faf7f0; /* the default (paper) theme; replaced by the chosen theme at runtime */
|
|
color: #0f172a;
|
|
}
|
|
|
|
::selection {
|
|
background: rgba(15, 23, 42, 0.18);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
/* Top bars leave room for the status bar / notch when the app is installed or full-screen
|
|
(env() is 0 in an ordinary browser tab). */
|
|
.safe-top {
|
|
padding-top: env(safe-area-inset-top, 0px);
|
|
}
|
|
|
|
.scrollbar-thin::-webkit-scrollbar {
|
|
width: 9px;
|
|
height: 9px;
|
|
}
|
|
|
|
.scrollbar-thin::-webkit-scrollbar-thumb {
|
|
background: rgba(148, 163, 184, 0.7);
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
.scrollbar-thin::-webkit-scrollbar-track {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
}
|
|
|
|
/* A clear ring wherever keyboard focus lands (mouse clicks don't show it). */
|
|
:where(button, a, summary, [role='button'], [role='tab'], [role='option'], input, select, textarea):focus-visible {
|
|
outline: 2px solid var(--r-accent, #a84e27);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* "Skip to content" appears only when it's tabbed to. */
|
|
.skip-link {
|
|
position: absolute;
|
|
left: 0.75rem;
|
|
top: -4rem;
|
|
z-index: 100;
|
|
padding: 0.5rem 0.9rem;
|
|
border-radius: 9999px;
|
|
background: var(--r-text, #2b2620);
|
|
color: var(--r-bg, #faf7f0);
|
|
font-size: 0.875rem;
|
|
}
|
|
.skip-link:focus {
|
|
top: 0.75rem;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
/* Words that differ between two translations (Reader → read beside another Bible) */
|
|
.diff-hl {
|
|
background: color-mix(in srgb, var(--r-accent, #a84e27) 20%, transparent);
|
|
border-bottom: 2px solid color-mix(in srgb, var(--r-accent, #a84e27) 55%, transparent);
|
|
border-radius: 2px;
|
|
}
|