237 lines
4.1 KiB
CSS
237 lines
4.1 KiB
CSS
html {
|
|
scroll-behavior: smooth;
|
|
overflow-x: hidden;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
::selection {
|
|
color: var(--theme-onSecondary);
|
|
background-color: var(--theme-secondary);
|
|
}
|
|
|
|
::-moz-selection {
|
|
color: var(--theme-onSecondary);
|
|
background-color: var(--theme-secondary);
|
|
}
|
|
|
|
#text-selection-ui {
|
|
position: fixed;
|
|
z-index: 100000;
|
|
display: flex;
|
|
overflow: hidden;
|
|
border: 1px solid var(--theme-outlineVariant);
|
|
border-radius: 24px;
|
|
background-color: var(--theme-surface-0-9);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 150ms;
|
|
user-select: none;
|
|
}
|
|
|
|
#text-selection-ui button {
|
|
min-width: 88px;
|
|
min-height: 44px;
|
|
padding: 0 16px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--theme-onSurface);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
#text-selection-ui button + button {
|
|
border-inline-start: 1px solid var(--theme-outlineVariant);
|
|
}
|
|
|
|
#text-selection-ui button:active {
|
|
background-color: var(--theme-surfaceVariant);
|
|
}
|
|
|
|
body {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
padding-bottom: 40px;
|
|
padding-top: var(--StatusBar-currentHeight);
|
|
|
|
font-size: var(--readerSettings-textSize);
|
|
background-color: var(--readerSettings-theme);
|
|
color: var(--readerSettings-textColor);
|
|
text-align: var(--readerSettings-textAlign);
|
|
line-height: var(--readerSettings-lineHeight);
|
|
font-family: var(--readerSettings-fontFamily);
|
|
}
|
|
|
|
#LNReader-chapter {
|
|
padding-left: var(--readerSettings-padding);
|
|
padding-right: var(--readerSettings-padding);
|
|
}
|
|
|
|
hr {
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
a {
|
|
color: var(--theme-primary);
|
|
}
|
|
|
|
sup {
|
|
line-height: 0.1em;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
div:has(> table):not(#LNReader-chapter) {
|
|
overflow: auto;
|
|
}
|
|
|
|
table {
|
|
background-color: var(--theme-onPrimary);
|
|
border-collapse: collapse;
|
|
color: var(--theme-primary);
|
|
}
|
|
|
|
th {
|
|
font-weight: bold;
|
|
}
|
|
|
|
td {
|
|
padding: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
table,
|
|
th,
|
|
td {
|
|
border: 1px solid var(--theme-outline);
|
|
}
|
|
|
|
.hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.next-button,
|
|
.info-text {
|
|
margin-left: var(--readerSettings-padding);
|
|
margin-right: var(--readerSettings-padding);
|
|
border-radius: 50px;
|
|
background-color: var(--theme-primary);
|
|
font-family: var(--readerSettings-fontFamily);
|
|
font-size: 16px;
|
|
border-width: 0;
|
|
user-select: none;
|
|
}
|
|
|
|
.next-button {
|
|
color: var(--theme-onPrimary);
|
|
min-height: 40px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
padding: 0 16px;
|
|
width: calc(100% - var(--readerSettings-padding) * 2);
|
|
}
|
|
|
|
.info-text {
|
|
background-color: transparent;
|
|
text-align: center;
|
|
border: none;
|
|
margin: 0px;
|
|
color: inherit;
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.d-none {
|
|
display: none;
|
|
}
|
|
|
|
#reader-footer-wrapper {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 9999999;
|
|
}
|
|
|
|
#reader-footer {
|
|
display: flex;
|
|
flex: 3;
|
|
padding: 0.2rem 2rem;
|
|
background-color: var(--readerSettings-theme);
|
|
color: var(--readerSettings-textColor);
|
|
font-size: 1rem;
|
|
text-align: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.reader-footer-item {
|
|
flex: 1;
|
|
}
|
|
|
|
.reader-footer-item:first-child {
|
|
text-align: left;
|
|
}
|
|
|
|
.reader-footer-item:last-child {
|
|
text-align: right;
|
|
}
|
|
|
|
.highlight {
|
|
color: var(--readerSettings-textColor) !important;
|
|
background-color: color-mix(
|
|
in srgb,
|
|
var(--readerSettings-textColor) 20%,
|
|
var(--readerSettings-theme)
|
|
);
|
|
}
|
|
|
|
.highlight * {
|
|
color: var(--readerSettings-textColor) !important;
|
|
background-color: transparent;
|
|
}
|
|
|
|
mark.lnreader-search-match {
|
|
border-radius: 2px;
|
|
color: inherit;
|
|
background-color: color-mix(
|
|
in srgb,
|
|
var(--theme-tertiary) 55%,
|
|
transparent
|
|
);
|
|
}
|
|
|
|
mark.lnreader-search-match-active {
|
|
color: var(--theme-onPrimary);
|
|
background-color: var(--theme-primary);
|
|
}
|
|
|
|
#Image-Modal {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
user-select: none;
|
|
}
|
|
|
|
#Image-Modal.show {
|
|
display: flex;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: var(--theme-surface-0-9);
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: scroll;
|
|
}
|
|
|
|
#Image img {
|
|
display: block;
|
|
width: 100%;
|
|
}
|