-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstyles.css
More file actions
132 lines (111 loc) · 2.31 KB
/
styles.css
File metadata and controls
132 lines (111 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* Remarkable Sync Plugin Styles */
.remarkable-sync-status {
margin-bottom: 16px;
padding: 12px;
border-radius: 6px;
background: var(--background-secondary);
}
.remarkable-sync-connected {
color: var(--text-success);
font-weight: 600;
margin: 0 0 4px 0;
}
.remarkable-sync-disconnected {
color: var(--text-muted);
font-weight: 600;
margin: 0 0 4px 0;
}
.remarkable-sync-device-id {
margin: 0;
font-size: var(--font-smallest);
}
/* ── Epub Reader ───────────────────────────────────────────────────────── */
.epub-reader-container {
max-width: 42em;
margin: 0 auto;
padding: 2em 1.5em;
font-family: var(--font-text);
font-size: var(--font-text-size);
line-height: var(--line-height-normal);
color: var(--text-normal);
}
.epub-title {
font-size: 1.8em;
font-weight: 700;
margin-bottom: 0.2em;
color: var(--text-normal);
}
.epub-author {
font-size: 1.1em;
color: var(--text-muted);
margin-top: 0;
margin-bottom: 1em;
}
.epub-separator hr {
border: none;
border-top: 1px solid var(--background-modifier-border);
margin: 1.5em 0;
}
.epub-chapter {
margin-bottom: 2em;
}
.epub-chapter h1,
.epub-chapter h2,
.epub-chapter h3,
.epub-chapter h4,
.epub-chapter h5,
.epub-chapter h6 {
color: var(--text-normal);
margin-top: 1.4em;
margin-bottom: 0.6em;
}
.epub-chapter p {
margin: 0.8em 0;
text-align: justify;
hyphens: auto;
}
.epub-chapter img {
max-width: 100%;
height: auto;
display: block;
margin: 1em auto;
border-radius: 4px;
}
.epub-chapter blockquote {
border-left: 3px solid var(--interactive-accent);
margin: 1em 0;
padding: 0.5em 1em;
color: var(--text-muted);
}
.epub-chapter a {
color: var(--text-accent);
text-decoration: none;
}
.epub-chapter a:hover {
text-decoration: underline;
}
.epub-chapter table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
}
.epub-chapter td,
.epub-chapter th {
border: 1px solid var(--background-modifier-border);
padding: 0.4em 0.8em;
}
.epub-chapter pre,
.epub-chapter code {
font-family: var(--font-monospace);
font-size: 0.9em;
}
.epub-chapter pre {
background: var(--background-secondary);
padding: 1em;
border-radius: 4px;
overflow-x: auto;
}
.epub-reader-error {
color: var(--text-error);
font-style: italic;
}