~cytrogen/fluent-reader-mobile

ref: 438ed4ce0837581b637fa6778f9b2fbc8eb9649e fluent-reader-mobile/assets/article/article.css -rw-r--r-- 2.2 KiB
438ed4ce — Bruce Liu add service import through uri scheme 5 years ago
                                                                                
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
133
html, body {
    font-family: sans-serif;
}
html {
    overflow: hidden scroll;
    margin: 16px 24px 32px;
}
@media (min-width: 440px) {
    html {
        margin: 16px 36px 32px;
    }
}
body {
    margin: 0;
}
:root {
    --gray: #484644;
    --primary: #007aff;
}
@media (prefers-color-scheme: dark) {
    :root {
        color: #f8f8f8;
        --gray: #a19f9d;
        --primary:#0a84ff;
    }

    html {
        background-color: #000;
    };
}
html.dark {
    color: #f8f8f8;
    --gray: #a19f9d;
    --primary:#0a84ff;
    background-color: #000;
}
html.light {
    color: #000;
    --gray: #484644;
    --primary: #007aff;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, b, strong {
    font-weight: 800;
}
a, a:hover, a:active {
    color: var(--primary);
    text-decoration: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
#main {
    max-width: 700px;
    margin: 0 auto;
    display: none;
}
#main.show {
    display: block;
    animation-name: fadeIn;
    animation-duration: 0.367s;
    animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
    animation-fill-mode: both;
}

#main > p#source {
    color: var(--gray);
    font-size: .875rem;
    margin-block-end: .5rem;
}
#main > p#title {
    font-size: 1.375rem;
    line-height: 1.75rem;
    font-weight: 800;
    margin: 0;
}
#main > p#date {
    color: var(--gray);
    font-size: .875rem;
    margin-block-start: .5rem;
}

article {
    line-height: 1.6;
}
article * {
    max-width: 100%;
    overflow: hidden;
}
article img {
    height: auto;
}
article figure {
    margin: 16px 0;
    text-align: center;
}
article figure figcaption {
    font-size: .875rem;
    color: var(--gray);
    -webkit-user-modify: read-only;
}
article iframe {
    width: 100%;
}
article code {
    font-family: Monaco, Consolas, monospace;
    font-size: .875rem;
    line-height: 1;
}
article blockquote {
    border-left: 2px solid var(--gray);
    margin: 1em 0;
    padding: 0 16px;
}
article ul, article menu, article dir {
    padding-inline-start: 24px;
}
article li {
    overflow: visible;
}
article pre {
    white-space: pre-wrap;
    word-break: break-all;
}